aboutsummaryrefslogtreecommitdiff
path: root/embassy-mcxa/src/reset_reason.rs
Commit message (Collapse)AuthorAgeFilesLines
* [MCXA] reset_reason: process multiple bitsFelipe Balbi2025-12-181-37/+150
| | | | | | | | | After testing with the pending watchdog driver, I noticed that more than one bit got set (Warm and Wdog0), changing my original assumption of this register being one-hot. Update the `reset_reason()` function and example according to James Munns' MCXA DMA Error implementation.
* Remove critical sectionFelipe Balbi2025-12-111-41/+39
|
* MCXA: Add a function to read Reset ReasonFelipe Balbi2025-12-101-0/+108