Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:22:48

0001 /*
0002  * Interrupt handler Header file
0003  *
0004  * Copyright (c) 2010 embedded brains GmbH & Co. KG
0005  *
0006  * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
0007  *
0008  *  The license and distribution terms for this file may be
0009  *  found in the file LICENSE in this distribution or at
0010  *  http://www.rtems.org/license/LICENSE.
0011  */
0012 
0013 #ifndef __IRQ_H__
0014 #define __IRQ_H__
0015 
0016 #ifndef __asm__
0017 
0018 #include <rtems.h>
0019 #include <rtems/irq.h>
0020 #include <rtems/irq-extension.h>
0021 
0022 #endif /* __asm__ */
0023 
0024 /* possible interrupt sources on the MC9328MXL */
0025 #define BSP_INT_UART3_PFERR       0
0026 #define BSP_INT_UART3_RTS         1
0027 #define BSP_INT_UART3_DTR         2
0028 #define BSP_INT_UART3_UARTC       3
0029 #define BSP_INT_UART3_TX          4
0030 #define BSP_INT_PEN_UP            5
0031 #define BSP_INT_CSI               6
0032 #define BSP_INT_MMA_MAC           7
0033 #define BSP_INT_MMA               8
0034 #define BSP_INT_COMP              9
0035 #define BSP_INT_MSIRQ            10
0036 #define BSP_INT_GPIO_PORTA       11
0037 #define BSP_INT_GPIO_PORTB       12
0038 #define BSP_INT_GPIO_PORTC       13
0039 #define BSP_INT_LCDC             14
0040 #define BSP_INT_SIM_IRQ          15
0041 #define BSP_INT_SIM_DATA         16
0042 #define BSP_INT_RTC              17
0043 #define BSP_INT_RTC_SAM          18
0044 #define BSP_INT_UART2_PFERR      19
0045 #define BSP_INT_UART2_RTS        20
0046 #define BSP_INT_UART2_DTR        21
0047 #define BSP_INT_UART2_UARTC      22
0048 #define BSP_INT_UART2_TX         23
0049 #define BSP_INT_UART2_RX         24
0050 #define BSP_INT_UART1_PFERR      25
0051 #define BSP_INT_UART1_RTS        26
0052 #define BSP_INT_UART1_DTR        27
0053 #define BSP_INT_UART1_UARTC      28
0054 #define BSP_INT_UART1_TX         29
0055 #define BSP_INT_UART1_RX         30
0056 #define BSP_INT_RES31            31
0057 #define BSP_INT_RES32            32
0058 #define BSP_INT_PEN_DATA         33
0059 #define BSP_INT_PWM              34
0060 #define BSP_INT_MMC_IRQ          35
0061 #define BSP_INT_SSI2_TX          36
0062 #define BSP_INT_SSI2_RX          37
0063 #define BSP_INT_SSI2_ERR         38
0064 #define BSP_INT_I2C              39
0065 #define BSP_INT_SPI2             40
0066 #define BSP_INT_SPI1             41
0067 #define BSP_INT_SSI_TX           42
0068 #define BSP_INT_SSI_TX_ERR       43
0069 #define BSP_INT_SSI_RX           44
0070 #define BSP_INT_SSI_RX_ERR       45
0071 #define BSP_INT_TOUCH            46
0072 #define BSP_INT_USBD0            47
0073 #define BSP_INT_USBD1            48
0074 #define BSP_INT_USBD2            49
0075 #define BSP_INT_USBD3            50
0076 #define BSP_INT_USBD4            51
0077 #define BSP_INT_USBD5            52
0078 #define BSP_INT_USBD6            53
0079 #define BSP_INT_UART3_RX         54
0080 #define BSP_INT_BTSYS            55
0081 #define BSP_INT_BTTIM            56
0082 #define BSP_INT_BTWUI            57
0083 #define BSP_INT_TIMER2           58
0084 #define BSP_INT_TIMER1           59
0085 #define BSP_INT_DMA_ERR          60
0086 #define BSP_INT_DMA              61
0087 #define BSP_INT_GPIO_PORTD       62
0088 #define BSP_INT_WDT              63
0089 #define BSP_MAX_INT              64
0090 
0091 #define BSP_INTERRUPT_VECTOR_COUNT BSP_MAX_INT
0092 
0093 #endif /* __IRQ_H__ */