Fork of the official mbed C/C++ SDK provides the software platform and libraries to build your applications. The fork has the documentation converted to Doxygen format

Dependents:   NervousPuppySprintOne NervousPuppySprint2602 Robot WarehouseBot1 ... more

Fork of mbed by mbed official

Embed: (wiki syntax)

« Back to documentation index

APSR_Type Union Reference

APSR_Type Union Reference
[Status and Control Registers]

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

#include <core_cm0.h>

Data Fields

struct {
   uint32_t   _reserved0:27
   uint32_t   GE:4
   uint32_t   _reserved1:7
   uint32_t   Q:1
   uint32_t   V:1
   uint32_t   C:1
   uint32_t   Z:1
   uint32_t   N:1
b
uint32_t w
struct {
   uint32_t   _reserved0:27
   uint32_t   GE:4
   uint32_t   _reserved1:7
   uint32_t   Q:1
   uint32_t   V:1
   uint32_t   C:1
   uint32_t   Z:1
   uint32_t   N:1
b

Detailed Description

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

Definition at line 178 of file core_cm0.h.


Field Documentation

uint32_t _reserved0

bit: 0..26 Reserved

bit: 0..15 Reserved

Definition at line 183 of file core_cm0.h.

uint32_t _reserved1

bit: 20..26 Reserved

Definition at line 187 of file core_cm0.h.

struct { ... } b

Structure used for bit access

struct { ... } b

Structure used for bit access

uint32_t C

bit: 29 Carry condition code flag

Definition at line 191 of file core_cm0.h.

uint32_t GE

bit: 16..19 Greater than or Equal flags

Definition at line 186 of file core_cm0.h.

uint32_t N

bit: 31 Negative condition code flag

Definition at line 193 of file core_cm0.h.

uint32_t Q

bit: 27 Saturation condition flag

Definition at line 189 of file core_cm0.h.

uint32_t V

bit: 28 Overflow condition code flag

Definition at line 190 of file core_cm0.h.

uint32_t w

Type used for word access

Definition at line 195 of file core_cm0.h.

uint32_t Z

bit: 30 Zero condition code flag

Definition at line 192 of file core_cm0.h.