ROM_EEPROMInit();
ROM_EEPROMRead等这些函数是怎么用的?在ROM USER’S GUIDE 这个手册里面没找到eeprom的api函数
xyz549040622:
在TM4C123x的ROM函数手册中没有找到ROM_EEPROM的函数,在TM4C129x的ROM函数手册中有ROM_EEPROM的函数了。关于ROM_EEPROMInit这个函数的使用,TM4C123x和TM4C129x勘误手册是这么说的
Susan Yang:
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
xyz549040622:
回复 Susan Yang:
原来是这么使用的,学习了。