Altera_Forum
Honored Contributor
9 years agoWhy does Nios II ISR have context parameter?
Since an ISR already has access to global variables and registers, why do we need to have a "void* context" parameter in an ISR?
Since the term context is also used in then sense of device/application context and context switch where value of specific device registers is stored, why then is the same term used to pass optional information to an ISR in Nios II HAL?