STM32 RTOS 0.2.3
Bare-metal preemptive RTOS for STM32F446RE
Loading...
Searching...
No Matches
ScbRegisters_t Struct Reference

SCB register block. More...

#include <scb_reg.h>

Data Fields

volatile const uint32_t CPUID
 0x00: CPU ID, ro
volatile uint32_t ICSR
 0x04: interrupt control and state
volatile uint32_t VTOR
 0x08: vector table offset
volatile uint32_t AIRCR
 0x0C: application interrupt and reset control
volatile uint32_t SCR
 0x10: system control (sleep)
volatile uint32_t CCR
 0x14: configuration and control
volatile uint32_t SHPR1
 0x18: priority of MemManage, BusFault, UsageFault
volatile uint32_t SHPR2
 0x1C: priority of SVCall
volatile uint32_t SHPR3
 0x20: priority of PendSV, SysTick
volatile uint32_t SHCSR
 0x24: system handler control and state
volatile uint32_t CFSR
 0x28: configurable fault status (MMFSR, BFSR, UFSR)
volatile uint32_t HFSR
 0x2C: HardFault status
volatile uint32_t DFSR
 0x30: debug fault status
volatile uint32_t MMFAR
 0x34: MemManage fault address
volatile uint32_t BFAR
 0x38: BusFault address
volatile uint32_t AFSR
 0x3C: auxiliary fault status
volatile uint32_t RESERVED0 [18]
 0x40-0x84: CPU feature registers, not modelled
volatile uint32_t CPACR
 0x88: coprocessor access control (FPU enable)

Detailed Description

SCB register block.

Definition at line 40 of file scb_reg.h.

Field Documentation

◆ CPUID

volatile const uint32_t ScbRegisters_t::CPUID

0x00: CPU ID, ro

Definition at line 42 of file scb_reg.h.

◆ ICSR

volatile uint32_t ScbRegisters_t::ICSR

0x04: interrupt control and state

Definition at line 43 of file scb_reg.h.

Referenced by faultCapture().

◆ VTOR

volatile uint32_t ScbRegisters_t::VTOR

0x08: vector table offset

Definition at line 44 of file scb_reg.h.

◆ AIRCR

volatile uint32_t ScbRegisters_t::AIRCR

0x0C: application interrupt and reset control

Definition at line 45 of file scb_reg.h.

◆ SCR

volatile uint32_t ScbRegisters_t::SCR

0x10: system control (sleep)

Definition at line 46 of file scb_reg.h.

◆ CCR

volatile uint32_t ScbRegisters_t::CCR

0x14: configuration and control

Definition at line 47 of file scb_reg.h.

Referenced by faultEnable().

◆ SHPR1

volatile uint32_t ScbRegisters_t::SHPR1

0x18: priority of MemManage, BusFault, UsageFault

Definition at line 48 of file scb_reg.h.

Referenced by nvicSetSystemHandlerPriority().

◆ SHPR2

volatile uint32_t ScbRegisters_t::SHPR2

0x1C: priority of SVCall

Definition at line 49 of file scb_reg.h.

Referenced by nvicSetSystemHandlerPriority().

◆ SHPR3

volatile uint32_t ScbRegisters_t::SHPR3

0x20: priority of PendSV, SysTick

Definition at line 50 of file scb_reg.h.

Referenced by nvicSetSystemHandlerPriority().

◆ SHCSR

volatile uint32_t ScbRegisters_t::SHCSR

0x24: system handler control and state

Definition at line 51 of file scb_reg.h.

Referenced by faultEnable().

◆ CFSR

volatile uint32_t ScbRegisters_t::CFSR

0x28: configurable fault status (MMFSR, BFSR, UFSR)

Definition at line 52 of file scb_reg.h.

Referenced by faultCapture().

◆ HFSR

volatile uint32_t ScbRegisters_t::HFSR

0x2C: HardFault status

Definition at line 53 of file scb_reg.h.

Referenced by faultCapture().

◆ DFSR

volatile uint32_t ScbRegisters_t::DFSR

0x30: debug fault status

Definition at line 54 of file scb_reg.h.

◆ MMFAR

volatile uint32_t ScbRegisters_t::MMFAR

0x34: MemManage fault address

Definition at line 55 of file scb_reg.h.

Referenced by faultCapture().

◆ BFAR

volatile uint32_t ScbRegisters_t::BFAR

0x38: BusFault address

Definition at line 56 of file scb_reg.h.

Referenced by faultCapture().

◆ AFSR

volatile uint32_t ScbRegisters_t::AFSR

0x3C: auxiliary fault status

Definition at line 57 of file scb_reg.h.

◆ RESERVED0

volatile uint32_t ScbRegisters_t::RESERVED0[18]

0x40-0x84: CPU feature registers, not modelled

Definition at line 58 of file scb_reg.h.

◆ CPACR

volatile uint32_t ScbRegisters_t::CPACR

0x88: coprocessor access control (FPU enable)

Definition at line 59 of file scb_reg.h.


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