Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21608 Discussions

how can I use HSP GPIO interrupt

Altera_Forum
Honored Contributor II
1,538 Views

I just want a simple example about how to use the gpio interrupt. My problem is that I can't get the gpio interrupt map in http://www.altera.com/literature/hb/cyclone-v/cv_54006.pdf page6-12. 

Does the gpio controller share the interrup number with other peripherails?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
706 Views

 

--- Quote Start ---  

I just want a simple example about how to use the gpio interrupt. My problem is that I can't get the gpio interrupt map in http://www.altera.com/literature/hb/cyclone-v/cv_54006.pdf page6-12. 

Does the gpio controller share the interrup number with other peripherails? 

--- Quote End ---  

 

Sorry for the question. I have found it in the pdf document!
0 Kudos
Altera_Forum
Honored Contributor II
706 Views

In case others have the same question, in that document you'll find the generic interrupt controller (GIC) IRQ mapping. Each GPIO has it's own dedicated interrupt line so it's just a matter of making sure the GIC is configured properly to listen for a particular GPIO interrupt, and setting up the GPIO peripheral to generate interrupts as well.

0 Kudos
Reply