Datasheet

Table Of Contents
Table 558. REASON
Register
Bits Name Description Type Reset
31:2 Reserved. - - -
1 FORCE RO 0x0
0 TIMER RO 0x0
WATCHDOG: SCRATCH0, SCRATCH1, …, SCRATCH6, SCRATCH7 Registers
Offsets: 0x0c, 0x10, …, 0x24, 0x28
Table 559. SCRATCH0,
SCRATCH1, …,
SCRATCH6,
SCRATCH7 Registers
Bits Description Type Reset
31:0 Scratch register. Information persists through soft reset of the chip. RW 0x00000000
WATCHDOG: TICK Register
Offset: 0x2c
Description
Controls the tick generator
Table 560. TICK
Register
Bits Name Description Type Reset
31:20 Reserved. - - -
19:11 COUNT Count down timer: the remaining number clk_tick cycles
before the next tick is generated.
RO -
10 RUNNING Is the tick generator running? RO -
9 ENABLE start / stop tick generation RW 0x1
8:0 CYCLES Total number of clk_tick cycles before the next tick. RW 0x000
4.8. RTC
The Real-time Clock (RTC) provides time in human-readable format and can be used to generate interrupts at specific
times.
4.8.1. Storage Format
Time is stored in binary, separated in seven fields:
Table 561. RTC
storage format
Date/Time Field Size Legal values
Year 12 bits 0..4095
Month 4 bits 1..12
Day 5 bits 1..[28,29,30,31], depending on the
month
Day of Week 3 bits 0..6. Sunday = 0
Hour 5 bits 0..23
Minute 6 bits 0..59
Seconds 6 bits 0..59
RP2040 Datasheet
4.8. RTC 569