Module rtc

Source
Expand description

Register block to control RTC

Modules§

clkdiv_m1
Divider minus 1 for the 1 second counter. Safe to change the value when RTC is not enabled.
ctrl
RTC Control and status
inte
Interrupt Enable
intf
Interrupt Force
intr
Raw Interrupts
ints
Interrupt status after masking & forcing
irq_setup_0
Interrupt setup register 0
irq_setup_1
Interrupt setup register 1
rtc_0
RTC register 0
Read this before RTC 1!
rtc_1
RTC register 1.
setup_0
RTC setup register 0
setup_1
RTC setup register 1

Structs§

RegisterBlock
Register block

Type Aliases§

CLKDIV_M1
CLKDIV_M1 (rw) register accessor: Divider minus 1 for the 1 second counter. Safe to change the value when RTC is not enabled.
CTRL
CTRL (rw) register accessor: RTC Control and status
INTE
INTE (rw) register accessor: Interrupt Enable
INTF
INTF (rw) register accessor: Interrupt Force
INTR
INTR (r) register accessor: Raw Interrupts
INTS
INTS (r) register accessor: Interrupt status after masking & forcing
IRQ_SETUP_0
IRQ_SETUP_0 (rw) register accessor: Interrupt setup register 0
IRQ_SETUP_1
IRQ_SETUP_1 (rw) register accessor: Interrupt setup register 1
RTC_0
RTC_0 (r) register accessor: RTC register 0
Read this before RTC 1!
RTC_1
RTC_1 (r) register accessor: RTC register 1.
SETUP_0
SETUP_0 (rw) register accessor: RTC setup register 0
SETUP_1
SETUP_1 (rw) register accessor: RTC setup register 1