Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to set up the interrupt handler for GPIO?

GPIO handler interrupt
0
Posted

How to set up the interrupt handler for GPIO?

0

It is possible to have 2 OPB devices working with interrupts. There is a note in the EDK documentation under the function XIntc_Connect(), that states “The handler provided as an argument will overwrite any handler that was previously connected” which is found at: C:/XilinxEDK/sw/XilinxProcessorIPLib/drivers/intc_v1_00_c/doc/html/api/ on the lab computers. To get around this, you may need to create and initialize more than one interrupt controller instances with the same device ID. Connect each of your handlers and OPB device instances to the one of these controllers. If all your arguments are right you will be able to handle interrupts from different OPB sources. There may be an easier way. For Gpio interrupts specifically there is an example in the EDK documentation that is very helpful.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123