Expand description
WATCHDOG
Modules§
- ctrl
- Watchdog control
The rst_wdsel register determines which subsystems are reset when the watchdog is triggered.
The watchdog can be triggered in software. - load
- 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
- Logs the reason for the last reset. Both bits are zero for the case of a hardware reset.
- scratch0
- Scratch register. Information persists through soft reset of the chip.
- scratch1
- Scratch register. Information persists through soft reset of the chip.
- scratch2
- Scratch register. Information persists through soft reset of the chip.
- scratch3
- Scratch register. Information persists through soft reset of the chip.
- scratch4
- Scratch register. Information persists through soft reset of the chip.
- scratch5
- Scratch register. Information persists through soft reset of the chip.
- scratch6
- Scratch register. Information persists through soft reset of the chip.
- scratch7
- Scratch register. Information persists through soft reset of the chip.
- tick
- Controls the tick generator
Structs§
- Register
Block - Register block
Type Aliases§
- CTRL
- 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
- 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
- REASON (r) register accessor: Logs the reason for the last reset. Both bits are zero for the case of a hardware reset.
- SCRATC
H0 - SCRATCH0 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- SCRATC
H1 - SCRATCH1 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- SCRATC
H2 - SCRATCH2 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- SCRATC
H3 - SCRATCH3 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- SCRATC
H4 - SCRATCH4 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- SCRATC
H5 - SCRATCH5 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- SCRATC
H6 - SCRATCH6 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- SCRATC
H7 - SCRATCH7 (rw) register accessor: Scratch register. Information persists through soft reset of the chip.
- TICK
- TICK (rw) register accessor: Controls the tick generator