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

Macros

#define SCB_CCR_STKALIGN   (1 << 9)
 STKALIGN set to zero to break things :) More...
 
#define SCB_CCR_BFHFNMIGN   (1 << 8)
 BFHFNMIGN set to attempt ignoring faults in handlers. More...
 
#define SCB_CCR_DIV_0_TRP   (1 << 4)
 DIV_0_TRP set to trap on divide by zero. More...
 
#define SCB_CCR_UNALIGN_TRP   (1 << 3)
 UNALIGN_TRP set to trap on unaligned. More...
 
#define SCB_CCR_USERSETMPEND   (1 << 1)
 USERSETMPEND set to allow unprivileged access to STIR. More...
 
#define SCB_CCR_NONBASETHRDENA   (1 << 0)
 NONBASETHRDENA set to allow non base priority threads. More...
 
#define SCB_CCR_BP   (1 << 18)
 BP set to enable branch predictor. More...
 
#define SCB_CCR_IC   (1 << 17)
 IC set to enable instruction cache. More...
 
#define SCB_CCR_DC   (1 << 16)
 DC set to enable data cache. More...
 

Detailed Description

Macro Definition Documentation

◆ SCB_CCR_BFHFNMIGN

#define SCB_CCR_BFHFNMIGN   (1 << 8)

BFHFNMIGN set to attempt ignoring faults in handlers.

Definition at line 351 of file scb.h.

◆ SCB_CCR_BP

#define SCB_CCR_BP   (1 << 18)

BP set to enable branch predictor.

Definition at line 372 of file scb.h.

◆ SCB_CCR_DC

#define SCB_CCR_DC   (1 << 16)

DC set to enable data cache.

Definition at line 376 of file scb.h.

◆ SCB_CCR_DIV_0_TRP

#define SCB_CCR_DIV_0_TRP   (1 << 4)

DIV_0_TRP set to trap on divide by zero.

Definition at line 354 of file scb.h.

◆ SCB_CCR_IC

#define SCB_CCR_IC   (1 << 17)

IC set to enable instruction cache.

Definition at line 374 of file scb.h.

◆ SCB_CCR_NONBASETHRDENA

#define SCB_CCR_NONBASETHRDENA   (1 << 0)

NONBASETHRDENA set to allow non base priority threads.

Definition at line 366 of file scb.h.

◆ SCB_CCR_STKALIGN

#define SCB_CCR_STKALIGN   (1 << 9)

STKALIGN set to zero to break things :)

Definition at line 346 of file scb.h.

◆ SCB_CCR_UNALIGN_TRP

#define SCB_CCR_UNALIGN_TRP   (1 << 3)

UNALIGN_TRP set to trap on unaligned.

Definition at line 358 of file scb.h.

◆ SCB_CCR_USERSETMPEND

#define SCB_CCR_USERSETMPEND   (1 << 1)

USERSETMPEND set to allow unprivileged access to STIR.

Definition at line 364 of file scb.h.