CMSIS2000  0.0.7
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CPSR_Type Union Reference

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

#include <core_7tdmi.h>

Data Fields

struct {
   uint32_t   _reserved0:20
   uint32_t   C:1
   uint32_t   F:1
   uint32_t   I:1
   uint32_t   M:5
   uint32_t   N:1
   uint32_t   T:1
   uint32_t   V:1
   uint32_t   Z:1
b
uint32_t w

Detailed Description

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

Definition at line 127 of file core_7tdmi.h.

Field Documentation

uint32_t CPSR_Type::_reserved0

bit: 8..27 Reserved

Definition at line 137 of file core_7tdmi.h.

struct { ... } CPSR_Type::b

Structure used for bit access

uint32_t CPSR_Type::C

bit: 29 Carry condition code flag

Definition at line 139 of file core_7tdmi.h.

uint32_t CPSR_Type::F

bit: 6 FIQ bit

Definition at line 134 of file core_7tdmi.h.

uint32_t CPSR_Type::I

bit: 7 Interrupt bit

Definition at line 135 of file core_7tdmi.h.

uint32_t CPSR_Type::M

bit: 0.. 4 Mode number

Definition at line 131 of file core_7tdmi.h.

uint32_t CPSR_Type::N

bit: 31 Negative condition code flag

Definition at line 141 of file core_7tdmi.h.

uint32_t CPSR_Type::T

bit: 5 Thumb bit

Definition at line 133 of file core_7tdmi.h.

uint32_t CPSR_Type::V

bit: 28 Overflow condition code flag

Definition at line 138 of file core_7tdmi.h.

uint32_t CPSR_Type::w

Type used for word access

Definition at line 143 of file core_7tdmi.h.

uint32_t CPSR_Type::Z

bit: 30 Zero condition code flag

Definition at line 140 of file core_7tdmi.h.


The documentation for this union was generated from the following file: