1234567891011 |
- #ifndef __HW_FLASH_DATA_H__
- #define __HW_FLASH_DATA_H__
- #define HW_FLASH_DATA_SIZE 512
- int hw_flash_read(uint32_t pos, void * data,uint32_t length);
- int hw_flash_write(uint32_t pos, void * data,uint32_t length);
- void hw_flash_erase(uint32_t pos);
- int hw_flash_data_is_valid(uint32_t pos,uint32_t length);
- uint32_t hw_flash_read_word(uint32_t pos);
- #endif
|