1 2 3 4 5 6 7 8 9 10 11
#ifndef FLASH_H_ #define FLASH_H_ #include <stdint.h> void flash_init(void); void flash_read(char *buf, uint32_t addr, unsigned int count); void flash_write(const char *buf, uint32_t addr, unsigned int count); #endif // FLASH_H_