This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

about the FIQ interrupt vector


HI,

I have not used any kinds of eCos interrupt handler
before,this question maybe too easy for u . :)

Now I am working on a board with ARM chip and I want
to use the eCos to handle the FIQ. In order to create 
a ISR and DSR, I need to use function
cyg_interrupt_create(), but I do not know which vector
I should use, I checked the header file
hal_platform_ints and could not find the corresponding
vector for FIQ


#define CYGNUM_HAL_INTERRUPT_USART0            2
#define CYGNUM_HAL_INTERRUPT_USART1            3
#define CYGNUM_HAL_INTERRUPT_TIMER0            4
#define CYGNUM_HAL_INTERRUPT_TIMER1            5
#define CYGNUM_HAL_INTERRUPT_TIMER2            6
#define CYGNUM_HAL_INTERRUPT_WATCHDOG          7
#define CYGNUM_HAL_INTERRUPT_PIO               8
#define CYGNUM_HAL_INTERRUPT_EXT0              16
#define CYGNUM_HAL_INTERRUPT_EXT1              17
#define CYGNUM_HAL_INTERRUPT_EXT2              18

#define CYGNUM_HAL_ISR_MIN                     2
#define CYGNUM_HAL_ISR_MAX                     18


I know eCos supports the FIQ on ARM as just another
IRQ line, but which vector I should use? thanks a lot.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]