Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by sanjay822@Dec 22 2005, 06:42 AM hi rugbybloke,
the file hal_intr.h, which contains all the protypes of interrupt handlers api, doesn't define the vector no.s for the interrupts. i have used timer_0_irq = 1 for the vector no. in cyg_interrupt_create for timer, but of no use.
can you tell the vector no.s corresponding to interrupts?
if i want to test the clock interrupt, then i have to access the timer register. then the code for timer register access can't be normally compiled under ecos?
thanks & regards,
sanjay
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11730)
--- quote end ---
--- Quote End --- I assume by vector no.s you mean the IRQ number. This is configurable you should launch SOPC Builder to look at the system you're using this will have the interrupt number. There are also# defines for each of these, look in the system.h file.