Nut/OS  5.0.5
API Reference
xPSR_Type Union Reference

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

#include <core_cm3.h>

Collaboration diagram for xPSR_Type:
[legend]

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: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

Detailed Description

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


Field Documentation

bit: 0.. 8 Exception number

bit: 9..23 Reserved

bit: 9..15 Reserved

bit: 24 Thumb bit (read 0)

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

bit: 27 Saturation condition flag

bit: 28 Overflow condition code flag

bit: 29 Carry condition code flag

bit: 30 Zero condition code flag

bit: 31 Negative condition code flag

struct { ... } xPSR_Type::b

Structure used for bit access

Type used for word access

bit: 16..19 Greater than or Equal flags

bit: 20..23 Reserved

struct { ... } xPSR_Type::b

Structure used for bit access


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