MG32L003 Standard Peripherals Firmware Library

成员变量
CONTROL_Type联合体 参考
Defines and Type Definitions » Status and Control Registers

Union type to access the Control Registers (CONTROL). 更多...

`#include <core_cm0plus.h>`

## 成员变量
struct {
uint32_t nPRIV:1
uint32_t SPSEL:1
uint32_t _reserved1:30
} | b
uint32_t | w

## 详细描述

Union type to access the Control Registers (CONTROL).

## 结构体成员变量说明

## ◆ _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

该联合体的文档由以下文件生成:

- core_cm0plus.h