You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
312 B
9 lines
312 B
#define FLASH_BLOCK_SIZE (512)
|
|
|
|
void storage_init(void);
|
|
uint32_t storage_get_block_size(void);
|
|
uint32_t storage_get_block_count(void);
|
|
bool storage_needs_flush(void);
|
|
void storage_flush(void);
|
|
bool storage_read_block(uint8_t *dest, uint32_t block);
|
|
bool storage_write_block(const uint8_t *src, uint32_t block);
|
|
|