aboutsummaryrefslogtreecommitdiff
path: root/examples/mcxa/src/bin/reset-reason.rs
Commit message (Collapse)AuthorAgeFilesLines
* [MCXA] reset_reason: process multiple bitsFelipe Balbi2025-12-181-1/+3
| | | | | | | | | 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.
* MCXA: Add a function to read Reset ReasonFelipe Balbi2025-12-101-0/+15