Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-src by
xPSR_Type Union Reference
[Status and Control Registers]
Union type to access the Special-Purpose Program Status Registers (xPSR). More...
#include <core_cm0plus.h>
Data Fields | |
| struct { | |
| uint32_t ISR:9 | |
| uint32_t _reserved0:15 | |
| 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 |
| uint32_t | w |
| struct { | |
| uint32_t ISR:9 | |
| uint32_t _reserved0:15 | |
| 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 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 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 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).
Definition at line 227 of file Freescale/KL25Z/cmsis/core_cm0plus.h.
Field Documentation
| uint32_t _reserved0 |
bit: 9..23 Reserved
bit: 9..15 Reserved
Definition at line 233 of file Freescale/KL25Z/cmsis/core_cm0plus.h.
| uint32_t _reserved1 |
bit: 20..23 Reserved
Definition at line 237 of file Freescale/KL25Z/cmsis/core_cm0plus.h.
| struct { ... } b |
Structure used for bit access
| struct { ... } b |
Structure used for bit access
| struct { ... } b |
Structure used for bit access
| 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 243 of file Freescale/KL25Z/cmsis/core_cm0plus.h.
| uint32_t GE |
bit: 16..19 Greater than or Equal flags
Definition at line 236 of file Freescale/KL25Z/cmsis/core_cm0plus.h.
| uint32_t ISR |
bit: 0.. 8 Exception number
Definition at line 231 of file Freescale/KL25Z/cmsis/core_cm0plus.h.
| uint32_t IT |
bit: 25..26 saved IT state (read 0)
Definition at line 240 of file Freescale/KL25Z/cmsis/core_cm0plus.h.
| uint32_t N |
bit: 31 Negative condition code flag
Definition at line 245 of file Freescale/KL25Z/cmsis/core_cm0plus.h.
| uint32_t Q |
bit: 27 Saturation condition flag
Definition at line 241 of file Freescale/KL25Z/cmsis/core_cm0plus.h.
| uint32_t T |
bit: 24 Thumb bit (read 0)
Definition at line 239 of file Freescale/KL25Z/cmsis/core_cm0plus.h.
| uint32_t V |
bit: 28 Overflow condition code flag
Definition at line 242 of file Freescale/KL25Z/cmsis/core_cm0plus.h.
| uint32_t w |
Type used for word access
Definition at line 247 of file Freescale/KL25Z/cmsis/core_cm0plus.h.
| uint32_t Z |
bit: 30 Zero condition code flag
Definition at line 244 of file Freescale/KL25Z/cmsis/core_cm0plus.h.
Generated on Tue Jul 12 2022 13:47:04 by
1.7.2
