CC27xxDriverLibrary
cc27xx.h
Go to the documentation of this file.
1 /******************************************************************************
2 * Filename: cc27xx.h
3 *
4 * Description: Collection of architecture definitions for CC27xx devices
5 *
6 // ##### LICENSE HEADER #####
7 *
8 ******************************************************************************/
9 #ifndef __CC27XX_H__
10 #define __CC27XX_H__
11 
12 /* IRQ numbers */
13 typedef enum IRQn
14 {
15  NonMaskableInt_IRQn = -14, /* 2 Non Maskable Interrupt */
16  HardFault_IRQn = -13, /* 3 Hard Fault Interrupt */
17  MemoryManagement_IRQn = -12, /* 4 Memory Management Interrupt */
18  BusFault_IRQn = -11, /* 5 Bus Fault Interrupt */
19  UsageFault_IRQn = -10, /* 6 Usage Fault Interrupt */
20  SecureFault_IRQn = -9, /* 7 Secure Fault Interrupt */
21  SVCall_IRQn = -5, /* 11 SV Call Interrupt */
22  DebugMonitor_IRQn = -4, /* 12 Debug Monitor Interrupt */
23  PendSV_IRQn = -2, /* 14 Pend SV Interrupt */
24  SysTick_IRQn = -1, /* 15 System Tick Interrupt */
25  CPUIRQ0_IRQn = 0, /* 16 IRQ0: Configurable source controlled by
26  EVTSVT.CPUIRQ0SEL */
27  CPUIRQ1_IRQn = 1, /* 17 IRQ1: Configurable source controlled by
28  EVTSVT.CPUIRQ1SEL */
29  CPUIRQ2_IRQn = 2, /* 18 IRQ2: Configurable source controlled by
30  EVTSVT.CPUIRQ2SEL */
31  CPUIRQ3_IRQn = 3, /* 19 IRQ3: Configurable source controlled by
32  EVTSVT.CPUIRQ3SEL */
33  CPUIRQ4_IRQn = 4, /* 20 IRQ4: Configurable source controlled by
34  EVTSVT.CPUIRQ4SEL */
35  GPIO_COMB_IRQn = 5, /* 21 GPIO combined wake up interrupt,
36  interrupt flags can be found here
37  GPIO:MIS */
38  LRFD_IRQ0_IRQn = 6, /* 22 LRFD combined event, interrupt flags can
39  be found here LRFDDBELL:MIS0 */
40  LRFD_IRQ1_IRQn = 7, /* 23 LRFD combined event, interrupt flags can
41  be found here LRFDDBELL:MIS1 */
42  DMA_DONE_COMB_IRQn = 8, /* 24 DMA combined done interrupt,
43  corresponding flags can be found here
44  DMA:REQDONE */
45  AES_COMB_IRQn = 9, /* 25 AES accelerator combined interrupt
46  request, interrupt flags can be found
47  here AES:MIS */
48  SPI0_COMB_IRQn = 10, /* 26 SPI0 combined interrupt request,
49  interrupt flags can be found here
50  SPI0:MIS */
51  UART0_COMB_IRQn = 11, /* 27 UART0 combined interrupt, interrupt flags
52  are found here UART0:MIS */
53  I2C0_IRQ_IRQn = 12, /* 28 Interrupt event from I2C0, interrupt
54  flags can be found here I2C0:MIS */
55  LGPT0_COMB_IRQn = 13, /* 29 LGPT0 combined interrupt, interrupt flags
56  are found here LGPT0:MIS */
57  LGPT1_COMB_IRQn = 14, /* 30 LGPT1 combined interrupt, interrupt flags
58  are found here LGPT1:MIS */
59  ADC_COMB_IRQn = 15, /* 31 ADC combined interrupt request, interrupt
60  flags can be found here ADC:MIS0 */
61  CPUIRQ16_IRQn = 16, /* 32 IRQ16: Configurable source controlled by
62  EVTSVT.CPUIRQ16SEL */
63  CPUIRQ17_IRQn = 17, /* 33 IRQ17: Configurable source controlled by
64  EVTSVT.CPUIRQ17SEL */
65  LGPT2_COMB_IRQn = 18, /* 34 LGPT2 combined interrupt, interrupt flags
66  are found here LGPT2:MIS */
67  LGPT3_COMB_IRQn = 19, /* 35 LGPT3 combined interrupt, interrupt flags
68  are found here LGPT3:MIS */
69  I2S_IRQ_IRQn = 20, /* 36 I2S interrupt event, controlled by
70  I2S:IRQMASK */
71  CAN_IRQ_IRQn = 21, /* 37 MCAN interrupt event, interrupt flags can
72  be found here MCAN:MIS0 */
73  UART1_COMB_IRQn = 22, /* 38 UART1 combined interrupt, interrupt flags
74  are found here UART1:MIS */
75  SPI1_COMB_IRQn = 23, /* 39 SPI1 combined interrupt request,
76  interrupt flags can be found here
77  SPI1:MIS */
78  APU_IRQ_IRQn = 24, /* 40 APU IRQ */
79  HSM_SEC_IRQ_IRQn = 25, /* 41 HSM Secure IRQ */
80  HSM_NONSEC_IRQ_IRQn = 26, /* 42 HSM Non-secure IRQ */
81  HSM_OTP_IRQ_IRQn = 27, /* 43 HSM OTP IRQ */
82  AON_PMU_COMB_IRQn = 28, /* 44 PMU combined interrupt request for
83  BATMON, interrupt flags can be found here
84  PMUD:EVENT */
85  AON_CKM_COMB_IRQn = 29, /* 45 CKMD combined interrupt request,
86  interrupt flags can be found here
87  CKMD:MIS */
88  AON_RTC_COMB_IRQn = 30, /* 46 AON_RTC event, controlled by the
89  RTC:IMASK setting */
90  AON_LPCMP_IRQ_IRQn = 31, /* 47 AON LPCMP interrupt, controlled by
91  SYS0:LPCMPCFG */
92  AON_IOC_COMB_IRQn = 32, /* 48 IOC synchronous combined event,
93  controlled by IOC:EVTCFG */
94  SW0_IRQn = 33, /* 49 Software Triggered Interrupt 0 */
95  SW1_IRQn = 34, /* 50 Software Triggered Interrupt 1 */
96 } IRQn_Type;
97 
98 /* Architecture-specific constants */
99 #define __SAUREGION_PRESENT 0x0001U /* SAU present */
100 #define __DSP_PRESENT 0x0001U /* DSP extension present */
101 #define __Vendor_SysTickConfig 0x0000U /* Set to 1 if different SysTick Config is used */
102 #define __CM33_REV 0x0001U /* Core revision */
103 #define __MPU_PRESENT 0x0001U /* MPU present or not */
104 #define __FPU_PRESENT 0x0001U /* FPU present or not */
105 #define __VTOR_PRESENT 0x0001U /* VTOR present */
106 #define __NVIC_PRIO_BITS 0x0004U /* 4 NVIC priority bits */
107 
108 #endif // #ifndef __CC27XX_H__
Definition: cc27xx.h:80
Definition: cc27xx.h:38
Definition: cc27xx.h:73
Definition: cc27xx.h:63
Definition: cc27xx.h:78
Definition: cc27xx.h:22
Definition: cc27xx.h:61
Definition: cc27xx.h:51
Definition: cc27xx.h:48
Definition: cc27xx.h:25
Definition: cc27xx.h:75
Definition: cc27xx.h:90
Definition: cc27xx.h:65
Definition: cc27xx.h:59
Definition: cc27xx.h:21
Definition: cc27xx.h:81
Definition: cc27xx.h:17
enum IRQn IRQn_Type
Definition: cc27xx.h:82
Definition: cc27xx.h:23
Definition: cc27xx.h:33
Definition: cc27xx.h:95
Definition: cc27xx.h:16
Definition: cc27xx.h:24
Definition: cc27xx.h:79
Definition: cc27xx.h:29
Definition: cc27xx.h:15
Definition: cc27xx.h:69
Definition: cc27xx.h:31
Definition: cc27xx.h:71
Definition: cc27xx.h:67
IRQn
Definition: cc27xx.h:13
Definition: cc27xx.h:40
Definition: cc27xx.h:19
Definition: cc27xx.h:88
Definition: cc27xx.h:92
Definition: cc27xx.h:55
Definition: cc27xx.h:94
Definition: cc27xx.h:35
Definition: cc27xx.h:57
Definition: cc27xx.h:18
Definition: cc27xx.h:20
Definition: cc27xx.h:85
Definition: cc27xx.h:27
Definition: cc27xx.h:53
Definition: cc27xx.h:42
Definition: cc27xx.h:45