summaryrefslogtreecommitdiffstatshomepage
path: root/stm/storage.h
blob: 7bdcfc7ccef26a419268b38a7ae1d6fe0161bd4c (plain) (blame)
1
2
3
4
5
6
7
void storage_init(void);
uint32_t storage_get_block_size(void);
uint32_t storage_get_block_count(void);
MP_BOOL storage_needs_flush(void);
void storage_flush(void);
MP_BOOL storage_read_block(uint8_t *dest, uint32_t block);
MP_BOOL storage_write_block(const uint8_t *src, uint32_t block);