Altera_Forum
Honored Contributor
19 years agoHow to write HAL ISRs for custom components
Hi experts,
I created a custom component in the Component Editor and added it in a system containing only the Nios II and the component. I can write data from the Nios to my component; this is working. Now I want my component to interrupt the CPU so that it reads from the component. How can I access the Nios registers containing the information about interrupts? I read in Ch. 5 of the Nios SW Handbook about developing HAL drivers but couldnt get any information on how to register an interrupt. Any help or hints would be appreciated... Thanks in advance!