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.

TM4C1290NCPDT: GPIO interrupts

Part Number: TM4C1290NCPDT


My question is related to this thread:

This is work on an existing PCB, so much leeway is not there in assigning GPIOs to ports.

eg., port G has some GPIOs being used. From the unused port G GPIOs, can I trigger it on

the port G interrupt without affecting port G pins that are in use? 

Thanks,

Priya

  • Yes, only the pins which you enable for interrupt on port G using the GPIOIntEnable() function will generate an interrupt. The other pins can be used as inputs or outputs. You can use more than one pin as an interrupt from port G, but there will be only one interrupt service routine. In that interrupt service routine you can determine which pin (or pins) generated an interrupt request by using the function GPIOIntStatus();