CC35xxDriverLibrary
cc35xx.h
Go to the documentation of this file.
1 /******************************************************************************
2 * Filename: cc35xx.h
3 *
4 * Description: Collection of architecture definitions for CC35xx devices
5 *
6 * Copyright (c) 2023-2025 Texas Instruments Incorporated
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions are met:
10 *
11 * 1) Redistributions of source code must retain the above copyright notice,
12 * this list of conditions and the following disclaimer.
13 *
14 * 2) Redistributions in binary form must reproduce the above copyright notice,
15 * this list of conditions and the following disclaimer in the documentation
16 * and/or other materials provided with the distribution.
17 *
18 * 3) Neither the name of the copyright holder nor the names of its
19 * contributors may be used to endorse or promote products derived from this
20 * software without specific prior written permission.
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
26 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32 * POSSIBILITY OF SUCH DAMAGE.
33 *
34 ******************************************************************************/
35 #ifndef __CC35XX_H__
36 #define __CC35XX_H__
37 
38 /* IRQ numbers */
39 typedef enum IRQn
40 {
41  NonMaskableInt_IRQn = -14, /* 2 Non Maskable Interrupt */
42  HardFault_IRQn = -13, /* 3 Hard Fault Interrupt */
43  MemoryManagement_IRQn = -12, /* 4 Memory Management Interrupt */
44  BusFault_IRQn = -11, /* 5 Bus Fault Interrupt */
45  UsageFault_IRQn = -10, /* 6 Usage Fault Interrupt */
46  SVCall_IRQn = -5, /* 11 SV Call Interrupt */
47  DebugMonitor_IRQn = -4, /* 12 Debug Monitor Interrupt */
48  PendSV_IRQn = -2, /* 14 Pend SV Interrupt */
49  SysTick_IRQn = -1, /* 15 System Tick Interrupt */
96  // Wakeup events
104 } IRQn_Type;
105 
106 /* Architecture-specific constants. TODO: Update for CC35XX */
107 #define __SAUREGION_PRESENT 0x0001U /* SAU present */
108 #define __DSP_PRESENT 0x0001U /* DSP extension present */
109 #define __Vendor_SysTickConfig 0x0000U /* Set to 1 if different SysTick Config is used */
110 #define __CM33_REV 0x0001U /* Core revision */
111 #define __MPU_PRESENT 0x0001U /* MPU present or not */
112 #define __FPU_PRESENT 0x0001U /* FPU present or not */
113 #define __VTOR_PRESENT 0x0001U /* VTOR present */
114 #define __NVIC_PRIO_BITS 0x0004U /* 4 NVIC priority bits */
115 
116 #endif // __CC35XX_H__
Definition: cc35xx.h:55
Definition: cc35xx.h:46
Definition: cc35xx.h:74
Definition: cc35xx.h:101
Definition: cc35xx.h:72
Definition: cc35xx.h:53
Definition: cc35xx.h:90
Definition: cc35xx.h:70
Definition: cc35xx.h:86
Definition: cc35xx.h:58
Definition: cc35xx.h:62
Definition: cc35xx.h:50
enum IRQn IRQn_Type
Definition: cc35xx.h:61
Definition: cc35xx.h:69
Definition: cc35xx.h:93
Definition: cc35xx.h:64
Definition: cc35xx.h:48
Definition: cc35xx.h:42
IRQn
Definition: cc35xx.h:39
Definition: cc35xx.h:59
Definition: cc35xx.h:79
Definition: cc35xx.h:56
Definition: cc35xx.h:85
Definition: cc35xx.h:92
Definition: cc35xx.h:73
Definition: cc35xx.h:63
Definition: cc35xx.h:102
Definition: cc35xx.h:81
Definition: cc35xx.h:100
Definition: cc35xx.h:89
Definition: cc35xx.h:60
Definition: cc35xx.h:87
Definition: cc35xx.h:41
Definition: cc35xx.h:97
Definition: cc35xx.h:49
Definition: cc35xx.h:95
Definition: cc35xx.h:99
Definition: cc35xx.h:45
Definition: cc35xx.h:54
Definition: cc35xx.h:91
Definition: cc35xx.h:88
Definition: cc35xx.h:84
Definition: cc35xx.h:52
Definition: cc35xx.h:80
Definition: cc35xx.h:94
Definition: cc35xx.h:83
Definition: cc35xx.h:51
Definition: cc35xx.h:57
Definition: cc35xx.h:98
Definition: cc35xx.h:44
Definition: cc35xx.h:68
Definition: cc35xx.h:47
Definition: cc35xx.h:43
Definition: cc35xx.h:82