Query Reset Cause
t = pcb.reset_cause()
Query the SAML10 reset cause register.
Returns | Type | Description |
---|---|---|
t |
table | Table of causes |
t value |
Type | Description |
---|---|---|
.bits |
integer | The bit fields |
.text |
string | String representation of reasons |
Bit | Text | Description |
---|---|---|
0 | COLD |
The system has had a cold boot power cycle |
1 | BOD12 |
Brown out on 1.2V |
2 | BOD33 |
Brown out on 3.3V |
4 | RST |
External reset on the SAML10 |
5 | WDT |
Watchdog timer inside SAML10 |
6 | SWD |
Hardware debug probe requested reset |