libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
Collaboration diagram for SCB_ICSR Values:

Macros

#define SCB_ICSR_NMIPENDSET   (1 << 31)
 NMIPENDSET: NMI set-pending bit. More...
 
#define SCB_ICSR_PENDSVSET   (1 << 28)
 PENDSVSET: PendSV set-pending bit. More...
 
#define SCB_ICSR_PENDSVCLR   (1 << 27)
 PENDSVCLR: PendSV clear-pending bit. More...
 
#define SCB_ICSR_PENDSTSET   (1 << 26)
 PENDSTSET: SysTick exception set-pending bit. More...
 
#define SCB_ICSR_PENDSTCLR   (1 << 25)
 PENDSTCLR: SysTick exception clear-pending bit. More...
 
#define SCB_ICSR_ISRPREEMPT   (1 << 23)
 Bit 23: reserved for debug - reads as 0 when not in debug mode. More...
 
#define SCB_ICSR_ISRPENDING   (1 << 22)
 ISRPENDING: Interrupt pending flag, excluding NMI and Faults. More...
 
#define SCB_ICSR_VECTPENDING_LSB   12
 VECTPENDING[21:12] Pending vector. More...
 
#define SCB_ICSR_VECTPENDING   (0x1FF << SCB_ICSR_VECTPENDING_LSB)
 
#define SCB_ICSR_RETOBASE   (1 << 11)
 RETOBASE: Return to base level. More...
 
#define SCB_ICSR_VECTACTIVE_LSB   0
 VECTACTIVE[8:0] Active vector. More...
 
#define SCB_ICSR_VECTACTIVE   (0x1FF << SCB_ICSR_VECTACTIVE_LSB)
 

Detailed Description

Macro Definition Documentation

◆ SCB_ICSR_ISRPENDING

#define SCB_ICSR_ISRPENDING   (1 << 22)

ISRPENDING: Interrupt pending flag, excluding NMI and Faults.

Definition at line 247 of file scb.h.

◆ SCB_ICSR_ISRPREEMPT

#define SCB_ICSR_ISRPREEMPT   (1 << 23)

Bit 23: reserved for debug - reads as 0 when not in debug mode.

Definition at line 245 of file scb.h.

◆ SCB_ICSR_NMIPENDSET

#define SCB_ICSR_NMIPENDSET   (1 << 31)

NMIPENDSET: NMI set-pending bit.

Definition at line 233 of file scb.h.

◆ SCB_ICSR_PENDSTCLR

#define SCB_ICSR_PENDSTCLR   (1 << 25)

PENDSTCLR: SysTick exception clear-pending bit.

Definition at line 242 of file scb.h.

◆ SCB_ICSR_PENDSTSET

#define SCB_ICSR_PENDSTSET   (1 << 26)

PENDSTSET: SysTick exception set-pending bit.

Definition at line 240 of file scb.h.

◆ SCB_ICSR_PENDSVCLR

#define SCB_ICSR_PENDSVCLR   (1 << 27)

PENDSVCLR: PendSV clear-pending bit.

Definition at line 238 of file scb.h.

◆ SCB_ICSR_PENDSVSET

#define SCB_ICSR_PENDSVSET   (1 << 28)

PENDSVSET: PendSV set-pending bit.

Definition at line 236 of file scb.h.

◆ SCB_ICSR_RETOBASE

#define SCB_ICSR_RETOBASE   (1 << 11)

RETOBASE: Return to base level.

Definition at line 252 of file scb.h.

◆ SCB_ICSR_VECTACTIVE

#define SCB_ICSR_VECTACTIVE   (0x1FF << SCB_ICSR_VECTACTIVE_LSB)

Definition at line 256 of file scb.h.

◆ SCB_ICSR_VECTACTIVE_LSB

#define SCB_ICSR_VECTACTIVE_LSB   0

VECTACTIVE[8:0] Active vector.

Definition at line 255 of file scb.h.

◆ SCB_ICSR_VECTPENDING

#define SCB_ICSR_VECTPENDING   (0x1FF << SCB_ICSR_VECTPENDING_LSB)

Definition at line 250 of file scb.h.

◆ SCB_ICSR_VECTPENDING_LSB

#define SCB_ICSR_VECTPENDING_LSB   12

VECTPENDING[21:12] Pending vector.

Definition at line 249 of file scb.h.