2014-03-09 16:21:06 +01:00
|
|
|
/************************************************************************************
|
2014-03-09 16:26:29 +01:00
|
|
|
* arch/arm/include/tiva/tm4c_irq.h
|
2014-03-09 16:21:06 +01:00
|
|
|
*
|
|
|
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
|
|
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions
|
|
|
|
* are met:
|
|
|
|
*
|
|
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer.
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer in
|
|
|
|
* the documentation and/or other materials provided with the
|
|
|
|
* distribution.
|
|
|
|
* 3. Neither the name NuttX nor the names of its contributors may be
|
|
|
|
* used to endorse or promote products derived from this software
|
|
|
|
* without specific prior written permission.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
|
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
|
|
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
|
|
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
|
|
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
|
|
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
|
|
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
|
|
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
* POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
*
|
|
|
|
************************************************************************************/
|
|
|
|
|
2014-03-09 16:26:29 +01:00
|
|
|
#ifndef __ARCH_ARM_INCLUDE_TIVA_TM4C_IRQ_H
|
|
|
|
#define __ARCH_ARM_INCLUDE_TIVA_TM4C_IRQ_H
|
2014-03-09 16:21:06 +01:00
|
|
|
|
|
|
|
/************************************************************************************
|
|
|
|
* Included Files
|
|
|
|
************************************************************************************/
|
|
|
|
|
|
|
|
#include <nuttx/config.h>
|
|
|
|
|
|
|
|
/************************************************************************************
|
2015-04-08 16:04:12 +02:00
|
|
|
* Pre-processor Definitions
|
2014-03-09 16:21:06 +01:00
|
|
|
************************************************************************************/
|
|
|
|
|
|
|
|
/* IRQ numbers. The IRQ number corresponds vector number and hence map directly to
|
|
|
|
* bits in the NVIC. This does, however, waste several words of memory in the IRQ
|
|
|
|
* to handle mapping tables.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* External interrupts (vectors >= 16) */
|
|
|
|
|
|
|
|
#if defined(CONFIG_ARCH_CHIP_TM4C123GH6ZRB)
|
|
|
|
# define TIVA_IRQ_GPIOA (16) /* Vector 16: GPIO Port A */
|
|
|
|
# define TIVA_IRQ_GPIOB (17) /* Vector 17: GPIO Port B */
|
|
|
|
# define TIVA_IRQ_GPIOC (18) /* Vector 18: GPIO Port C */
|
|
|
|
# define TIVA_IRQ_GPIOD (19) /* Vector 19: GPIO Port D */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_GPIOE (20) /* Vector 20: GPIO Port E */
|
|
|
|
# define TIVA_IRQ_UART0 (21) /* Vector 21: UART 0 */
|
|
|
|
# define TIVA_IRQ_UART1 (22) /* Vector 22: UART 1 */
|
|
|
|
# define TIVA_IRQ_SSI0 (23) /* Vector 23: SSI 0 */
|
|
|
|
# define TIVA_IRQ_I2C0 (24) /* Vector 24: I2C 0 */
|
|
|
|
# define TIVA_IRQ_PWM0_FAULT (25) /* Vector 25: PWM0 Fault */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN0 (26) /* Vector 26: PWM0 Generator 0 */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN1 (27) /* Vector 27: PWM0 Generator 1 */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN2 (28) /* Vector 28: PWM0 Generator 2 */
|
|
|
|
# define TIVA_IRQ_QEI0 (29) /* Vector 29: QEI0 */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_ADC0 (30) /* Vector 30: ADC Sequence 0 */
|
|
|
|
# define TIVA_IRQ_ADC1 (31) /* Vector 31: ADC Sequence 1 */
|
|
|
|
# define TIVA_IRQ_ADC2 (32) /* Vector 32: ADC Sequence 2 */
|
|
|
|
# define TIVA_IRQ_ADC3 (33) /* Vector 33: ADC Sequence 3 */
|
|
|
|
# define TIVA_IRQ_WDOG (34) /* Vector 34: Watchdog Timers 0 and 1 */
|
|
|
|
# define TIVA_IRQ_TIMER0A (35) /* Vector 35: 16/32-Bit Timer 0 A */
|
|
|
|
# define TIVA_IRQ_TIMER0B (36) /* Vector 36: 16/32-Bit Timer 0 B */
|
|
|
|
# define TIVA_IRQ_TIMER1A (37) /* Vector 37: 16/32-Bit Timer 1 A */
|
|
|
|
# define TIVA_IRQ_TIMER1B (38) /* Vector 38: 16/32-Bit Timer 1 B */
|
|
|
|
# define TIVA_IRQ_TIMER2A (39) /* Vector 39: 16/32-Bit Timer 2 A */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_TIMER2B (40) /* Vector 40: 16/32-Bit Timer 2 B */
|
|
|
|
# define TIVA_IRQ_COMPARE0 (41) /* Vector 41: Analog Comparator 0 */
|
|
|
|
# define TIVA_IRQ_COMPARE1 (42) /* Vector 42: Analog Comparator 1 */
|
|
|
|
# define TIVA_IRQ_COMPARE2 (43) /* Vector 43: Analog Comparator 2 */
|
|
|
|
# define TIVA_IRQ_SYSCON (44) /* Vector 44: System Control */
|
|
|
|
# define TIVA_IRQ_FLASHCON (45) /* Vector 45: FLASH and EEPROM Control */
|
|
|
|
# define TIVA_IRQ_GPIOF (46) /* Vector 46: GPIO Port F */
|
|
|
|
# define TIVA_IRQ_GPIOG (47) /* Vector 47: GPIO Port G */
|
|
|
|
# define TIVA_IRQ_GPIOH (48) /* Vector 48: GPIO Port H */
|
|
|
|
# define TIVA_IRQ_UART2 (49) /* Vector 49: UART 2 */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_SSI1 (50) /* Vector 50: SSI 1 */
|
|
|
|
# define TIVA_IRQ_TIMER3A (51) /* Vector 51: 16/32-Bit Timer 3 A */
|
|
|
|
# define TIVA_IRQ_TIMER3B (52) /* Vector 52: 16/32-Bit Timer 3 B */
|
|
|
|
# define TIVA_IRQ_I2C1 (53) /* Vector 53: I2C 1 */
|
|
|
|
# define TIVA_IRQ_QEI1 (54) /* Vector 54: QEI1 */
|
|
|
|
# define TIVA_IRQ_CAN0 (55) /* Vector 55: CAN 0 */
|
|
|
|
# define TIVA_IRQ_CAN1 (56) /* Vector 56: CAN 1 */
|
|
|
|
# define TIVA_RESERVED_57 (57) /* Vector 57: Reserved */
|
|
|
|
# define TIVA_RESERVED_58 (58) /* Vector 58: Reserved */
|
|
|
|
# define TIVA_IRQ_HIBERNATE (59) /* Vector 59: Hibernation Module */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_USB (60) /* Vector 60: USB */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN3 (61) /* Vector 61: PWM0 Generator 3 */
|
|
|
|
# define TIVA_IRQ_UDMASOFT (62) /* Vector 62: uDMA Software */
|
|
|
|
# define TIVA_IRQ_UDMAERROR (63) /* Vector 63: uDMA Error */
|
|
|
|
# define TIVA_IRQ_ADC1_0 (64) /* Vector 64: ADC1 Sequence 0 */
|
|
|
|
# define TIVA_IRQ_ADC1_1 (65) /* Vector 65: ADC1 Sequence 1 */
|
|
|
|
# define TIVA_IRQ_ADC1_2 (66) /* Vector 66: ADC1 Sequence 2 */
|
|
|
|
# define TIVA_IRQ_ADC1_3 (67) /* Vector 67: ADC1 Sequence 3 */
|
|
|
|
# define TIVA_RESERVED_68 (68) /* Vector 68: Reserved */
|
|
|
|
# define TIVA_RESERVED_69 (69) /* Vector 69: Reserved */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_GPIOJ (70) /* Vector 70: GPIO Port J */
|
|
|
|
# define TIVA_IRQ_GPIOK (71) /* Vector 71: GPIO Port K */
|
|
|
|
# define TIVA_IRQ_GPIOL (72) /* Vector 72: GPIO Port L */
|
|
|
|
# define TIVA_IRQ_SSI2 (73) /* Vector 73: SSI 2 */
|
|
|
|
# define TIVA_IRQ_SSI3 (74) /* Vector 74: SSI 3 */
|
|
|
|
# define TIVA_IRQ_UART3 (75) /* Vector 75: UART 3 */
|
|
|
|
# define TIVA_IRQ_UART4 (76) /* Vector 76: UART 4 */
|
|
|
|
# define TIVA_IRQ_UART5 (77) /* Vector 77: UART 5 */
|
|
|
|
# define TIVA_IRQ_UART6 (78) /* Vector 78: UART 6 */
|
|
|
|
# define TIVA_IRQ_UART7 (79) /* Vector 79: UART 7 */
|
|
|
|
|
|
|
|
# define TIVA_RESERVED_80 (80) /* Vector 80: Reserved */
|
|
|
|
# define TIVA_RESERVED_81 (81) /* Vector 81: Reserved */
|
|
|
|
# define TIVA_RESERVED_82 (82) /* Vector 82: Reserved */
|
|
|
|
# define TIVA_RESERVED_83 (83) /* Vector 83: Reserved */
|
|
|
|
# define TIVA_IRQ_I2C2 (84) /* Vector 84: I2C 2 */
|
|
|
|
# define TIVA_IRQ_I2C3 (85) /* Vector 85: I2C 3 */
|
|
|
|
# define TIVA_IRQ_TIMER4A (86) /* Vector 86: 16/32-Bit Timer 4 A */
|
|
|
|
# define TIVA_IRQ_TIMER4B (87) /* Vector 87: 16/32-Bit Timer 4 B */
|
|
|
|
# define TIVA_RESERVED_88 (88) /* Vector 88: Reserved */
|
|
|
|
# define TIVA_RESERVED_89 (89) /* Vector 89: Reserved */
|
|
|
|
|
|
|
|
# define TIVA_RESERVED_90 (90) /* Vector 90: Reserved */
|
|
|
|
# define TIVA_RESERVED_91 (91) /* Vector 91: Reserved */
|
|
|
|
# define TIVA_RESERVED_92 (92) /* Vector 92: Reserved */
|
|
|
|
# define TIVA_RESERVED_93 (93) /* Vector 93: Reserved */
|
|
|
|
# define TIVA_RESERVED_94 (94) /* Vector 94: Reserved */
|
|
|
|
# define TIVA_RESERVED_95 (95) /* Vector 95: Reserved */
|
|
|
|
# define TIVA_RESERVED_96 (96) /* Vector 96: Reserved */
|
|
|
|
# define TIVA_RESERVED_97 (97) /* Vector 97: Reserved */
|
|
|
|
# define TIVA_RESERVED_98 (98) /* Vector 98: Reserved */
|
|
|
|
# define TIVA_RESERVED_99 (99) /* Vector 99: Reserved */
|
|
|
|
|
|
|
|
# define TIVA_RESERVED_100 (100) /* Vector 100: Reserved */
|
|
|
|
# define TIVA_RESERVED_101 (101) /* Vector 101: Reserved */
|
|
|
|
# define TIVA_RESERVED_102 (102) /* Vector 102: Reserved */
|
|
|
|
# define TIVA_RESERVED_103 (103) /* Vector 103: Reserved */
|
|
|
|
# define TIVA_RESERVED_104 (104) /* Vector 104: Reserved */
|
|
|
|
# define TIVA_RESERVED_105 (105) /* Vector 105: Reserved */
|
|
|
|
# define TIVA_RESERVED_106 (106) /* Vector 106: Reserved */
|
|
|
|
# define TIVA_RESERVED_107 (107) /* Vector 107: Reserved */
|
|
|
|
# define TIVA_IRQ_TIMER5A (108) /* Vector 108: 16/32-Bit Timer 5 A */
|
|
|
|
# define TIVA_IRQ_TIMER5B (109) /* Vector 109: 16/32-Bit Timer 5 B */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_WTIMER0A (110) /* Vector 110: 32/64-Bit Timer 0 A */
|
|
|
|
# define TIVA_IRQ_WTIMER0B (111) /* Vector 111: 32/64-Bit Timer 0 B */
|
|
|
|
# define TIVA_IRQ_WTIMER1A (112) /* Vector 112: 32/64-Bit Timer 1 A */
|
|
|
|
# define TIVA_IRQ_WTIMER1B (113) /* Vector 113: 32/64-Bit Timer 1 B */
|
|
|
|
# define TIVA_IRQ_WTIMER2A (114) /* Vector 114: 32/64-Bit Timer 2 A */
|
|
|
|
# define TIVA_IRQ_WTIMER2B (115) /* Vector 115: 32/64-Bit Timer 2 B */
|
|
|
|
# define TIVA_IRQ_WTIMER3A (116) /* Vector 116: 32/64-Bit Timer 3 A */
|
|
|
|
# define TIVA_IRQ_WTIMER3B (117) /* Vector 117: 32/64-Bit Timer 3 B */
|
|
|
|
# define TIVA_IRQ_WTIMER4A (118) /* Vector 118: 32/64-Bit Timer 4 A */
|
|
|
|
# define TIVA_IRQ_WTIMER4B (119) /* Vector 119: 32/64-Bit Timer 4 B */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_WTIMER5A (120) /* Vector 120: 32/64-Bit Timer 5 A */
|
|
|
|
# define TIVA_IRQ_WTIMER5B (121) /* Vector 121: 32/64-Bit Timer 5 B */
|
|
|
|
# define TIVA_IRQ_SYSTEM (122) /* Vector 122: System Exception (imprecise) */
|
|
|
|
# define TIVA_RESERVED_123 (123) /* Vector 123: Reserved */
|
|
|
|
# define TIVA_RESERVED_124 (124) /* Vector 124: Reserved */
|
|
|
|
# define TIVA_IRQ_I2C4 (125) /* Vector 125: I2C4 */
|
|
|
|
# define TIVA_IRQ_I2C5 (126) /* Vector 126: I2C5 */
|
|
|
|
# define TIVA_IRQ_GPIOM (127) /* Vector 127: GPIO Port M */
|
|
|
|
# define TIVA_IRQ_GPION (128) /* Vector 128: GPIO Port N */
|
|
|
|
# define TIVA_RESERVED_129 (129) /* Vector 129: Reserved */
|
|
|
|
|
|
|
|
# define TIVA_RESERVED_130 (130) /* Vector 130: Reserved */
|
|
|
|
# define TIVA_RESERVED_131 (131) /* Vector 131: Reserved */
|
|
|
|
# define TIVA_IRQ_GPIOP (132) /* Vector 132: GPIO Port P (Summary or P0) */
|
|
|
|
# define TIVA_IRQ_GPIOP1 (133) /* Vector 133: GPIO Port P1 */
|
|
|
|
# define TIVA_IRQ_GPIOP2 (134) /* Vector 134: GPIO Port P2 */
|
|
|
|
# define TIVA_IRQ_GPIOP3 (135) /* Vector 135: GPIO Port P3 */
|
|
|
|
# define TIVA_IRQ_GPIOP4 (136) /* Vector 136: GPIO Port P4 */
|
|
|
|
# define TIVA_IRQ_GPIOP5 (137) /* Vector 137: GPIO Port P5 */
|
|
|
|
# define TIVA_IRQ_GPIOP6 (138) /* Vector 138: GPIO Port P6 */
|
|
|
|
# define TIVA_IRQ_GPIOP7 (139) /* Vector 139: GPIO Port P7 */
|
|
|
|
|
2014-03-10 18:54:20 +01:00
|
|
|
# define TIVA_IRQ_GPIOQ (140) /* Vector 140: GPIO Port Q (Summary or Q0) */
|
|
|
|
# define TIVA_IRQ_GPIOQ1 (141) /* Vector 141: GPIO Port Q1 */
|
|
|
|
# define TIVA_IRQ_GPIOQ2 (142) /* Vector 142: GPIO Port Q2 */
|
|
|
|
# define TIVA_IRQ_GPIOQ3 (143) /* Vector 143: GPIO Port Q3 */
|
|
|
|
# define TIVA_IRQ_GPIOQ4 (144) /* Vector 144: GPIO Port Q4 */
|
|
|
|
# define TIVA_IRQ_GPIOQ5 (145) /* Vector 145: GPIO Port Q5 */
|
|
|
|
# define TIVA_IRQ_GPIOQ6 (146) /* Vector 146: GPIO Port Q6 */
|
|
|
|
# define TIVA_IRQ_GPIOQ7 (147) /* Vector 147: GPIO Port Q7 */
|
2014-03-09 16:21:06 +01:00
|
|
|
# define TIVA_RESERVED_148 (148) /* Vector 148: Reserved */
|
|
|
|
# define TIVA_RESERVED_149 (149) /* Vector 149: Reserved */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_PWM1_GEN0 (150) /* Vector 150: PWM1 Generator 0 */
|
|
|
|
# define TIVA_IRQ_PWM1_GEN1 (151) /* Vector 151: PWM1 Generator 1 */
|
|
|
|
# define TIVA_IRQ_PWM1_GEN2 (152) /* Vector 152: PWM1 Generator 2 */
|
|
|
|
# define TIVA_IRQ_PWM1_GEN3 (153) /* Vector 153: PWM1 Generator 3 */
|
2014-03-18 18:21:31 +01:00
|
|
|
# define TIVA_IRQ_PWM1_FAULT (154) /* Vector 154: PWM1 Fault */
|
|
|
|
|
2014-12-17 15:19:23 +01:00
|
|
|
# define NR_IRQS (155) /* (Really fewer because of reserved vectors) */
|
2014-03-18 18:21:31 +01:00
|
|
|
|
|
|
|
#elif defined(CONFIG_ARCH_CHIP_TM4C123GH6PMI)
|
|
|
|
# define TIVA_IRQ_GPIOA (16) /* Vector 16: GPIO Port A */
|
|
|
|
# define TIVA_IRQ_GPIOB (17) /* Vector 17: GPIO Port B */
|
|
|
|
# define TIVA_IRQ_GPIOC (18) /* Vector 18: GPIO Port C */
|
|
|
|
# define TIVA_IRQ_GPIOD (19) /* Vector 19: GPIO Port D */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_GPIOE (20) /* Vector 20: GPIO Port E */
|
|
|
|
# define TIVA_IRQ_UART0 (21) /* Vector 21: UART 0 */
|
|
|
|
# define TIVA_IRQ_UART1 (22) /* Vector 22: UART 1 */
|
|
|
|
# define TIVA_IRQ_SSI0 (23) /* Vector 23: SSI 0 */
|
|
|
|
# define TIVA_IRQ_I2C0 (24) /* Vector 24: I2C 0 */
|
|
|
|
# define TIVA_IRQ_PWM0_FAULT (25) /* Vector 25: PWM0 Fault */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN0 (26) /* Vector 26: PWM0 Generator 0 */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN1 (27) /* Vector 27: PWM0 Generator 1 */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN2 (28) /* Vector 28: PWM0 Generator 2 */
|
|
|
|
# define TIVA_IRQ_QEI0 (29) /* Vector 29: QEI0 */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_ADC0 (30) /* Vector 30: ADC Sequence 0 */
|
|
|
|
# define TIVA_IRQ_ADC1 (31) /* Vector 31: ADC Sequence 1 */
|
|
|
|
# define TIVA_IRQ_ADC2 (32) /* Vector 32: ADC Sequence 2 */
|
|
|
|
# define TIVA_IRQ_ADC3 (33) /* Vector 33: ADC Sequence 3 */
|
|
|
|
# define TIVA_IRQ_WDOG (34) /* Vector 34: Watchdog Timers 0 and 1 */
|
|
|
|
# define TIVA_IRQ_TIMER0A (35) /* Vector 35: 16/32-Bit Timer 0 A */
|
|
|
|
# define TIVA_IRQ_TIMER0B (36) /* Vector 36: 16/32-Bit Timer 0 B */
|
|
|
|
# define TIVA_IRQ_TIMER1A (37) /* Vector 37: 16/32-Bit Timer 1 A */
|
|
|
|
# define TIVA_IRQ_TIMER1B (38) /* Vector 38: 16/32-Bit Timer 1 B */
|
|
|
|
# define TIVA_IRQ_TIMER2A (39) /* Vector 39: 16/32-Bit Timer 2 A */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_TIMER2B (40) /* Vector 40: 16/32-Bit Timer 2 B */
|
|
|
|
# define TIVA_IRQ_COMPARE0 (41) /* Vector 41: Analog Comparator 0 */
|
|
|
|
# define TIVA_IRQ_COMPARE1 (42) /* Vector 42: Analog Comparator 1 */
|
|
|
|
# define TIVA_IRQ_COMPARE2 (43) /* Vector 43: Analog Comparator 2 */
|
|
|
|
# define TIVA_IRQ_SYSCON (44) /* Vector 44: System Control */
|
|
|
|
# define TIVA_IRQ_FLASHCON (45) /* Vector 45: FLASH and EEPROM Control */
|
|
|
|
# define TIVA_IRQ_GPIOF (46) /* Vector 46: GPIO Port F */
|
|
|
|
# define TIVA_RESERVED_47 (47) /* Vector 47: Reserved */
|
|
|
|
# define TIVA_RESERVED_48 (48) /* Vector 48: Reserved */
|
|
|
|
# define TIVA_IRQ_UART2 (49) /* Vector 49: UART 2 */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_SSI1 (50) /* Vector 50: SSI 1 */
|
|
|
|
# define TIVA_IRQ_TIMER3A (51) /* Vector 51: 16/32-Bit Timer 3 A */
|
|
|
|
# define TIVA_IRQ_TIMER3B (52) /* Vector 52: 16/32-Bit Timer 3 B */
|
|
|
|
# define TIVA_IRQ_I2C1 (53) /* Vector 53: I2C 1 */
|
|
|
|
# define TIVA_IRQ_QEI1 (54) /* Vector 54: QEI1 */
|
|
|
|
# define TIVA_IRQ_CAN0 (55) /* Vector 55: CAN 0 */
|
|
|
|
# define TIVA_IRQ_CAN1 (56) /* Vector 56: CAN 1 */
|
|
|
|
# define TIVA_RESERVED_57 (57) /* Vector 57: Reserved */
|
|
|
|
# define TIVA_RESERVED_58 (58) /* Vector 58: Reserved */
|
|
|
|
# define TIVA_IRQ_HIBERNATE (59) /* Vector 59: Hibernation Module */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_USB (60) /* Vector 60: USB */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN3 (61) /* Vector 61: PWM0 Generator 3 */
|
|
|
|
# define TIVA_IRQ_UDMASOFT (62) /* Vector 62: uDMA Software */
|
|
|
|
# define TIVA_IRQ_UDMAERROR (63) /* Vector 63: uDMA Error */
|
|
|
|
# define TIVA_IRQ_ADC1_0 (64) /* Vector 64: ADC1 Sequence 0 */
|
|
|
|
# define TIVA_IRQ_ADC1_1 (65) /* Vector 65: ADC1 Sequence 1 */
|
|
|
|
# define TIVA_IRQ_ADC1_2 (66) /* Vector 66: ADC1 Sequence 2 */
|
|
|
|
# define TIVA_IRQ_ADC1_3 (67) /* Vector 67: ADC1 Sequence 3 */
|
|
|
|
# define TIVA_RESERVED_68 (68) /* Vector 68: Reserved */
|
|
|
|
# define TIVA_RESERVED_69 (69) /* Vector 69: Reserved */
|
|
|
|
|
|
|
|
# define TIVA_RESERVED_70 (70) /* Vector 70: Reserved */
|
|
|
|
# define TIVA_RESERVED_71 (71) /* Vector 71: Reserved */
|
|
|
|
# define TIVA_RESERVED_72 (72) /* Vector 72: Reserved */
|
|
|
|
# define TIVA_IRQ_SSI2 (73) /* Vector 73: SSI 2 */
|
|
|
|
# define TIVA_IRQ_SSI3 (74) /* Vector 74: SSI 3 */
|
|
|
|
# define TIVA_IRQ_UART3 (75) /* Vector 75: UART 3 */
|
|
|
|
# define TIVA_IRQ_UART4 (76) /* Vector 76: UART 4 */
|
|
|
|
# define TIVA_IRQ_UART5 (77) /* Vector 77: UART 5 */
|
|
|
|
# define TIVA_IRQ_UART6 (78) /* Vector 78: UART 6 */
|
|
|
|
# define TIVA_IRQ_UART7 (79) /* Vector 79: UART 7 */
|
|
|
|
|
|
|
|
# define TIVA_RESERVED_80 (80) /* Vector 80: Reserved */
|
|
|
|
# define TIVA_RESERVED_81 (81) /* Vector 81: Reserved */
|
|
|
|
# define TIVA_RESERVED_82 (82) /* Vector 82: Reserved */
|
|
|
|
# define TIVA_RESERVED_83 (83) /* Vector 83: Reserved */
|
|
|
|
# define TIVA_IRQ_I2C2 (84) /* Vector 84: I2C 2 */
|
|
|
|
# define TIVA_IRQ_I2C3 (85) /* Vector 85: I2C 3 */
|
|
|
|
# define TIVA_IRQ_TIMER4A (86) /* Vector 86: 16/32-Bit Timer 4 A */
|
|
|
|
# define TIVA_IRQ_TIMER4B (87) /* Vector 87: 16/32-Bit Timer 4 B */
|
|
|
|
# define TIVA_RESERVED_88 (88) /* Vector 88: Reserved */
|
|
|
|
# define TIVA_RESERVED_89 (89) /* Vector 89: Reserved */
|
|
|
|
|
|
|
|
# define TIVA_RESERVED_90 (90) /* Vector 90: Reserved */
|
|
|
|
# define TIVA_RESERVED_91 (91) /* Vector 91: Reserved */
|
|
|
|
# define TIVA_RESERVED_92 (92) /* Vector 92: Reserved */
|
|
|
|
# define TIVA_RESERVED_93 (93) /* Vector 93: Reserved */
|
|
|
|
# define TIVA_RESERVED_94 (94) /* Vector 94: Reserved */
|
|
|
|
# define TIVA_RESERVED_95 (95) /* Vector 95: Reserved */
|
|
|
|
# define TIVA_RESERVED_96 (96) /* Vector 96: Reserved */
|
|
|
|
# define TIVA_RESERVED_97 (97) /* Vector 97: Reserved */
|
|
|
|
# define TIVA_RESERVED_98 (98) /* Vector 98: Reserved */
|
|
|
|
# define TIVA_RESERVED_99 (99) /* Vector 99: Reserved */
|
|
|
|
|
|
|
|
# define TIVA_RESERVED_100 (100) /* Vector 100: Reserved */
|
|
|
|
# define TIVA_RESERVED_101 (101) /* Vector 101: Reserved */
|
|
|
|
# define TIVA_RESERVED_102 (102) /* Vector 102: Reserved */
|
|
|
|
# define TIVA_RESERVED_103 (103) /* Vector 103: Reserved */
|
|
|
|
# define TIVA_RESERVED_104 (104) /* Vector 104: Reserved */
|
|
|
|
# define TIVA_RESERVED_105 (105) /* Vector 105: Reserved */
|
|
|
|
# define TIVA_RESERVED_106 (106) /* Vector 106: Reserved */
|
|
|
|
# define TIVA_RESERVED_107 (107) /* Vector 107: Reserved */
|
|
|
|
# define TIVA_IRQ_TIMER5A (108) /* Vector 108: 16/32-Bit Timer 5 A */
|
|
|
|
# define TIVA_IRQ_TIMER5B (109) /* Vector 109: 16/32-Bit Timer 5 B */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_WTIMER0A (110) /* Vector 110: 32/64-Bit Timer 0 A */
|
|
|
|
# define TIVA_IRQ_WTIMER0B (111) /* Vector 111: 32/64-Bit Timer 0 B */
|
|
|
|
# define TIVA_IRQ_WTIMER1A (112) /* Vector 112: 32/64-Bit Timer 1 A */
|
|
|
|
# define TIVA_IRQ_WTIMER1B (113) /* Vector 113: 32/64-Bit Timer 1 B */
|
|
|
|
# define TIVA_IRQ_WTIMER2A (114) /* Vector 114: 32/64-Bit Timer 2 A */
|
|
|
|
# define TIVA_IRQ_WTIMER2B (115) /* Vector 115: 32/64-Bit Timer 2 B */
|
|
|
|
# define TIVA_IRQ_WTIMER3A (116) /* Vector 116: 32/64-Bit Timer 3 A */
|
|
|
|
# define TIVA_IRQ_WTIMER3B (117) /* Vector 117: 32/64-Bit Timer 3 B */
|
|
|
|
# define TIVA_IRQ_WTIMER4A (118) /* Vector 118: 32/64-Bit Timer 4 A */
|
|
|
|
# define TIVA_IRQ_WTIMER4B (119) /* Vector 119: 32/64-Bit Timer 4 B */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_WTIMER5A (120) /* Vector 120: 32/64-Bit Timer 5 A */
|
|
|
|
# define TIVA_IRQ_WTIMER5B (121) /* Vector 121: 32/64-Bit Timer 5 B */
|
|
|
|
# define TIVA_IRQ_SYSTEM (122) /* Vector 122: System Exception (imprecise) */
|
|
|
|
# define TIVA_RESERVED_123 (123) /* Vector 123: Reserved */
|
|
|
|
# define TIVA_RESERVED_124 (124) /* Vector 124: Reserved */
|
|
|
|
# define TIVA_RESERVED_125 (125) /* Vector 125: Reserved */
|
|
|
|
# define TIVA_RESERVED_126 (126) /* Vector 126: Reserved */
|
|
|
|
# define TIVA_RESERVED_127 (127) /* Vector 127: Reserved */
|
|
|
|
# define TIVA_RESERVED_128 (128) /* Vector 128: Reserved */
|
|
|
|
# define TIVA_RESERVED_129 (129) /* Vector 129: Reserved */
|
|
|
|
|
|
|
|
# define TIVA_RESERVED_130 (130) /* Vector 130: Reserved */
|
|
|
|
# define TIVA_RESERVED_131 (131) /* Vector 131: Reserved */
|
|
|
|
# define TIVA_RESERVED_132 (132) /* Vector 132: Reserved */
|
|
|
|
# define TIVA_RESERVED_133 (133) /* Vector 133: Reserved */
|
|
|
|
# define TIVA_RESERVED_134 (134) /* Vector 134: Reserved */
|
|
|
|
# define TIVA_RESERVED_135 (135) /* Vector 135: Reserved */
|
|
|
|
# define TIVA_RESERVED_136 (136) /* Vector 136: Reserved */
|
|
|
|
# define TIVA_RESERVED_137 (137) /* Vector 137: Reserved */
|
|
|
|
# define TIVA_RESERVED_138 (138) /* Vector 138: Reserved */
|
|
|
|
# define TIVA_RESERVED_139 (139) /* Vector 139: Reserved */
|
|
|
|
|
|
|
|
# define TIVA_RESERVED_140 (140) /* Vector 140: Reserved */
|
|
|
|
# define TIVA_RESERVED_141 (141) /* Vector 141: Reserved */
|
|
|
|
# define TIVA_RESERVED_142 (142) /* Vector 142: Reserved */
|
|
|
|
# define TIVA_RESERVED_143 (143) /* Vector 143: Reserved */
|
|
|
|
# define TIVA_RESERVED_144 (144) /* Vector 144: Reserved */
|
|
|
|
# define TIVA_RESERVED_145 (145) /* Vector 145: Reserved */
|
|
|
|
# define TIVA_RESERVED_146 (146) /* Vector 146: Reserved */
|
|
|
|
# define TIVA_RESERVED_147 (147) /* Vector 147: Reserved */
|
|
|
|
# define TIVA_RESERVED_148 (148) /* Vector 148: Reserved */
|
|
|
|
# define TIVA_RESERVED_149 (149) /* Vector 149: Reserved */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_PWM1_GEN0 (150) /* Vector 150: PWM1 Generator 0 */
|
|
|
|
# define TIVA_IRQ_PWM1_GEN1 (151) /* Vector 151: PWM1 Generator 1 */
|
|
|
|
# define TIVA_IRQ_PWM1_GEN2 (152) /* Vector 152: PWM1 Generator 2 */
|
|
|
|
# define TIVA_IRQ_PWM1_GEN3 (153) /* Vector 153: PWM1 Generator 3 */
|
2014-03-09 16:21:06 +01:00
|
|
|
# define TIVA_IRQ_PWM1_FAULT (154) /* Vector 154: PWM1 Fault */
|
|
|
|
|
2014-12-17 15:19:23 +01:00
|
|
|
# define NR_IRQS (155) /* (Really fewer because of reserved vectors) */
|
|
|
|
|
|
|
|
#elif defined(CONFIG_ARCH_CHIP_TM4C129XNC)
|
2014-12-18 15:24:24 +01:00
|
|
|
|
2014-12-17 15:19:23 +01:00
|
|
|
# define TIVA_IRQ_GPIOA (16) /* Vector 16: GPIO Port A */
|
|
|
|
# define TIVA_IRQ_GPIOB (17) /* Vector 17: GPIO Port B */
|
|
|
|
# define TIVA_IRQ_GPIOC (18) /* Vector 18: GPIO Port C */
|
|
|
|
# define TIVA_IRQ_GPIOD (19) /* Vector 19: GPIO Port D */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_GPIOE (20) /* Vector 20: GPIO Port E */
|
|
|
|
# define TIVA_IRQ_UART0 (21) /* Vector 21: UART 0 */
|
|
|
|
# define TIVA_IRQ_UART1 (22) /* Vector 22: UART 1 */
|
|
|
|
# define TIVA_IRQ_SSI0 (23) /* Vector 23: SSI 0 */
|
|
|
|
# define TIVA_IRQ_I2C0 (24) /* Vector 24: I2C 0 */
|
|
|
|
# define TIVA_IRQ_PWM0_FAULT (25) /* Vector 25: PWM0 Fault */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN0 (26) /* Vector 26: PWM0 Generator 0 */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN1 (27) /* Vector 27: PWM0 Generator 1 */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN2 (28) /* Vector 28: PWM0 Generator 2 */
|
|
|
|
# define TIVA_IRQ_QEI0 (29) /* Vector 29: QEI0 */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_ADC0 (30) /* Vector 30: ADC Sequence 0 */
|
|
|
|
# define TIVA_IRQ_ADC1 (31) /* Vector 31: ADC Sequence 1 */
|
|
|
|
# define TIVA_IRQ_ADC2 (32) /* Vector 32: ADC Sequence 2 */
|
|
|
|
# define TIVA_IRQ_ADC3 (33) /* Vector 33: ADC Sequence 3 */
|
|
|
|
# define TIVA_IRQ_WDOG (34) /* Vector 34: Watchdog Timers 0 and 1 */
|
|
|
|
# define TIVA_IRQ_TIMER0A (35) /* Vector 35: 16/32-Bit Timer 0 A */
|
|
|
|
# define TIVA_IRQ_TIMER0B (36) /* Vector 36: 16/32-Bit Timer 0 B */
|
|
|
|
# define TIVA_IRQ_TIMER1A (37) /* Vector 37: 16/32-Bit Timer 1 A */
|
|
|
|
# define TIVA_IRQ_TIMER1B (38) /* Vector 38: 16/32-Bit Timer 1 B */
|
|
|
|
# define TIVA_IRQ_TIMER2A (39) /* Vector 39: 16/32-Bit Timer 2 A */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_TIMER2B (40) /* Vector 40: 16/32-Bit Timer 2 B */
|
|
|
|
# define TIVA_IRQ_COMPARE0 (41) /* Vector 41: Analog Comparator 0 */
|
|
|
|
# define TIVA_IRQ_COMPARE1 (42) /* Vector 42: Analog Comparator 1 */
|
|
|
|
# define TIVA_IRQ_COMPARE2 (43) /* Vector 43: Analog Comparator 2 */
|
|
|
|
# define TIVA_IRQ_SYSCON (44) /* Vector 44: System Control */
|
|
|
|
# define TIVA_IRQ_FLASHCON (45) /* Vector 45: FLASH and EEPROM Control */
|
|
|
|
# define TIVA_IRQ_GPIOF (46) /* Vector 46: GPIO Port F */
|
|
|
|
# define TIVA_IRQ_GPIOG (47) /* Vector 47: GPIO Port G */
|
|
|
|
# define TIVA_IRQ_GPIOH (48) /* Vector 48: GPIO Port H */
|
|
|
|
# define TIVA_IRQ_UART2 (49) /* Vector 49: UART 2 */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_SSI1 (50) /* Vector 50: SSI 1 */
|
|
|
|
# define TIVA_IRQ_TIMER3A (51) /* Vector 51: 16/32-Bit Timer 3 A */
|
|
|
|
# define TIVA_IRQ_TIMER3B (52) /* Vector 52: 16/32-Bit Timer 3 B */
|
|
|
|
# define TIVA_IRQ_I2C1 (53) /* Vector 53: I2C 1 */
|
|
|
|
# define TIVA_IRQ_CAN0 (54) /* Vector 54: CAN 0 */
|
|
|
|
# define TIVA_IRQ_CAN1 (55) /* Vector 55: CAN 1 */
|
|
|
|
# define TIVA_IRQ_ETHCON (56) /* Vector 56: Ethernet MAC */
|
|
|
|
# define TIVA_IRQ_HIBERNATE (57) /* Vector 57: Hibernation Module */
|
|
|
|
# define TIVA_IRQ_USB (58) /* Vector 58: USB MAC */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN3 (59) /* Vector 59: PWM0 Generator 3 */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_UDMASOFT (60) /* Vector 60: uDMA Software */
|
|
|
|
# define TIVA_IRQ_UDMAERROR (61) /* Vector 61: uDMA Error */
|
|
|
|
# define TIVA_IRQ_ADC1_0 (62) /* Vector 62: ADC1 Sequence 0 */
|
|
|
|
# define TIVA_IRQ_ADC1_1 (63) /* Vector 63: ADC1 Sequence 1 */
|
|
|
|
# define TIVA_IRQ_ADC1_2 (64) /* Vector 64: ADC1 Sequence 2 */
|
|
|
|
# define TIVA_IRQ_ADC1_3 (65) /* Vector 65: ADC1 Sequence 3 */
|
|
|
|
# define TIVA_IRQ_EPI0 (66) /* Vector 66: EPI 0 */
|
|
|
|
# define TIVA_IRQ_GPIOJ (67) /* Vector 67: GPIO Port J */
|
|
|
|
# define TIVA_IRQ_GPIOK (68) /* Vector 68: GPIO Port K */
|
|
|
|
# define TIVA_IRQ_GPIOL (69) /* Vector 69: GPIO Port L */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_SSI2 (70) /* Vector 70: SSI 2 */
|
|
|
|
# define TIVA_IRQ_SSI3 (71) /* Vector 71: SSI 3 */
|
|
|
|
# define TIVA_IRQ_UART3 (72) /* Vector 72: UART 3 */
|
|
|
|
# define TIVA_IRQ_UART4 (73) /* Vector 73: UART 4 */
|
|
|
|
# define TIVA_IRQ_UART5 (74) /* Vector 74: UART 5 */
|
|
|
|
# define TIVA_IRQ_UART6 (75) /* Vector 75: UART 6 */
|
|
|
|
# define TIVA_IRQ_UART7 (76) /* Vector 76: UART 7 */
|
2014-12-18 15:24:24 +01:00
|
|
|
# define TIVA_IRQ_I2C2 (77) /* Vector 77: I2C 2 */
|
|
|
|
# define TIVA_IRQ_I2C3 (78) /* Vector 78: I2C 3 */
|
2014-12-17 15:19:23 +01:00
|
|
|
# define TIVA_IRQ_TIMER4A (79) /* Vector 79: 16/32-Bit Timer 4 A */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_TIMER4B (80) /* Vector 80: 16/32-Bit Timer 4 B */
|
|
|
|
# define TIVA_IRQ_TIMER5A (81) /* Vector 81: 16/32-Bit Timer 5 A */
|
|
|
|
# define TIVA_IRQ_TIMER5B (82) /* Vector 82: 16/32-Bit Timer 5 B */
|
|
|
|
# define TIVA_IRQ_FLOAT (83) /* Vector 83: Floating point exception */
|
|
|
|
# define TIVA_RESERVED_84 (84) /* Vector 84: Reserved */
|
|
|
|
# define TIVA_RESERVED_85 (85) /* Vector 85: Reserved */
|
|
|
|
# define TIVA_IRQ_I2C4 (86) /* Vector 86: I2C 4 */
|
|
|
|
# define TIVA_IRQ_I2C5 (87) /* Vector 87: I2C 5 */
|
|
|
|
# define TIVA_IRQ_GPIOM (88) /* Vector 88: GPIO Port M */
|
|
|
|
# define TIVA_IRQ_GPION (89) /* Vector 89: GPIO Port N */
|
|
|
|
|
|
|
|
# define TIVA_RESERVED_90 (90) /* Vector 90: Reserved */
|
|
|
|
# define TIVA_IRQ_TAMPER (91) /* Vector 91: Tamper */
|
|
|
|
# define TIVA_IRQ_GPIOP (92) /* Vector 92: GPIO Port P (Summary or P0) */
|
|
|
|
# define TIVA_IRQ_GPIOP1 (93) /* Vector 93: GPIO Port P1 */
|
|
|
|
# define TIVA_IRQ_GPIOP2 (94) /* Vector 94: GPIO Port P2 */
|
|
|
|
# define TIVA_IRQ_GPIOP3 (95) /* Vector 95: GPIO Port P3 */
|
|
|
|
# define TIVA_IRQ_GPIOP4 (96) /* Vector 96: GPIO Port P4 */
|
|
|
|
# define TIVA_IRQ_GPIOP5 (97) /* Vector 97: GPIO Port P5 */
|
|
|
|
# define TIVA_IRQ_GPIOP6 (98) /* Vector 98: GPIO Port P6 */
|
|
|
|
# define TIVA_IRQ_GPIOP7 (99) /* Vector 99: GPIO Port P7 */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_GPIOQ (100) /* Vector 100: GPIO Port Q (Summary or Q0) */
|
|
|
|
# define TIVA_IRQ_GPIOQ1 (101) /* Vector 101: GPIO Port Q1 */
|
|
|
|
# define TIVA_IRQ_GPIOQ2 (102) /* Vector 102: GPIO Port Q2 */
|
|
|
|
# define TIVA_IRQ_GPIOQ3 (103) /* Vector 103: GPIO Port Q3 */
|
|
|
|
# define TIVA_IRQ_GPIOQ4 (104) /* Vector 104: GPIO Port Q4 */
|
|
|
|
# define TIVA_IRQ_GPIOQ5 (105) /* Vector 105: GPIO Port Q5 */
|
|
|
|
# define TIVA_IRQ_GPIOQ6 (106) /* Vector 106: GPIO Port Q6 */
|
|
|
|
# define TIVA_IRQ_GPIOQ7 (107) /* Vector 107: GPIO Port Q7 */
|
|
|
|
# define TIVA_IRQ_GPIOR (108) /* Vector 108: GPIO Port R */
|
|
|
|
# define TIVA_IRQ_GPIOS (109) /* Vector 109: GPIO Port S */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_SHAMD5 (110) /* Vector 110: SHA/MD5 */
|
|
|
|
# define TIVA_IRQ_AES (111) /* Vector 111: AES */
|
|
|
|
# define TIVA_IRQ_DES (112) /* Vector 112: DES */
|
|
|
|
# define TIVA_IRQ_LCD (113) /* Vector 113: LCD */
|
|
|
|
# define TIVA_IRQ_TIMER6A (114) /* Vector 114: 16/32-Bit Timer 6 A */
|
|
|
|
# define TIVA_IRQ_TIMER6B (115) /* Vector 115: 16/32-Bit Timer 6 B */
|
|
|
|
# define TIVA_IRQ_TIMER7A (116) /* Vector 116: 16/32-Bit Timer 7 A */
|
|
|
|
# define TIVA_IRQ_TIMER7B (117) /* Vector 117: 16/32-Bit Timer 7 B */
|
|
|
|
# define TIVA_IRQ_I2C6 (118) /* Vector 118: I2C 6 */
|
|
|
|
# define TIVA_IRQ_I2C7 (119) /* Vector 119: I2C 7 */
|
|
|
|
|
|
|
|
# define TIVA_RESERVED_120 (120) /* Vector 120: Reserved */
|
|
|
|
# define TIVA_IRQ_1WIRE (121) /* Vector 121: 1-Wire */
|
|
|
|
# define TIVA_RESERVED_122 (122) /* Vector 122: Reserved */
|
|
|
|
# define TIVA_RESERVED_123 (123) /* Vector 123: Reserved */
|
|
|
|
# define TIVA_RESERVED_124 (124) /* Vector 124: Reserved */
|
|
|
|
# define TIVA_IRQ_I2C8 (125) /* Vector 125: I2C 8 */
|
|
|
|
# define TIVA_IRQ_I2C9 (126) /* Vector 126: I2C 9 */
|
|
|
|
# define TIVA_IRQ_GPIOT (127) /* Vector 127: GPIO Port T */
|
|
|
|
# define TIVA_RESERVED_128 (128) /* Vector 128: Reserved */
|
|
|
|
# define TIVA_RESERVED_129 (129) /* Vector 129: Reserved */
|
|
|
|
|
|
|
|
# define NR_IRQS (130) /* (Really fewer because of reserved vectors) */
|
2014-03-09 16:21:06 +01:00
|
|
|
|
2015-02-12 00:30:38 +01:00
|
|
|
#elif defined(CONFIG_ARCH_CHIP_TM4C1294NC)
|
|
|
|
# define TIVA_IRQ_GPIOA (16) /* Vector 16: GPIO Port A */
|
|
|
|
# define TIVA_IRQ_GPIOB (17) /* Vector 17: GPIO Port B */
|
|
|
|
# define TIVA_IRQ_GPIOC (18) /* Vector 18: GPIO Port C */
|
|
|
|
# define TIVA_IRQ_GPIOD (19) /* Vector 19: GPIO Port D */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_GPIOE (20) /* Vector 20: GPIO Port E */
|
|
|
|
# define TIVA_IRQ_UART0 (21) /* Vector 21: UART 0 */
|
|
|
|
# define TIVA_IRQ_UART1 (22) /* Vector 22: UART 1 */
|
|
|
|
# define TIVA_IRQ_SSI0 (23) /* Vector 23: SSI 0 */
|
|
|
|
# define TIVA_IRQ_I2C0 (24) /* Vector 24: I2C 0 */
|
|
|
|
# define TIVA_IRQ_PWM0_FAULT (25) /* Vector 25: PWM0 Fault */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN0 (26) /* Vector 26: PWM0 Generator 0 */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN1 (27) /* Vector 27: PWM0 Generator 1 */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN2 (28) /* Vector 28: PWM0 Generator 2 */
|
|
|
|
# define TIVA_IRQ_QEI0 (29) /* Vector 29: QEI0 */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_ADC0 (30) /* Vector 30: ADC Sequence 0 */
|
|
|
|
# define TIVA_IRQ_ADC1 (31) /* Vector 31: ADC Sequence 1 */
|
|
|
|
# define TIVA_IRQ_ADC2 (32) /* Vector 32: ADC Sequence 2 */
|
|
|
|
# define TIVA_IRQ_ADC3 (33) /* Vector 33: ADC Sequence 3 */
|
|
|
|
# define TIVA_IRQ_WDOG (34) /* Vector 34: Watchdog Timers 0 and 1 */
|
|
|
|
# define TIVA_IRQ_TIMER0A (35) /* Vector 35: 16/32-Bit Timer 0 A */
|
|
|
|
# define TIVA_IRQ_TIMER0B (36) /* Vector 36: 16/32-Bit Timer 0 B */
|
|
|
|
# define TIVA_IRQ_TIMER1A (37) /* Vector 37: 16/32-Bit Timer 1 A */
|
|
|
|
# define TIVA_IRQ_TIMER1B (38) /* Vector 38: 16/32-Bit Timer 1 B */
|
|
|
|
# define TIVA_IRQ_TIMER2A (39) /* Vector 39: 16/32-Bit Timer 2 A */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_TIMER2B (40) /* Vector 40: 16/32-Bit Timer 2 B */
|
|
|
|
# define TIVA_IRQ_COMPARE0 (41) /* Vector 41: Analog Comparator 0 */
|
|
|
|
# define TIVA_IRQ_COMPARE1 (42) /* Vector 42: Analog Comparator 1 */
|
|
|
|
# define TIVA_IRQ_COMPARE2 (43) /* Vector 43: Analog Comparator 2 */
|
|
|
|
# define TIVA_IRQ_SYSCON (44) /* Vector 44: System Control */
|
|
|
|
# define TIVA_IRQ_FLASHCON (45) /* Vector 45: FLASH and EEPROM Control */
|
|
|
|
# define TIVA_IRQ_GPIOF (46) /* Vector 46: GPIO Port F */
|
|
|
|
# define TIVA_IRQ_GPIOG (47) /* Vector 47: GPIO Port G */
|
|
|
|
# define TIVA_IRQ_GPIOH (48) /* Vector 48: GPIO Port H */
|
|
|
|
# define TIVA_IRQ_UART2 (49) /* Vector 49: UART 2 */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_SSI1 (50) /* Vector 50: SSI 1 */
|
|
|
|
# define TIVA_IRQ_TIMER3A (51) /* Vector 51: 16/32-Bit Timer 3 A */
|
|
|
|
# define TIVA_IRQ_TIMER3B (52) /* Vector 52: 16/32-Bit Timer 3 B */
|
|
|
|
# define TIVA_IRQ_I2C1 (53) /* Vector 53: I2C 1 */
|
|
|
|
# define TIVA_IRQ_CAN0 (54) /* Vector 54: CAN 0 */
|
|
|
|
# define TIVA_IRQ_CAN1 (55) /* Vector 55: CAN 1 */
|
|
|
|
# define TIVA_IRQ_ETHCON (56) /* Vector 56: Ethernet MAC */
|
|
|
|
# define TIVA_IRQ_HIBERNATE (57) /* Vector 57: Hibernation Module */
|
|
|
|
# define TIVA_IRQ_USB (58) /* Vector 58: USB MAC */
|
|
|
|
# define TIVA_IRQ_PWM0_GEN3 (59) /* Vector 59: PWM0 Generator 3 */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_UDMASOFT (60) /* Vector 60: uDMA Software */
|
|
|
|
# define TIVA_IRQ_UDMAERROR (61) /* Vector 61: uDMA Error */
|
|
|
|
# define TIVA_IRQ_ADC1_0 (62) /* Vector 62: ADC1 Sequence 0 */
|
|
|
|
# define TIVA_IRQ_ADC1_1 (63) /* Vector 63: ADC1 Sequence 1 */
|
|
|
|
# define TIVA_IRQ_ADC1_2 (64) /* Vector 64: ADC1 Sequence 2 */
|
|
|
|
# define TIVA_IRQ_ADC1_3 (65) /* Vector 65: ADC1 Sequence 3 */
|
|
|
|
# define TIVA_IRQ_EPI0 (66) /* Vector 66: EPI 0 */
|
|
|
|
# define TIVA_IRQ_GPIOJ (67) /* Vector 67: GPIO Port J */
|
|
|
|
# define TIVA_IRQ_GPIOK (68) /* Vector 68: GPIO Port K */
|
|
|
|
# define TIVA_IRQ_GPIOL (69) /* Vector 69: GPIO Port L */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_SSI2 (70) /* Vector 70: SSI 2 */
|
|
|
|
# define TIVA_IRQ_SSI3 (71) /* Vector 71: SSI 3 */
|
|
|
|
# define TIVA_IRQ_UART3 (72) /* Vector 72: UART 3 */
|
|
|
|
# define TIVA_IRQ_UART4 (73) /* Vector 73: UART 4 */
|
|
|
|
# define TIVA_IRQ_UART5 (74) /* Vector 74: UART 5 */
|
|
|
|
# define TIVA_IRQ_UART6 (75) /* Vector 75: UART 6 */
|
|
|
|
# define TIVA_IRQ_UART7 (76) /* Vector 76: UART 7 */
|
|
|
|
# define TIVA_IRQ_I2C2 (77) /* Vector 77: I2C 2 */
|
|
|
|
# define TIVA_IRQ_I2C3 (78) /* Vector 78: I2C 3 */
|
|
|
|
# define TIVA_IRQ_TIMER4A (79) /* Vector 79: 16/32-Bit Timer 4 A */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_TIMER4B (80) /* Vector 80: 16/32-Bit Timer 4 B */
|
|
|
|
# define TIVA_IRQ_TIMER5A (81) /* Vector 81: 16/32-Bit Timer 5 A */
|
|
|
|
# define TIVA_IRQ_TIMER5B (82) /* Vector 82: 16/32-Bit Timer 5 B */
|
|
|
|
# define TIVA_IRQ_FLOAT (83) /* Vector 83: Floating point exception */
|
|
|
|
# define TIVA_RESERVED_84 (84) /* Vector 84: Reserved */
|
|
|
|
# define TIVA_RESERVED_85 (85) /* Vector 85: Reserved */
|
|
|
|
# define TIVA_IRQ_I2C4 (86) /* Vector 86: I2C 4 */
|
|
|
|
# define TIVA_IRQ_I2C5 (87) /* Vector 87: I2C 5 */
|
|
|
|
# define TIVA_IRQ_GPIOM (88) /* Vector 88: GPIO Port M */
|
|
|
|
# define TIVA_IRQ_GPION (89) /* Vector 89: GPIO Port N */
|
|
|
|
|
|
|
|
# define TIVA_RESERVED_90 (90) /* Vector 90: Reserved */
|
|
|
|
# define TIVA_IRQ_TAMPER (91) /* Vector 91: Tamper */
|
|
|
|
# define TIVA_IRQ_GPIOP (92) /* Vector 92: GPIO Port P (Summary or P0) */
|
|
|
|
# define TIVA_IRQ_GPIOP1 (93) /* Vector 93: GPIO Port P1 */
|
|
|
|
# define TIVA_IRQ_GPIOP2 (94) /* Vector 94: GPIO Port P2 */
|
|
|
|
# define TIVA_IRQ_GPIOP3 (95) /* Vector 95: GPIO Port P3 */
|
|
|
|
# define TIVA_IRQ_GPIOP4 (96) /* Vector 96: GPIO Port P4 */
|
|
|
|
# define TIVA_IRQ_GPIOP5 (97) /* Vector 97: GPIO Port P5 */
|
|
|
|
# define TIVA_IRQ_GPIOP6 (98) /* Vector 98: GPIO Port P6 */
|
|
|
|
# define TIVA_IRQ_GPIOP7 (99) /* Vector 99: GPIO Port P7 */
|
|
|
|
|
|
|
|
# define TIVA_IRQ_GPIOQ (100) /* Vector 100: GPIO Port Q (Summary or Q0) */
|
|
|
|
# define TIVA_IRQ_GPIOQ1 (101) /* Vector 101: GPIO Port Q1 */
|
|
|
|
# define TIVA_IRQ_GPIOQ2 (102) /* Vector 102: GPIO Port Q2 */
|
|
|
|
# define TIVA_IRQ_GPIOQ3 (103) /* Vector 103: GPIO Port Q3 */
|
|
|
|
# define TIVA_IRQ_GPIOQ4 (104) /* Vector 104: GPIO Port Q4 */
|
|
|
|
# define TIVA_IRQ_GPIOQ5 (105) /* Vector 105: GPIO Port Q5 */
|
|
|
|
# define TIVA_IRQ_GPIOQ6 (106) /* Vector 106: GPIO Port Q6 */
|
|
|
|
# define TIVA_IRQ_GPIOQ7 (107) /* Vector 107: GPIO Port Q7 */
|
|
|
|
# define TIVA_RESERVED_108 (108) /* Vector 108: Reserved */
|
|
|
|
# define TIVA_RESERVED_109 (109) /* Vector 109: Reserved */
|
|
|
|
|
|
|
|
# define TIVA_RESERVED_110 (110) /* Vector 110: Reserved */
|
|
|
|
# define TIVA_RESERVED_111 (111) /* Vector 111: Reserved */
|
|
|
|
# define TIVA_RESERVED_112 (113) /* Vector 112: Reserved */
|
|
|
|
# define TIVA_RESERVED_113 (113) /* Vector 113: Reserved */
|
|
|
|
# define TIVA_IRQ_TIMER6A (114) /* Vector 114: 16/32-Bit Timer 6 A */
|
|
|
|
# define TIVA_IRQ_TIMER6B (115) /* Vector 115: 16/32-Bit Timer 6 B */
|
|
|
|
# define TIVA_IRQ_TIMER7A (116) /* Vector 116: 16/32-Bit Timer 7 A */
|
|
|
|
# define TIVA_IRQ_TIMER7B (117) /* Vector 117: 16/32-Bit Timer 7 B */
|
|
|
|
# define TIVA_IRQ_I2C6 (118) /* Vector 118: I2C 6 */
|
|
|
|
# define TIVA_IRQ_I2C7 (119) /* Vector 119: I2C 7 */
|
|
|
|
|
|
|
|
# define TIVA_RESERVED_120 (120) /* Vector 120: Reserved */
|
|
|
|
# define TIVA_RESERVED_121 (121) /* Vector 121: Reserved */
|
|
|
|
# define TIVA_RESERVED_122 (122) /* Vector 122: Reserved */
|
|
|
|
# define TIVA_RESERVED_123 (123) /* Vector 123: Reserved */
|
|
|
|
# define TIVA_RESERVED_124 (124) /* Vector 124: Reserved */
|
|
|
|
# define TIVA_IRQ_I2C8 (125) /* Vector 125: I2C 8 */
|
|
|
|
# define TIVA_IRQ_I2C9 (126) /* Vector 126: I2C 9 */
|
|
|
|
# define TIVA_RESERVED_127 (127) /* Vector 127: Reserved */
|
|
|
|
# define TIVA_RESERVED_128 (128) /* Vector 128: Reserved */
|
|
|
|
# define TIVA_RESERVED_129 (129) /* Vector 129: Reserved */
|
|
|
|
|
|
|
|
# define NR_IRQS (130) /* (Really fewer because of reserved vectors) */
|
|
|
|
|
2014-03-09 16:21:06 +01:00
|
|
|
#else
|
|
|
|
# error "IRQ Numbers not known for this Tiva chip"
|
|
|
|
#endif
|
|
|
|
|
2018-12-05 22:17:22 +01:00
|
|
|
#define TIVA_IRQ_NEXTINT (NR_IRQS - 16)
|
|
|
|
|
|
|
|
/* GPIO IRQs -- Note that support for individual GPIO ports can
|
|
|
|
* be disabled in order to reduce the size of the implementation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* The TM4C123GH6PMI supports ports A-F of which any can support interrupts */
|
|
|
|
|
|
|
|
#if defined(CONFIG_ARCH_CHIP_TM4C123GH6PMI)
|
|
|
|
# undef CONFIG_TIVA_GPIOP_IRQS /* P-Q */
|
|
|
|
# undef CONFIG_TIVA_GPIOQ_IRQS
|
|
|
|
|
|
|
|
/* The TM4C123GH6PGE supports interrupts only on port P */
|
|
|
|
|
|
|
|
#elif defined(CONFIG_ARCH_CHIP_TM4C123GH6PGE)
|
|
|
|
# undef CONFIG_TIVA_GPIOA_IRQS /* A-F */
|
|
|
|
# undef CONFIG_TIVA_GPIOB_IRQS
|
|
|
|
# undef CONFIG_TIVA_GPIOC_IRQS
|
|
|
|
# undef CONFIG_TIVA_GPIOD_IRQS
|
|
|
|
# undef CONFIG_TIVA_GPIOE_IRQS
|
|
|
|
# undef CONFIG_TIVA_GPIOF_IRQS
|
|
|
|
|
|
|
|
# undef CONFIG_TIVA_GPIOQ_IRQS /* Q */
|
|
|
|
|
|
|
|
/* The TM4C123GH6ZRB and the TM4C129x support interrupts only on ports P and Q. */
|
|
|
|
|
|
|
|
#else
|
|
|
|
# undef CONFIG_TIVA_GPIOA_IRQS /* A-F */
|
|
|
|
# undef CONFIG_TIVA_GPIOB_IRQS
|
|
|
|
# undef CONFIG_TIVA_GPIOC_IRQS
|
|
|
|
# undef CONFIG_TIVA_GPIOD_IRQS
|
|
|
|
# undef CONFIG_TIVA_GPIOE_IRQS
|
|
|
|
# undef CONFIG_TIVA_GPIOF_IRQS
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* No supported architecture supports interrupts on ports G-N or R-T */
|
|
|
|
|
|
|
|
#undef CONFIG_TIVA_GPIOG_IRQS /* G-N */
|
|
|
|
#undef CONFIG_TIVA_GPIOH_IRQS
|
|
|
|
#undef CONFIG_TIVA_GPIOJ_IRQS
|
|
|
|
#undef CONFIG_TIVA_GPIOK_IRQS
|
|
|
|
#undef CONFIG_TIVA_GPIOL_IRQS
|
|
|
|
#undef CONFIG_TIVA_GPIOM_IRQS
|
|
|
|
#undef CONFIG_TIVA_GPION_IRQS
|
|
|
|
|
|
|
|
#undef CONFIG_TIVA_GPIOR_IRQS /* R-T */
|
|
|
|
#undef CONFIG_TIVA_GPIOS_IRQS
|
|
|
|
#undef CONFIG_TIVA_GPIOT_IRQS
|
|
|
|
|
|
|
|
#if defined(CONFIG_TIVA_GPIOA_IRQS)
|
|
|
|
# define TIVA_IRQ_GPIOA_0 (NR_IRQS + 0)
|
|
|
|
# define TIVA_IRQ_GPIOA_1 (NR_IRQS + 1)
|
|
|
|
# define TIVA_IRQ_GPIOA_2 (NR_IRQS + 2)
|
|
|
|
# define TIVA_IRQ_GPIOA_3 (NR_IRQS + 3)
|
|
|
|
# define TIVA_IRQ_GPIOA_4 (NR_IRQS + 4)
|
|
|
|
# define TIVA_IRQ_GPIOA_5 (NR_IRQS + 5)
|
|
|
|
# define TIVA_IRQ_GPIOA_6 (NR_IRQS + 6)
|
|
|
|
# define TIVA_IRQ_GPIOA_7 (NR_IRQS + 7)
|
|
|
|
# define _NGPIOBIRQS (NR_IRQS + 8)
|
|
|
|
#else
|
|
|
|
# define _NGPIOBIRQS NR_IRQS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_TIVA_GPIOB_IRQS)
|
|
|
|
# define TIVA_IRQ_GPIOB_0 (_NGPIOBIRQS + 0)
|
|
|
|
# define TIVA_IRQ_GPIOB_1 (_NGPIOBIRQS + 1)
|
|
|
|
# define TIVA_IRQ_GPIOB_2 (_NGPIOBIRQS + 2)
|
|
|
|
# define TIVA_IRQ_GPIOB_3 (_NGPIOBIRQS + 3)
|
|
|
|
# define TIVA_IRQ_GPIOB_4 (_NGPIOBIRQS + 4)
|
|
|
|
# define TIVA_IRQ_GPIOB_5 (_NGPIOBIRQS + 5)
|
|
|
|
# define TIVA_IRQ_GPIOB_6 (_NGPIOBIRQS + 6)
|
|
|
|
# define TIVA_IRQ_GPIOB_7 (_NGPIOBIRQS + 7)
|
|
|
|
# define _NGPIOCIRQS (_NGPIOBIRQS + 8)
|
|
|
|
#else
|
|
|
|
# define _NGPIOCIRQS _NGPIOBIRQS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_TIVA_GPIOC_IRQS)
|
|
|
|
# define TIVA_IRQ_GPIOC_0 (_NGPIOCIRQS + 0)
|
|
|
|
# define TIVA_IRQ_GPIOC_1 (_NGPIOCIRQS + 1)
|
|
|
|
# define TIVA_IRQ_GPIOC_2 (_NGPIOCIRQS + 2)
|
|
|
|
# define TIVA_IRQ_GPIOC_3 (_NGPIOCIRQS + 3)
|
|
|
|
# define TIVA_IRQ_GPIOC_4 (_NGPIOCIRQS + 4)
|
|
|
|
# define TIVA_IRQ_GPIOC_5 (_NGPIOCIRQS + 5)
|
|
|
|
# define TIVA_IRQ_GPIOC_6 (_NGPIOCIRQS + 6)
|
|
|
|
# define TIVA_IRQ_GPIOC_7 (_NGPIOCIRQS + 7)
|
|
|
|
# define _NGPIODIRQS (_NGPIOCIRQS + 8)
|
|
|
|
#else
|
|
|
|
# define _NGPIODIRQS _NGPIOCIRQS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_TIVA_GPIOD_IRQS)
|
|
|
|
# define TIVA_IRQ_GPIOD_0 (_NGPIODIRQS + 0)
|
|
|
|
# define TIVA_IRQ_GPIOD_1 (_NGPIODIRQS + 1)
|
|
|
|
# define TIVA_IRQ_GPIOD_2 (_NGPIODIRQS + 2)
|
|
|
|
# define TIVA_IRQ_GPIOD_3 (_NGPIODIRQS + 3)
|
|
|
|
# define TIVA_IRQ_GPIOD_4 (_NGPIODIRQS + 4)
|
|
|
|
# define TIVA_IRQ_GPIOD_5 (_NGPIODIRQS + 5)
|
|
|
|
# define TIVA_IRQ_GPIOD_6 (_NGPIODIRQS + 6)
|
|
|
|
# define TIVA_IRQ_GPIOD_7 (_NGPIODIRQS + 7)
|
|
|
|
# define _NGPIOEIRQS (_NGPIODIRQS + 8)
|
|
|
|
#else
|
|
|
|
# define _NGPIOEIRQS _NGPIODIRQS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_TIVA_GPIOE_IRQS)
|
|
|
|
# define TIVA_IRQ_GPIOE_0 (_NGPIOEIRQS + 0)
|
|
|
|
# define TIVA_IRQ_GPIOE_1 (_NGPIOEIRQS + 1)
|
|
|
|
# define TIVA_IRQ_GPIOE_2 (_NGPIOEIRQS + 2)
|
|
|
|
# define TIVA_IRQ_GPIOE_3 (_NGPIOEIRQS + 3)
|
|
|
|
# define TIVA_IRQ_GPIOE_4 (_NGPIOEIRQS + 4)
|
|
|
|
# define TIVA_IRQ_GPIOE_5 (_NGPIOEIRQS + 5)
|
|
|
|
# define TIVA_IRQ_GPIOE_6 (_NGPIOEIRQS + 6)
|
|
|
|
# define TIVA_IRQ_GPIOE_7 (_NGPIOEIRQS + 7)
|
|
|
|
# define _NGPIOFIRQS (_NGPIOEIRQS + 8)
|
|
|
|
#else
|
|
|
|
# define _NGPIOFIRQS _NGPIOEIRQS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_TIVA_GPIOF_IRQS)
|
|
|
|
# define TIVA_IRQ_GPIOF_0 (_NGPIOFIRQS + 0)
|
|
|
|
# define TIVA_IRQ_GPIOF_1 (_NGPIOFIRQS + 1)
|
|
|
|
# define TIVA_IRQ_GPIOF_2 (_NGPIOFIRQS + 2)
|
|
|
|
# define TIVA_IRQ_GPIOF_3 (_NGPIOFIRQS + 3)
|
|
|
|
# define TIVA_IRQ_GPIOF_4 (_NGPIOFIRQS + 4)
|
|
|
|
# define TIVA_IRQ_GPIOF_5 (_NGPIOFIRQS + 5)
|
|
|
|
# define TIVA_IRQ_GPIOF_6 (_NGPIOFIRQS + 6)
|
|
|
|
# define TIVA_IRQ_GPIOF_7 (_NGPIOFIRQS + 7)
|
|
|
|
# define _NGPIONIRQS (_NGPIOFIRQS + 8)
|
|
|
|
#else
|
2018-12-06 15:42:24 +01:00
|
|
|
# define _NGPIONIRQS _NGPIOFIRQS
|
2018-12-05 22:17:22 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_TIVA_GPIOP_IRQS)
|
|
|
|
# define TIVA_IRQ_GPIOP_0 (_NGPIONIRQS + 0)
|
|
|
|
# define TIVA_IRQ_GPIOP_1 (_NGPIONIRQS + 1)
|
|
|
|
# define TIVA_IRQ_GPIOP_2 (_NGPIONIRQS + 2)
|
|
|
|
# define TIVA_IRQ_GPIOP_3 (_NGPIONIRQS + 3)
|
|
|
|
# define TIVA_IRQ_GPIOP_4 (_NGPIONIRQS + 4)
|
|
|
|
# define TIVA_IRQ_GPIOP_5 (_NGPIONIRQS + 5)
|
|
|
|
# define TIVA_IRQ_GPIOP_6 (_NGPIONIRQS + 6)
|
|
|
|
# define TIVA_IRQ_GPIOP_7 (_NGPIONIRQS + 7)
|
|
|
|
# define _NGPIOPIRQS (_NGPIONIRQS + 8)
|
|
|
|
#else
|
|
|
|
# define _NGPIOPIRQS _NGPIONIRQS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_TIVA_GPIOQ_IRQS)
|
|
|
|
# define TIVA_IRQ_GPIOQ_0 (_NGPIOPIRQS + 0)
|
|
|
|
# define TIVA_IRQ_GPIOQ_1 (_NGPIOPIRQS + 1)
|
|
|
|
# define TIVA_IRQ_GPIOQ_2 (_NGPIOPIRQS + 2)
|
|
|
|
# define TIVA_IRQ_GPIOQ_3 (_NGPIOPIRQS + 3)
|
|
|
|
# define TIVA_IRQ_GPIOQ_4 (_NGPIOPIRQS + 4)
|
|
|
|
# define TIVA_IRQ_GPIOQ_5 (_NGPIOPIRQS + 5)
|
|
|
|
# define TIVA_IRQ_GPIOQ_6 (_NGPIOPIRQS + 6)
|
|
|
|
# define TIVA_IRQ_GPIOQ_7 (_NGPIOPIRQS + 7)
|
|
|
|
# define _NGPIOQIRQS (_NGPIOPIRQS + 8)
|
|
|
|
#else
|
|
|
|
# define _NGPIOQIRQS _NGPIOPIRQS
|
|
|
|
#endif
|
|
|
|
|
2018-12-06 15:42:24 +01:00
|
|
|
#define NR_GPIO_IRQS (_NGPIOQIRQS - NR_IRQS)
|
2018-12-05 22:17:22 +01:00
|
|
|
|
2014-03-09 16:21:06 +01:00
|
|
|
/************************************************************************************
|
|
|
|
* Public Types
|
|
|
|
************************************************************************************/
|
|
|
|
|
|
|
|
/************************************************************************************
|
|
|
|
* Public Data
|
|
|
|
************************************************************************************/
|
|
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/************************************************************************************
|
|
|
|
* Public Functions
|
|
|
|
************************************************************************************/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2014-03-09 16:26:29 +01:00
|
|
|
#endif /* __ARCH_ARM_INCLUDE_TIVA_TM4C_IRQ_H */
|
2014-03-09 16:21:06 +01:00
|
|
|
|