fix for mbed lib issue 3 (i2c problem) see also https://mbed.org/users/mbed_official/code/mbed/issues/3 affected implementations: LPC812, LPC11U24, LPC1768, LPC2368, LPC4088

Fork of mbed-src 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_cm0plus.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
struct {
   uint32_t   nPRIV:1
   uint32_t   SPSEL:1
   uint32_t   FPCA:1
   uint32_t   _reserved0:29
b
struct {
   uint32_t   nPRIV:1
   uint32_t   SPSEL:1
   uint32_t   FPCA:1
   uint32_t   _reserved0:29
b
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 253 of file Freescale/KL25Z/cmsis/core_cm0plus.h.


Field Documentation

uint32_t _reserved0

bit: 3..31 Reserved

Definition at line 260 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 FPCA

bit: 2 FP extension active flag

Definition at line 259 of file Freescale/KL25Z/cmsis/core_cm0plus.h.

uint32_t nPRIV

bit: 0 Execution privilege in Thread mode

Definition at line 257 of file Freescale/KL25Z/cmsis/core_cm0plus.h.

uint32_t SPSEL

bit: 1 Stack to be used

Definition at line 258 of file Freescale/KL25Z/cmsis/core_cm0plus.h.

uint32_t w

Type used for word access

Definition at line 262 of file Freescale/KL25Z/cmsis/core_cm0plus.h.