Altera_Forum
Honored Contributor
8 years agoInterrupt reading in NIOSII
Hi,
I am very new to NIOSII programming. So I generate an interrupt using PIO on QSYS Direction : Input Synchronusly capture : Rising Edge IRQ type: Edge I export the conduit to connect to an FPGA board pin. What I want to do is when there is an interrupt generated on this pin I want to be able to read it on NIOSII and use it as a variable in coding. For example I=interrupt then I want to able to write a onditional for loop If I=1 then else.... Does anyone know how to do this in NIOSII??