ROM_EEPROMInit();
ROM_EEPROMRead等这些函数是怎么用的?在ROM USER’S GUIDE 这个手册里面没找到eeprom的api函数
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
ROM_EEPROMInit();
ROM_EEPROMRead等这些函数是怎么用的?在ROM USER’S GUIDE 这个手册里面没找到eeprom的api函数
EEPROMInit from ROM is not a valid option for TM4C123 RA1 devices.
You would need to change it either RA3 or RB1 (since it's tiva it would be RB1) during the compile process as a define.
#if defined(TARGET_IS_TM4C123_RA3) || \ defined(TARGET_IS_TM4C123_RB1) || \ defined(TARGET_IS_TM4C129_RA0) || \ defined(TARGET_IS_TM4C129_RA1) #define ROM_EEPROMInit \ ((uint32_t (*)(void))ROM_EEPROMTABLE[17]) #endif