Loading...
Searching...
No Matches
CMSIS Definitions

Detailed Description

Macros

#define __CM3_REV   0x0200
 Configuration of the Cortex-M3 Processor and Core Peripherals.
 
#define __MPU_PRESENT   1
 CC2538 does provide a MPU.
 
#define __NVIC_PRIO_BITS   3
 CC2538 uses 3 Bits for the Priority Levels.
 
#define __Vendor_SysTickConfig   0
 Set to 1 if different SysTick Config is used.
 
enum  IRQn {
  ResetHandler_IRQn = -15 , NonMaskableInt_IRQn = -14 , HardFault_IRQn = -13 , MemoryManagement_IRQn = -12 ,
  BusFault_IRQn = -11 , UsageFault_IRQn = -10 , SVCall_IRQn = - 5 , DebugMonitor_IRQn = - 4 ,
  PendSV_IRQn = - 2 , SysTick_IRQn = - 1 , GPIO_PORT_A_IRQn = 0 , GPIO_PORT_B_IRQn = 1 ,
  GPIO_PORT_C_IRQn = 2 , GPIO_PORT_D_IRQn = 3 , UART0_IRQn = 5 , UART1_IRQn = 6 ,
  SSI0_IRQn = 7 , I2C_IRQn = 8 , ADC_IRQn = 14 , WDT_IRQn = 18 ,
  GPTIMER_0A_IRQn = 19 , GPTIMER_0B_IRQn = 20 , GPTIMER_1A_IRQn = 21 , GPTIMER_1B_IRQn = 22 ,
  GPTIMER_2A_IRQn = 23 , GPTIMER_2B_IRQn = 24 , ADC_CMP_IRQn = 25 , RF_RXTX_ALT_IRQn = 26 ,
  RF_ERR_ALT_IRQn = 27 , SYS_CTRL_IRQn = 28 , FLASH_CTRL_IRQn = 29 , AES_ALT_IRQn = 30 ,
  PKA_ALT_IRQn = 31 , SM_TIMER_ALT_IRQn = 32 , MAC_TIMER_ALT_IRQn = 33 , SSI1_IRQn = 34 ,
  GPTIMER_3A_IRQn = 35 , GPTIMER_3B_IRQn = 36 , UDMA_IRQn = 46 , UDMA_ERR_IRQn = 47 ,
  USB_IRQn = 140 , RF_RXTX_IRQn = 141 , RF_ERR_IRQn = 142 , AES_IRQn = 143 ,
  PKA_IRQn = 144 , SM_TIMER_IRQn = 145 , MACTIMER_IRQn = 146 , PERIPH_COUNT_IRQn = (MACTIMER_IRQn + 1)
}
 Interrupt Number Definition. More...
 
typedef enum IRQn IRQn_Type
 Interrupt Number Definition.
 

Cortex-M3 core interrupt handlers

void Reset_Handler (void)
 Reset handler.
 
void NMI_Handler (void)
 NMI handler.
 
void HardFault_Handler (void)
 Hard fault handler.
 
void MemManage_Handler (void)
 Memory management handler.
 
void BusFault_Handler (void)
 Bus fault handler.
 
void UsageFault_Handler (void)
 Usage fault handler.
 
void SVC_Handler (void)
 SVC handler.
 
void DebugMon_Handler (void)
 Debug monitor handler.
 
void PendSV_Handler (void)
 PendSV handler.
 
void SysTick_Handler (void)
 SysTick handler.
 

Macro Definition Documentation

◆ __CM3_REV

#define __CM3_REV   0x0200

Configuration of the Cortex-M3 Processor and Core Peripherals.

CC2538 core revision number ([15:8] revision number, [7:0] patch number)

Definition at line 110 of file cc2538.h.

◆ __MPU_PRESENT

#define __MPU_PRESENT   1

CC2538 does provide a MPU.

Definition at line 111 of file cc2538.h.

◆ __NVIC_PRIO_BITS

#define __NVIC_PRIO_BITS   3

CC2538 uses 3 Bits for the Priority Levels.

Definition at line 112 of file cc2538.h.

◆ __Vendor_SysTickConfig

#define __Vendor_SysTickConfig   0

Set to 1 if different SysTick Config is used.

Definition at line 113 of file cc2538.h.

Enumeration Type Documentation

◆ IRQn

enum IRQn

Interrupt Number Definition.

Enumerator
ResetHandler_IRQn 

1 Reset Handler

NonMaskableInt_IRQn 

2 Non Maskable Interrupt

HardFault_IRQn 

3 Cortex-M3 Hard Fault Interrupt

MemoryManagement_IRQn 

4 Cortex-M3 Memory Management Interrupt

BusFault_IRQn 

5 Cortex-M3 Bus Fault Interrupt

UsageFault_IRQn 

6 Cortex-M3 Usage Fault Interrupt

SVCall_IRQn 

11 Cortex-M3 SV Call Interrupt

DebugMonitor_IRQn 

12 Cortex-M3 Debug Monitor Interrupt

PendSV_IRQn 

14 Cortex-M3 Pend SV Interrupt

SysTick_IRQn 

15 Cortex-M3 System Tick Interrupt

GPIO_PORT_A_IRQn 

GPIO port A

GPIO_PORT_B_IRQn 

GPIO port B

GPIO_PORT_C_IRQn 

GPIO port C

GPIO_PORT_D_IRQn 

GPIO port D

UART0_IRQn 

UART0

UART1_IRQn 

UART1

SSI0_IRQn 

SSI0

I2C_IRQn 

I2C

ADC_IRQn 

ADC

WDT_IRQn 

Watchdog Timer

GPTIMER_0A_IRQn 

GPTimer 0A

GPTIMER_0B_IRQn 

GPTimer 0B

GPTIMER_1A_IRQn 

GPTimer 1A

GPTIMER_1B_IRQn 

GPTimer 1B

GPTIMER_2A_IRQn 

GPTimer 2A

GPTIMER_2B_IRQn 

GPTimer 2B

ADC_CMP_IRQn 

Analog Comparator

RF_RXTX_ALT_IRQn 

RF TX/RX (Alternate)

RF_ERR_ALT_IRQn 

RF Error (Alternate)

SYS_CTRL_IRQn 

System Control

FLASH_CTRL_IRQn 

Flash memory control

AES_ALT_IRQn 

AES (Alternate)

PKA_ALT_IRQn 

PKA (Alternate)

SM_TIMER_ALT_IRQn 

SM Timer (Alternate)

MAC_TIMER_ALT_IRQn 

MAC Timer (Alternate)

SSI1_IRQn 

SSI1

GPTIMER_3A_IRQn 

GPTimer 3A

GPTIMER_3B_IRQn 

GPTimer 3B

UDMA_IRQn 

uDMA software

UDMA_ERR_IRQn 

uDMA error

USB_IRQn 

USB

RF_RXTX_IRQn 

RF Core Rx/Tx

RF_ERR_IRQn 

RF Core Error

AES_IRQn 

AES

PKA_IRQn 

PKA

SM_TIMER_IRQn 

SM Timer

MACTIMER_IRQn 

MAC Timer

PERIPH_COUNT_IRQn 

Number of peripheral IDs.

Definition at line 34 of file cc2538.h.