std1.0.0-beta-7 SafeC docs

Module hal::cortex_m

#include <std/hal/cortex_m.h> source

Cortex-M HAL (NVIC, SysTick, SCB) Freestanding-safe. Register addresses follow the ARM-v7M/v8-M memory map.

Structs

Nvic
SysTick
Scb

Functions

nvic_init
systick_init
scb_init

Macros

NVIC_BASE
SYSTICK_BASE
SCB_BASE
SCB_FAULT_USAGEFault mask bits for enable_fault / disable_fault
SCB_FAULT_BUS
SCB_FAULT_MEM

Globals

nvicGlobal NVIC instance at the standard Cortex-M base address.