NHS31xx SW API

Detailed Description

Data Structures

union  APSR_Type
 
struct  APSR_Type.b
 
union  IPSR_Type
 
struct  IPSR_Type.b
 
union  xPSR_Type
 
struct  xPSR_Type.b
 
union  CONTROL_Type
 
struct  CONTROL_Type.b
 

Data Structure Documentation

◆ APSR_Type

union APSR_Type
Data Fields
struct APSR_Type b

Structure used for bit access

uint32_t w

Type used for word 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

◆ IPSR_Type

union IPSR_Type
Data Fields
struct IPSR_Type b

Structure used for bit access

uint32_t w

Type used for word access

◆ 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

◆ xPSR_Type

union xPSR_Type
Data Fields
struct xPSR_Type b

Structure used for bit access

uint32_t w

Type used for word access

◆ 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

◆ CONTROL_Type

union CONTROL_Type
Data Fields
struct CONTROL_Type b

Structure used for bit access

uint32_t w

Type used for word access

◆ 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