dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_flash_driver Struct Reference

#include <pios_flash_priv.h>

Data Fields

int32_t(* start_transaction )(uintptr_t chip_id)
 
int32_t(* end_transaction )(uintptr_t chip_id)
 
int32_t(* erase_sector )(uintptr_t chip_id, uint32_t chip_sector, uint32_t chip_offset)
 
int32_t(* write_data )(uintptr_t chip_id, uint32_t chip_offset, const uint8_t *data, uint16_t len)
 
int32_t(* read_data )(uintptr_t chip_id, uint32_t chip_offset, uint8_t *data, uint16_t len)
 
void *(* get_pointer )(uintptr_t chip_id, uint32_t chip_offset)
 

Detailed Description

Describes the API that must be implemented by each flash chip driver.

Definition at line 35 of file pios_flash_priv.h.


The documentation for this struct was generated from the following file: