WB32L003 Standard Peripherals Firmware Library

Data Fields
CONTROL_Type Union Reference
Defines and Type Definitions » 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 _reserved1:30
} | b
uint32_t | w

## Detailed Description

Union type to access the Control Registers (CONTROL).

## Field Documentation

## ◆ _reserved1

uint32_t _reserved1

bit: 2..31 Reserved

## ◆ b

struct { ... } b

Structure used for bit access

## ◆ nPRIV

uint32_t nPRIV

bit: 0 Execution privilege in Thread mode

## ◆ SPSEL

uint32_t SPSEL

bit: 1 Stack to be used

## ◆ w

uint32_t w

Type used for word access

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

- core_cm0plus.h