| Parameter | Description | Options |
|---|---|---|
| Reset Behavior | Action on system reset | • Initialize all variables |
| Watchdog Timer | Configure WDT operation | • Enabled (auto-reset) |
| Startup Delay | Initial delay before main loop | 0 to 1000 ms |
| Brown-out Handling | Low voltage detection behavior | • Reset on brown-out |
| Source | Description | Typical Handling |
|---|---|---|
| Power-On Reset (POR) | Initial power application | Full initialization |
| Brown-Out Reset (BOR) | Voltage drop detection | Full initialization |
| Watchdog Timeout | WDT not serviced | Full reset, log error |
| Software Reset | Intentional reset command | Configurable (preserve state) |
| External Reset | MCLR pin assertion | Full initialization |
% Safety-critical application with WDT
Reset Behavior: Initialize all variables
Watchdog Timer: Enabled, 1000ms period
Startup Delay: 100ms (allow power stabilization)
Brown-out: Reset on brown-out
% Log reset source in EEPROM for diagnostics