This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
about the FIQ interrupt vector
- To: <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] about the FIQ interrupt vector
- From: "Shaojie Wu" <swu at zmicro dot com>
- Date: Sat, 10 Nov 2001 10:34:25 -0800
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.