I can find examples of configuring the EVM buttons to trigger an interrupt when using the RTM examples, but nothing with the RTD example. (There are many examples that have "toggle a LED on a push button" in the comments, but of course have nothing do with buttons; it's just a copy and paste header comment.
I've tried to make a guess at how to configure the Port_Ci_Port_Ip module and install a handler, but it's not working. I used:
IntCtrl_Ip_EnableIrq(PORTC_IRQn);
IntCtrl_Ip_InstallHandler(PORTC_IRQn, vPort_C_ISRHandler, NULL_PTR);
Can anyone provide a quick tutorial on this? I've spend a lot of time searching the forum but have come up empty, except for replies to look at various RTM examples, which don't apply. I'm surprised there's no button example for RTD. In case it makes any difference I'm also using FreeRTOS.