Registers

nRF5340 Product Specification

Instances

Instance Domain Base address TrustZone Split access Description
Map Att DMA

RTC0 : S
RTC0 : NS

APPLICATION

0x50014000
0x40014000

US S NA No

Real time counter 0

RTC1 : S
RTC1 : NS

APPLICATION

0x50015000
0x40015000

US S NA No

Real time counter 1

RTC0 NETWORK 0x41011000 HF NS NA No

Real-time counter 0

RTC1 NETWORK 0x41016000 HF NS NA No

Real-time counter 1

Register overview

Register Offset TZ Description
TASKS_START 0x000

Start RTC counter

TASKS_STOP 0x004

Stop RTC counter

TASKS_CLEAR 0x008

Clear RTC counter

TASKS_TRIGOVRFLW 0x00C

Set counter to 0xFFFFF0

TASKS_CAPTURE[n] 0x040

Capture RTC counter to CC[n] register

SUBSCRIBE_START 0x080

Subscribe configuration for task START

SUBSCRIBE_STOP 0x084

Subscribe configuration for task STOP

SUBSCRIBE_CLEAR 0x088

Subscribe configuration for task CLEAR

SUBSCRIBE_TRIGOVRFLW 0x08C

Subscribe configuration for task TRIGOVRFLW

SUBSCRIBE_CAPTURE[n] 0x0C0

Subscribe configuration for task CAPTURE[n]

EVENTS_TICK 0x100

Event on counter increment

EVENTS_OVRFLW 0x104

Event on counter overflow

EVENTS_COMPARE[n] 0x140

Compare event on CC[n] match

PUBLISH_TICK 0x180

Publish configuration for event TICK

PUBLISH_OVRFLW 0x184

Publish configuration for event OVRFLW

PUBLISH_COMPARE[n] 0x1C0

Publish configuration for event COMPARE[n]

SHORTS 0x200

Shortcuts between local events and tasks

INTENSET 0x304

Enable interrupt

INTENCLR 0x308

Disable interrupt

EVTEN 0x340

Enable or disable event routing

EVTENSET 0x344

Enable event routing

EVTENCLR 0x348

Disable event routing

COUNTER 0x504

Current counter value

PRESCALER 0x508

12-bit prescaler for counter frequency (32768 / (PRESCALER + 1)). Must be written when RTC is stopped.

CC[n] 0x540

Compare register n