I would like to know if there is a way to generate an interrupt on ezDSP5535 when pressing one of the buttons SW1/2.
It looks like SAR can generate an interrupt everytime there is an ADC conversion ready, but this is not what I want, I just want the interrupt to be generated when one of the buttons is pressed.
There is a PENIRQ interrupt, but in the PEN function all the GPAIN[0:3] are used and in the ezDSP5535 the buttons are only connected to GPAIN1.
Is PENIRQ something that can be configured using CSL library? Where SAR CSL functions are documented? I can't find the SAR block in theCSL API Reference Guide.
Thanks,