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

CONTROL_Type Union Reference

CONTROL_Type Union Reference
[Status and Control Registers]

Union type to access the Control Registers (CONTROL). More...

#include <core_cm0.h>

Data Fields

struct {
   uint32_t   nPRIV:1
   uint32_t   SPSEL:1
   uint32_t   FPCA:1
   uint32_t   _reserved0:29
b
uint32_t w
struct {
   uint32_t   nPRIV:1
   uint32_t   SPSEL:1
   uint32_t   FPCA:1
   uint32_t   _reserved0:29
b

Detailed Description

Union type to access the Control Registers (CONTROL).

Definition at line 240 of file core_cm0.h.


Field Documentation

uint32_t _reserved0

bit: 3..31 Reserved

Definition at line 247 of file core_cm0.h.

struct { ... } b

Structure used for bit access

struct { ... } b

Structure used for bit access

uint32_t FPCA

bit: 2 FP extension active flag

Definition at line 246 of file core_cm0.h.

uint32_t nPRIV

bit: 0 Execution privilege in Thread mode

Definition at line 244 of file core_cm0.h.

uint32_t SPSEL

bit: 1 Stack to be used

Definition at line 245 of file core_cm0.h.

uint32_t w

Type used for word access

Definition at line 249 of file core_cm0.h.