Skip to main content

Module system

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§

is_runningunstable
Returns true if the specified core is currently running (not stalled).
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.