NinjaFlight
|
Macros | |
#define | CONFIG_FLASH_SIZE (__config_end - __config_start) |
Functions | |
void | _clear_flags (void) |
int | flash_write (uintptr_t base, const void *data, size_t size) |
int | flash_erase_page (uintptr_t base) |
int | flash_read (uintptr_t base, void *data, size_t size) |
size_t | flash_get_page_size (void) |
size_t | flash_get_num_pages (void) |
Variables | |
uint8_t * | __config_start |
uint8_t * | __config_end |
#define CONFIG_FLASH_SIZE (__config_end - __config_start) |
void _clear_flags | ( | void | ) |
int flash_erase_page | ( | uintptr_t | base | ) |
size_t flash_get_num_pages | ( | void | ) |
size_t flash_get_page_size | ( | void | ) |
int flash_read | ( | uintptr_t | base, |
void * | data, | ||
size_t | size | ||
) |
int flash_write | ( | uintptr_t | base, |
const void * | data, | ||
size_t | size | ||
) |
uint8_t* __config_end |
uint8_t* __config_start |