07-02-2019 06:59 AM
I'm trying to switch on and off a led when I press a button. I'am using Zynq7000 on Zedboard. I don't know how handle interrupt for button (MIO50) from code using XScuGic and XGpioPs. Can somebody help me?
07-02-2019 08:36 AM
Could you please refer below SDK GPIO examples for interrupt mode and polled mode?
09-18-2019 01:05 AM
MIO50 belongs to BANK1 so could you please modify the BANK macro to XGPIOPS_BANK1,
Please refer UG585 for more info about Registers