06-30-2019 09:13 AM
Hi, everyone
I'm creating a simple baremetal application to turn on an LED while a button is pressed in my Zybo board, and so, practice how to use interrupts and XGpio driver lib. But looking into the driver flies a didn't found any function to change the interrupt trigger (rising/falling edge). There is any way to chgange the trigger mode?
Best regards,
Ramon
06-30-2019 06:25 PM
XGpioPs_SetIntrType().
08-07-2019 01:34 PM
Thanks @ericv,
But I was using de Xgpio lib which is the AXI GPIO driver, different from ps GPIOs.
“I'm creating a simple baremetal application to turn on an LED while a button is pressed in my Zybo board, and so, practice how to use interrupts and XGpio driver lib”
Regards,
Ramón.
08-13-2019 04:26 AM
hi @ramonherasgar ,
Please check the AXI GPIO standalone driver : https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841921/AXI+gpio+standalone+driver
It has the interrupt example too.
Best Regards,
Srikanth