Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
scb_context Struct Reference

Structure to store essential, mutable SCB register values for backup/restore. More...

#include <scb.h>

Data Fields

uint32_t aircr
 Application Interrupt and Reset Control Register.
 
uint32_t scr
 System Control Register.
 
uint32_t ccr
 Configuration Control Register.
 
uint32_t shpr [3]
 System Handler Priority Registers.
 
uint32_t shcsr
 System Handler Control and State Register.
 
uint32_t cpacr
 Coprocessor Access Control Register.
 

Detailed Description

Structure to store essential, mutable SCB register values for backup/restore.

This structure only contains SCB registers that are safe and meaningful to backup and restore. In particular, registers that are read-only (such as CPUID) or contain volatile information (ICSR / CFSR) are ignored, since their value is tied to the system state or fixed in hardware, rather than related to a configuration option.

Field Documentation

◆ aircr

uint32_t scb_context::aircr

Application Interrupt and Reset Control Register.

◆ ccr

uint32_t scb_context::ccr

Configuration Control Register.

◆ cpacr

uint32_t scb_context::cpacr

Coprocessor Access Control Register.

◆ scr

uint32_t scb_context::scr

System Control Register.

◆ shcsr

uint32_t scb_context::shcsr

System Handler Control and State Register.

◆ shpr

uint32_t scb_context::shpr[3]

System Handler Priority Registers.


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