Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHow to return value(s) in NIOS interrupt (ISR) function?
In the reference the return value is void, but how about I want to allocate a new variable in ISR and access it later in the main function? Thanks!
Altera_Forum
Honored Contributor
12 years agoYou can use global variable which can be accessed in any function as well as in ISR routine.