FD32M0P Microcontroller SDK
Loading...
Searching...
No Matches

Core Register type definitions. More...

Topics

 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...
struct  APSR_Type.b
struct  IPSR_Type.b
struct  xPSR_Type.b
struct  CONTROL_Type.b

Detailed Description

Core Register type definitions.


Data Structure Documentation

◆ APSR_Type

union APSR_Type

Union type to access the Application Program Status Register (APSR).

Data Fields
struct APSR_Type b

Structure used for bit access

uint32_t w

Type used for word access

struct APSR_Type.b b

Structure used for bit access

◆ IPSR_Type

union IPSR_Type

Union type to access the Interrupt Program Status Register (IPSR).

Data Fields
struct IPSR_Type b

Structure used for bit access

uint32_t w

Type used for word access

struct IPSR_Type.b b

Structure used for bit access

◆ xPSR_Type

union xPSR_Type

Union type to access the Special-Purpose Program Status Registers (xPSR).

Data Fields
struct xPSR_Type b

Structure used for bit access

uint32_t w

Type used for word access

struct xPSR_Type.b b

Structure used for bit access

◆ CONTROL_Type

union CONTROL_Type

Union type to access the Control Registers (CONTROL).

Data Fields
struct CONTROL_Type b

Structure used for bit access

uint32_t w

Type used for word access

struct CONTROL_Type.b b

Structure used for bit access

◆ APSR_Type.b

struct APSR_Type.b
Data Fields
uint32_t _reserved0:27

bit: 0..26 Reserved

uint32_t Q:1

bit: 27 Saturation condition flag

uint32_t V:1

bit: 28 Overflow condition code flag

uint32_t C:1

bit: 29 Carry condition code flag

uint32_t Z:1

bit: 30 Zero condition code flag

uint32_t N:1

bit: 31 Negative condition code flag

uint32_t _reserved0:27

bit: 0..26 Reserved

uint32_t Q:1

bit: 27 Saturation condition flag

uint32_t V:1

bit: 28 Overflow condition code flag

uint32_t C:1

bit: 29 Carry condition code flag

uint32_t Z:1

bit: 30 Zero condition code flag

uint32_t N:1

bit: 31 Negative condition code flag

◆ IPSR_Type.b

struct IPSR_Type.b
Data Fields
uint32_t ISR:9

bit: 0.. 8 Exception number

uint32_t _reserved0:23

bit: 9..31 Reserved

uint32_t ISR:9

bit: 0.. 8 Exception number

uint32_t _reserved0:23

bit: 9..31 Reserved

◆ xPSR_Type.b

struct xPSR_Type.b
Data Fields
uint32_t ISR:9

bit: 0.. 8 Exception number

uint32_t _reserved0:15

bit: 9..23 Reserved

uint32_t T:1

bit: 24 Thumb bit (read 0)

uint32_t IT:2

bit: 25..26 saved IT state (read 0)

uint32_t Q:1

bit: 27 Saturation condition flag

uint32_t V:1

bit: 28 Overflow condition code flag

uint32_t C:1

bit: 29 Carry condition code flag

uint32_t Z:1

bit: 30 Zero condition code flag

uint32_t N:1

bit: 31 Negative condition code flag

uint32_t ISR:9

bit: 0.. 8 Exception number

uint32_t _reserved0:15

bit: 9..23 Reserved

uint32_t T:1

bit: 24 Thumb bit (read 0)

uint32_t IT:2

bit: 25..26 saved IT state (read 0)

uint32_t Q:1

bit: 27 Saturation condition flag

uint32_t V:1

bit: 28 Overflow condition code flag

uint32_t C:1

bit: 29 Carry condition code flag

uint32_t Z:1

bit: 30 Zero condition code flag

uint32_t N:1

bit: 31 Negative condition code flag

◆ CONTROL_Type.b

struct CONTROL_Type.b
Data Fields
uint32_t nPRIV:1

bit: 0 Execution privilege in Thread mode

uint32_t SPSEL:1

bit: 1 Stack to be used

uint32_t FPCA:1

bit: 2 FP extension active flag

uint32_t _reserved0:29

bit: 3..31 Reserved

uint32_t nPRIV:1

bit: 0 Execution privilege in Thread mode

uint32_t SPSEL:1

bit: 1 Stack to be used

uint32_t FPCA:1

bit: 2 FP extension active flag

uint32_t _reserved0:29

bit: 3..31 Reserved