Hi,
I am working with the TMS470M running FreeRTOS, and am trying to enable interrupts. I used HalCoGen to enable input from the push button and enabled gioHighLevelInterrupt
and gioLowLevelInterrupt
. Currently, inside a periodic task I poll for the push button, and it behaves as expected, but I am unable to generate an interrupt when the button is pushed.
My question: is there a specific instruction that needs to be called to enable interrupts?
If so, what is it, and does a file need to be included in order for it to work?
As a note, the function _enable_interrupts()
doesn't appear to do anything, and the function _enable_IRQ()
results in a linking error.
Thanks,
Aiste