embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

Module reset_reason

Module reset_reason 

Source
Expand description

Reset reason

MCXA families keep the most recent reset reason in the SRS register of the CMC block. This lets users understand why the MCU has reset and take appropriate corrective actions if required.

Structs§

ResetReasonRaw
Raw reset reason bits. Can be queried or all reasons can be iterated over
ResetReasonRawIter

Enums§

ResetReason
Indicates the type and source of the most recent reset.

Functions§

reset_reason
Reads the most recent reset reason from the Core Mode Controller (CMC).