cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
620 Views
Registered: ‎12-03-2018

GPIO Interrupt trigger modes

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

 

0 Kudos
3 Replies
Highlighted
Scholar
Scholar
585 Views
Registered: ‎04-13-2015

@ramonherasgar 

XGpioPs_SetIntrType().

0 Kudos
Highlighted
527 Views
Registered: ‎12-03-2018

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.

0 Kudos
Highlighted
Moderator
Moderator
489 Views
Registered: ‎10-30-2017

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

0 Kudos