Src/OnChipDevices/Flash.h
@@ -1,6 +1,5 @@ #include "main.h" #define FLASH_SIZE (uint32_t)0x10000 #define PAGE_SIZE (0x100) //C8T6 Flash is 64KB ,each page is 256Byte #define MAX_FPAGE_NUM 64 @@ -18,5 +17,5 @@ void FLASH_Read( uint32_t Address, uint8_t *Readbuff, uint32_t Len); uint32_t FLASH_Write( uint32_t Address, const uint8_t* pData, uint32_t Len); void FLASH_Dis_WriteProt_Pages(void); unsigned short int STMFLASH_ReadHalfWord(unsigned int faddr);