Module system

Source
Expand description

§System Control

Structs§

AppCoreGuardunstable
Will park the APP (second) core when dropped
CpuControlunstable
Control CPU Cores
Stackunstable
Data type for a properly aligned stack of N bytes

Enums§

Cpu
Available CPU cores
Errorunstable
Represents errors that can occur while working with the core.
SleepSourceunstable
Source of the wakeup event

Functions§

reset_reasonunstable
Retrieves the reason for the last reset as a SocResetReason enum value. Returns None if the reset reason cannot be determined.
software_reset
Performs a software reset on the chip.
software_reset_cpuunstable
Resets the given CPU, leaving peripherals unchanged.
wakeup_causeunstable
Retrieves the cause of the last wakeup event as a SleepSource enum value.