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.

TM4C1230D5PM: GPIOIntEnable() cannot be used

Part Number: TM4C1230D5PM

Hi,

TM4C1230D5PM is classified as Blizzard by Tivaware, and GPIOIntEnable() is not allowed.

However, this function is only about setting up GPIO_O_IM (offset 0x410) register, which is a valid one as per the datasheet. 

Is this an error of Tivaware?

My Tivaware version is 2.1.4.178

  • Sorry, my post was not accurate. GPIOIntEnable() was allowed to used. The issue was I could not replace it by the ROM_function. i.e., I cannot change the function to ROM_GPIOIntEnable() to switch it to the in ROM code.

  • Hi Tianlei,

      Some ROM_xxx APIs may be deprecated due to bugs. You can look at the rom.h file. As you can see that ROM_GPIOIntEnable is only available forTM4C129 MCU. If you look further down, for example, the ROM_HibernateIntClear is available for both TM4C123 as well as TM4C129. This is why we don't recommend calling ROM_xxx directly but rather calls MAP_xxx instead. If a ROM_xxx is available, then the MAP_xxx will result to calling ROM_xxx. If the ROM function is not available, then the MAP_xxx will result to calling xxx function that is built into the driverlib.lib.