NUC029FAE_BSP V3.01.004
The Board Support Package for NUC029FAE MCU
Modules | Data Structures
Status and Control Registers

Core Register type definitions. More...

Collaboration diagram for Status and Control Registers:

Modules

 Nested Vectored Interrupt Controller (NVIC)
 Type definitions for the NVIC Registers.
 

Data Structures

union  APSR_Type
 Union type to access the Application Program Status Register (APSR). More...
 
union  IPSR_Type
 Union type to access the Interrupt Program Status Register (IPSR). More...
 
union  xPSR_Type
 Union type to access the Special-Purpose Program Status Registers (xPSR). More...
 
union  CONTROL_Type
 Union type to access the Control Registers (CONTROL). More...
 
#define APSR_N_Pos   31U
 
#define APSR_N_Msk   (1UL << APSR_N_Pos)
 
#define APSR_Z_Pos   30U
 
#define APSR_Z_Msk   (1UL << APSR_Z_Pos)
 
#define APSR_C_Pos   29U
 
#define APSR_C_Msk   (1UL << APSR_C_Pos)
 
#define APSR_V_Pos   28U
 
#define APSR_V_Msk   (1UL << APSR_V_Pos)
 
#define IPSR_ISR_Pos   0U
 
#define IPSR_ISR_Msk   (0x1FFUL /*<< IPSR_ISR_Pos*/)
 
#define xPSR_N_Pos   31U
 
#define xPSR_N_Msk   (1UL << xPSR_N_Pos)
 
#define xPSR_Z_Pos   30U
 
#define xPSR_Z_Msk   (1UL << xPSR_Z_Pos)
 
#define xPSR_C_Pos   29U
 
#define xPSR_C_Msk   (1UL << xPSR_C_Pos)
 
#define xPSR_V_Pos   28U
 
#define xPSR_V_Msk   (1UL << xPSR_V_Pos)
 
#define xPSR_T_Pos   24U
 
#define xPSR_T_Msk   (1UL << xPSR_T_Pos)
 
#define xPSR_ISR_Pos   0U
 
#define xPSR_ISR_Msk   (0x1FFUL /*<< xPSR_ISR_Pos*/)
 
#define CONTROL_SPSEL_Pos   1U
 
#define CONTROL_SPSEL_Msk   (1UL << CONTROL_SPSEL_Pos)
 

Detailed Description

Core Register type definitions.

Macro Definition Documentation

◆ APSR_C_Msk

#define APSR_C_Msk   (1UL << APSR_C_Pos)

APSR: C Mask

Definition at line 268 of file core_cm0.h.

◆ APSR_C_Pos

#define APSR_C_Pos   29U

APSR: C Position

Definition at line 267 of file core_cm0.h.

◆ APSR_N_Msk

#define APSR_N_Msk   (1UL << APSR_N_Pos)

APSR: N Mask

Definition at line 262 of file core_cm0.h.

◆ APSR_N_Pos

#define APSR_N_Pos   31U

APSR: N Position

Definition at line 261 of file core_cm0.h.

◆ APSR_V_Msk

#define APSR_V_Msk   (1UL << APSR_V_Pos)

APSR: V Mask

Definition at line 271 of file core_cm0.h.

◆ APSR_V_Pos

#define APSR_V_Pos   28U

APSR: V Position

Definition at line 270 of file core_cm0.h.

◆ APSR_Z_Msk

#define APSR_Z_Msk   (1UL << APSR_Z_Pos)

APSR: Z Mask

Definition at line 265 of file core_cm0.h.

◆ APSR_Z_Pos

#define APSR_Z_Pos   30U

APSR: Z Position

Definition at line 264 of file core_cm0.h.

◆ CONTROL_SPSEL_Msk

#define CONTROL_SPSEL_Msk   (1UL << CONTROL_SPSEL_Pos)

CONTROL: SPSEL Mask

Definition at line 347 of file core_cm0.h.

◆ CONTROL_SPSEL_Pos

#define CONTROL_SPSEL_Pos   1U

CONTROL: SPSEL Position

Definition at line 346 of file core_cm0.h.

◆ IPSR_ISR_Msk

#define IPSR_ISR_Msk   (0x1FFUL /*<< IPSR_ISR_Pos*/)

IPSR: ISR Mask

Definition at line 289 of file core_cm0.h.

◆ IPSR_ISR_Pos

#define IPSR_ISR_Pos   0U

IPSR: ISR Position

Definition at line 288 of file core_cm0.h.

◆ xPSR_C_Msk

#define xPSR_C_Msk   (1UL << xPSR_C_Pos)

xPSR: C Mask

Definition at line 319 of file core_cm0.h.

◆ xPSR_C_Pos

#define xPSR_C_Pos   29U

xPSR: C Position

Definition at line 318 of file core_cm0.h.

◆ xPSR_ISR_Msk

#define xPSR_ISR_Msk   (0x1FFUL /*<< xPSR_ISR_Pos*/)

xPSR: ISR Mask

Definition at line 328 of file core_cm0.h.

◆ xPSR_ISR_Pos

#define xPSR_ISR_Pos   0U

xPSR: ISR Position

Definition at line 327 of file core_cm0.h.

◆ xPSR_N_Msk

#define xPSR_N_Msk   (1UL << xPSR_N_Pos)

xPSR: N Mask

Definition at line 313 of file core_cm0.h.

◆ xPSR_N_Pos

#define xPSR_N_Pos   31U

xPSR: N Position

Definition at line 312 of file core_cm0.h.

◆ xPSR_T_Msk

#define xPSR_T_Msk   (1UL << xPSR_T_Pos)

xPSR: T Mask

Definition at line 325 of file core_cm0.h.

◆ xPSR_T_Pos

#define xPSR_T_Pos   24U

xPSR: T Position

Definition at line 324 of file core_cm0.h.

◆ xPSR_V_Msk

#define xPSR_V_Msk   (1UL << xPSR_V_Pos)

xPSR: V Mask

Definition at line 322 of file core_cm0.h.

◆ xPSR_V_Pos

#define xPSR_V_Pos   28U

xPSR: V Position

Definition at line 321 of file core_cm0.h.

◆ xPSR_Z_Msk

#define xPSR_Z_Msk   (1UL << xPSR_Z_Pos)

xPSR: Z Mask

Definition at line 316 of file core_cm0.h.

◆ xPSR_Z_Pos

#define xPSR_Z_Pos   30U

xPSR: Z Position

Definition at line 315 of file core_cm0.h.