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

FPU context control (FPCCR, FPCAR, FPDSCR). More...

Collaboration diagram for FPU:

Data Structures

struct  FpuRegisters_t
 FPU context-control register block. More...

Macros

#define FPU_BASE   (0xE000EF34UL)
 FPU context-control base address (System Control Space).
#define FPU   ((FpuRegisters_t *)FPU_BASE)
 The FPU context-control instance.

Typedefs

typedef struct FpuRegisters_t FpuRegisters_t
 FPU context-control register block.

FPCCR - FP context control (0xE000EF34)

#define FPU_FPCCR_LSPACT_Pos   (0U)
 Bit 0.
#define FPU_FPCCR_LSPACT   ((uint32_t)1U << FPU_FPCCR_LSPACT_Pos)
  rw Lazy state preservation is active: space is reserved but FP state not saved.
#define FPU_FPCCR_LSPEN_Pos   (30U)
 Bit 30.
#define FPU_FPCCR_LSPEN   ((uint32_t)1U << FPU_FPCCR_LSPEN_Pos)
  rw Enable lazy FP context stacking (reset value 1).
#define FPU_FPCCR_ASPEN_Pos   (31U)
 Bit 31.
#define FPU_FPCCR_ASPEN   ((uint32_t)1U << FPU_FPCCR_ASPEN_Pos)
  rw Save FP state automatically on exception entry (reset value 1).

Detailed Description

FPU context control (FPCCR, FPCAR, FPDSCR).

Macro Definition Documentation

◆ FPU_BASE

#define FPU_BASE   (0xE000EF34UL)

FPU context-control base address (System Control Space).

Definition at line 30 of file scb_reg.h.

◆ FPU

#define FPU   ((FpuRegisters_t *)FPU_BASE)

The FPU context-control instance.

Definition at line 79 of file scb_reg.h.

◆ FPU_FPCCR_LSPACT_Pos

#define FPU_FPCCR_LSPACT_Pos   (0U)

Bit 0.

Definition at line 324 of file scb_reg.h.

◆ FPU_FPCCR_LSPACT

#define FPU_FPCCR_LSPACT   ((uint32_t)1U << FPU_FPCCR_LSPACT_Pos)

rw Lazy state preservation is active: space is reserved but FP state not saved.

Definition at line 326 of file scb_reg.h.

◆ FPU_FPCCR_LSPEN_Pos

#define FPU_FPCCR_LSPEN_Pos   (30U)

Bit 30.

Definition at line 327 of file scb_reg.h.

◆ FPU_FPCCR_LSPEN

#define FPU_FPCCR_LSPEN   ((uint32_t)1U << FPU_FPCCR_LSPEN_Pos)

rw Enable lazy FP context stacking (reset value 1).

Definition at line 329 of file scb_reg.h.

◆ FPU_FPCCR_ASPEN_Pos

#define FPU_FPCCR_ASPEN_Pos   (31U)

Bit 31.

Definition at line 330 of file scb_reg.h.

◆ FPU_FPCCR_ASPEN

#define FPU_FPCCR_ASPEN   ((uint32_t)1U << FPU_FPCCR_ASPEN_Pos)

rw Save FP state automatically on exception entry (reset value 1).

Definition at line 332 of file scb_reg.h.