Modification of mbed-src library only for STM32F030F4, very cheap microcontroller in 20-Pin TSSOP package, with 16Kbytes of Flash and 4Kbytes of Ram. **Target for online compilator must be Nucleo 32F030R8.**

Dependents:   STM32F031_blink_LED_2

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

Detailed Description

Union type to access the Control Registers (CONTROL).

Definition at line 257 of file core_cm0.h.


Field Documentation

uint32_t _reserved0

bit: 3..31 Reserved

Definition at line 264 of file core_cm0.h.

struct { ... } b

Structure used for bit access

uint32_t FPCA

bit: 2 FP extension active flag

Definition at line 263 of file core_cm0.h.

uint32_t nPRIV

bit: 0 Execution privilege in Thread mode

Definition at line 261 of file core_cm0.h.

uint32_t SPSEL

bit: 1 Stack to be used

Definition at line 262 of file core_cm0.h.

uint32_t w

Type used for word access

Definition at line 266 of file core_cm0.h.