Intel: I'm using PIO Core to interrupt a Nios® II CPU, is there a register to check if an interrupt is occurring?

Nios II

Category: Nios® II
Tools: Nios® II EDS
device:-

You can check by reading the data (Offset: 0) or edgecapture (Offset: 3) of the PIO Core register.
Refer to data if you want to see the value of the PIO input port, and edgecapture if you want to see the result of edge detection as an IRQ.
Please refer to the following materials for the register map and other information.

Embedded Peripherals IP User Guide
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_embedded_ip.pdf
(search for Register Map for the PIO Core)

For information on how to implement interrupts using the Nios® II CPU, please refer to the following document.

(Reference) Nios® II Beginner's Guide - Implementing Interrupts
https://www.macnica.co.jp/business/semiconductor/articles/intel/95825/

Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.