2014-03-17 13:31:35 +00:00
|
|
|
#define FLASH_BLOCK_SIZE (512)
|
|
|
|
|
|
|
|
void storage_init(void);
|
|
|
|
uint32_t storage_get_block_size(void);
|
|
|
|
uint32_t storage_get_block_count(void);
|
2014-04-16 23:08:36 +01:00
|
|
|
void storage_irq_handler(void);
|
2014-03-17 13:31:35 +00:00
|
|
|
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);
|