| CMSIS-Core (Cortex-A) CMSIS-Core support for Cortex-A processor-based devices |

Loading...
Searching...
No Matches
Data Fields
CPSR_Type Struct Reference
Core Register Access » Current Program Status Register (CPSR)

Bit field declaration for CPSR layout. More...

`#include <core_ca.h>`

## Data Fields
struct {
uint32_t M:5
| bit: 0.. 4 Mode field More...
uint32_t T:1
| bit: 5 Thumb execution state bit More...
uint32_t F:1
| bit: 6 FIQ mask bit More...
uint32_t I:1
| bit: 7 IRQ mask bit More...
uint32_t A:1
| bit: 8 Asynchronous abort mask bit More...
uint32_t E:1
| bit: 9 Endianness execution state bit More...
uint32_t IT1:6
| bit: 10..15 If-Then execution state bits 2-7 More...
uint32_t GE:4
| bit: 16..19 Greater than or Equal flags More...
uint32_t J:1
| bit: 24 Jazelle bit More...
uint32_t IT0:2
| bit: 25..26 If-Then execution state bits 0-1 More...
uint32_t Q:1
| bit: 27 Saturation condition flag More...
uint32_t V:1
| bit: 28 Overflow condition code flag More...
uint32_t C:1
| bit: 29 Carry condition code flag More...
uint32_t Z:1
| bit: 30 Zero condition code flag More...
uint32_t N:1
| bit: 31 Negative condition code flag More...
} | b
| Structure used for bit access.
uint32_t | w
| Type used for word access.

## Description

Bit field declaration for CPSR layout.

## Field Documentation

## ◆ A

uint32_t CPSR_Type::A

bit: 8 Asynchronous abort mask bit

## ◆

struct { ... } CPSR_Type::b

Structure used for bit access.

## ◆ C

uint32_t CPSR_Type::C

bit: 29 Carry condition code flag

## ◆ E

uint32_t CPSR_Type::E

bit: 9 Endianness execution state bit

## ◆ F

uint32_t CPSR_Type::F

bit: 6 FIQ mask bit

## ◆ GE

uint32_t CPSR_Type::GE

bit: 16..19 Greater than or Equal flags

## ◆ I

uint32_t CPSR_Type::I

bit: 7 IRQ mask bit

## ◆ IT0

uint32_t CPSR_Type::IT0

bit: 25..26 If-Then execution state bits 0-1

## ◆ IT1

uint32_t CPSR_Type::IT1

bit: 10..15 If-Then execution state bits 2-7

## ◆ J

uint32_t CPSR_Type::J

bit: 24 Jazelle bit

## ◆ M

uint32_t CPSR_Type::M

bit: 0.. 4 Mode field

## ◆ N

uint32_t CPSR_Type::N

bit: 31 Negative condition code flag

## ◆ Q

uint32_t CPSR_Type::Q

bit: 27 Saturation condition flag

## ◆ T

uint32_t CPSR_Type::T

bit: 5 Thumb execution state bit

## ◆ V

uint32_t CPSR_Type::V

bit: 28 Overflow condition code flag

## ◆ w

uint32_t CPSR_Type::w

Type used for word access.

## ◆ Z

uint32_t CPSR_Type::Z

bit: 30 Zero condition code flag