Module nrf9160_pac::rtc0_ns
source · [−]Expand description
Real-time counter 0
Modules
Description collection: Compare register n
Current counter value
Description collection: Compare event on CC[n]
match
Event on counter overflow
Event on counter increment
Enable or disable event routing
Disable event routing
Enable event routing
Disable interrupt
Enable interrupt
12-bit prescaler for counter frequency (32768/(PRESCALER+1)). Must be written when RTC is stopped.
Description collection: Publish configuration for event COMPARE[n]
Publish configuration for event OVRFLW
Publish configuration for event TICK
Subscribe configuration for task CLEAR
Subscribe configuration for task START
Subscribe configuration for task STOP
Subscribe configuration for task TRIGOVRFLW
Clear RTC counter
Start RTC counter
Stop RTC counter
Set counter to 0xFFFFF0
Structs
Register block
Type Definitions
CC (rw) register accessor: an alias for
Reg<CC_SPEC>
COUNTER (r) register accessor: an alias for
Reg<COUNTER_SPEC>
EVENTS_COMPARE (rw) register accessor: an alias for
Reg<EVENTS_COMPARE_SPEC>
EVENTS_OVRFLW (rw) register accessor: an alias for
Reg<EVENTS_OVRFLW_SPEC>
EVENTS_TICK (rw) register accessor: an alias for
Reg<EVENTS_TICK_SPEC>
EVTEN (rw) register accessor: an alias for
Reg<EVTEN_SPEC>
EVTENCLR (rw) register accessor: an alias for
Reg<EVTENCLR_SPEC>
EVTENSET (rw) register accessor: an alias for
Reg<EVTENSET_SPEC>
INTENCLR (rw) register accessor: an alias for
Reg<INTENCLR_SPEC>
INTENSET (rw) register accessor: an alias for
Reg<INTENSET_SPEC>
PRESCALER (rw) register accessor: an alias for
Reg<PRESCALER_SPEC>
PUBLISH_COMPARE (rw) register accessor: an alias for
Reg<PUBLISH_COMPARE_SPEC>
PUBLISH_OVRFLW (rw) register accessor: an alias for
Reg<PUBLISH_OVRFLW_SPEC>
PUBLISH_TICK (rw) register accessor: an alias for
Reg<PUBLISH_TICK_SPEC>
SUBSCRIBE_CLEAR (rw) register accessor: an alias for
Reg<SUBSCRIBE_CLEAR_SPEC>
SUBSCRIBE_START (rw) register accessor: an alias for
Reg<SUBSCRIBE_START_SPEC>
SUBSCRIBE_STOP (rw) register accessor: an alias for
Reg<SUBSCRIBE_STOP_SPEC>
SUBSCRIBE_TRIGOVRFLW (rw) register accessor: an alias for
Reg<SUBSCRIBE_TRIGOVRFLW_SPEC>
TASKS_CLEAR (w) register accessor: an alias for
Reg<TASKS_CLEAR_SPEC>
TASKS_START (w) register accessor: an alias for
Reg<TASKS_START_SPEC>
TASKS_STOP (w) register accessor: an alias for
Reg<TASKS_STOP_SPEC>
TASKS_TRIGOVRFLW (w) register accessor: an alias for
Reg<TASKS_TRIGOVRFLW_SPEC>