Contiki 3.x
Data Fields
xPSR_Type Union Reference

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

#include <cpu/arm/common/CMSIS/core_cm0.h>

Data Fields

struct {
   uint32_t   ISR:9
 
   uint32_t   _reserved0:15
 
   uint32_t   T:1
 
   uint32_t   IT:2
 
   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   ISR:9
 
   uint32_t   _reserved0:15
 
   uint32_t   T:1
 
   uint32_t   IT:2
 
   uint32_t   Q:1
 
   uint32_t   V:1
 
   uint32_t   C:1
 
   uint32_t   Z:1
 
   uint32_t   N:1
 
b
 
struct {
   uint32_t   ISR:9
 
   uint32_t   _reserved0:15
 
   uint32_t   T:1
 
   uint32_t   IT:2
 
   uint32_t   Q:1
 
   uint32_t   V:1
 
   uint32_t   C:1
 
   uint32_t   Z:1
 
   uint32_t   N:1
 
b
 
struct {
   uint32_t   ISR:9
 
   uint32_t   _reserved0:7
 
   uint32_t   GE:4
 
   uint32_t   _reserved1:4
 
   uint32_t   T:1
 
   uint32_t   IT:2
 
   uint32_t   Q:1
 
   uint32_t   V:1
 
   uint32_t   C:1
 
   uint32_t   Z:1
 
   uint32_t   N:1
 
b
 
struct {
   uint32_t   ISR:9
 
   uint32_t   _reserved0:15
 
   uint32_t   T:1
 
   uint32_t   IT:2
 
   uint32_t   Q:1
 
   uint32_t   V:1
 
   uint32_t   C:1
 
   uint32_t   Z:1
 
   uint32_t   N:1
 
b
 
struct {
   uint32_t   ISR:9
 
   uint32_t   _reserved0:15
 
   uint32_t   T:1
 
   uint32_t   IT:2
 
   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 Special-Purpose Program Status Registers (xPSR).

Definition at line 251 of file core_cm0.h.

Field Documentation

uint32_t xPSR_Type::_reserved0

bit: 9..23 Reserved

bit: 9..15 Reserved

Definition at line 257 of file core_cm0.h.

uint32_t xPSR_Type::_reserved1

bit: 20..23 Reserved

Definition at line 315 of file core_cm4.h.

struct { ... } xPSR_Type::b

Structure used for bit access

struct { ... } xPSR_Type::b

Structure used for bit access

struct { ... } xPSR_Type::b

Structure used for bit access

struct { ... } xPSR_Type::b

Structure used for bit access

struct { ... } xPSR_Type::b

Structure used for bit access

struct { ... } xPSR_Type::b

Structure used for bit access

uint32_t xPSR_Type::C

bit: 29 Carry condition code flag

Definition at line 267 of file core_cm0.h.

uint32_t xPSR_Type::GE

bit: 16..19 Greater than or Equal flags

Definition at line 314 of file core_cm4.h.

uint32_t xPSR_Type::ISR

bit: 0.. 8 Exception number

Definition at line 255 of file core_cm0.h.

uint32_t xPSR_Type::IT

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

Definition at line 264 of file core_cm0.h.

uint32_t xPSR_Type::N

bit: 31 Negative condition code flag

Definition at line 269 of file core_cm0.h.

uint32_t xPSR_Type::Q

bit: 27 Saturation condition flag

Definition at line 265 of file core_cm0.h.

uint32_t xPSR_Type::T

bit: 24 Thumb bit (read 0)

Definition at line 263 of file core_cm0.h.

uint32_t xPSR_Type::V

bit: 28 Overflow condition code flag

Definition at line 266 of file core_cm0.h.

uint32_t xPSR_Type::w

Type used for word access

Definition at line 271 of file core_cm0.h.

uint32_t xPSR_Type::Z

bit: 30 Zero condition code flag

Definition at line 268 of file core_cm0.h.