Module rp2040_pac::watchdog
source · Expand description
WATCHDOG
Modules§
- Watchdog control
The rst_wdsel register determines which subsystems are reset when the watchdog is triggered.
The watchdog can be triggered in software. - Load the watchdog timer. The maximum setting is 0xffffff which corresponds to 0xffffff / 2 ticks before triggering a watchdog reset (see errata RP2040-E1).
- Logs the reason for the last reset. Both bits are zero for the case of a hardware reset.
- Scratch register. Information persists through soft reset of the chip.
- Scratch register. Information persists through soft reset of the chip.
- Scratch register. Information persists through soft reset of the chip.
- Scratch register. Information persists through soft reset of the chip.
- Scratch register. Information persists through soft reset of the chip.
- Scratch register. Information persists through soft reset of the chip.
- Scratch register. Information persists through soft reset of the chip.
- Scratch register. Information persists through soft reset of the chip.
- Controls the tick generator
Structs§
- Register block
Type Aliases§
- CTRL (rw) register accessor: Watchdog control
The rst_wdsel register determines which subsystems are reset when the watchdog is triggered.
The watchdog can be triggered in software. - LOAD (w) register accessor: Load the watchdog timer. The maximum setting is 0xffffff which corresponds to 0xffffff / 2 ticks before triggering a watchdog reset (see errata RP2040-E1).
- REASON (r) register accessor: Logs the reason for the last reset. Both bits are zero for the case of a hardware reset.
- SCRATCH0 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- SCRATCH1 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- SCRATCH2 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- SCRATCH3 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- SCRATCH4 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- SCRATCH5 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- SCRATCH6 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- SCRATCH7 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- TICK (rw) register accessor: Controls the tick generator