Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

About edge interupt

Hello everyone:

The following is my application program of ISR:

void rst_isr(void* context,alt_u32 id)

{

EN = EN+1;

}

And i register the ISR with alt_irq_register():

alt_irq_register((alt_u32)7,(void*)0,rst_isr);

but it cann't work,i think the hardware is working well,can you tell me what's wrong with it?
No RepliesBe the first to reply