\n

RTC

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0xC byte (0x0)
mem_usage : registers
protection : not protected

Registers

SC

MOD

CNT


SC

RTC Status and Control Register
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

SC SC read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RTCO RTIE RTIF RTCPS RTCLKS

RTCO : Real-Time Counter Output
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Real-time counter output disabled.

#1 : 1

Real-time counter output enabled.

End of enumeration elements list.

RTIE : Real-Time Interrupt Enable
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

#0 : 0

Real-time interrupt requests are disabled. Use software polling.

#1 : 1

Real-time interrupt requests are enabled.

End of enumeration elements list.

RTIF : Real-Time Interrupt Flag
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

#0 : 0

RTC counter has not reached the value in the RTC modulo register.

#1 : 1

RTC counter has reached the value in the RTC modulo register.

End of enumeration elements list.

RTCPS : Real-Time Clock Prescaler Select
bits : 8 - 10 (3 bit)
access : read-write

Enumeration:

#000 : 000

Off

#001 : 001

If RTCLKS = x0, it is 1; if RTCLKS = x1, it is 128.

#010 : 010

If RTCLKS = x0, it is 2; if RTCLKS = x1, it is 256.

#011 : 011

If RTCLKS = x0, it is 4; if RTCLKS = x1, it is 512.

#100 : 100

If RTCLKS = x0, it is 8; if RTCLKS = x1, it is 1024.

#101 : 101

If RTCLKS = x0, it is 16; if RTCLKS = x1, it is 2048.

#110 : 110

If RTCLKS = x0, it is 32; if RTCLKS = x1, it is 100.

#111 : 111

If RTCLKS = x0, it is 64; if RTCLKS = x1, it is 1000.

End of enumeration elements list.

RTCLKS : Real-Time Clock Source Select
bits : 14 - 15 (2 bit)
access : read-write

Enumeration:

#00 : 00

External clock source.

#01 : 01

Real-time clock source is 1 kHz (LPOCLK).

#10 : 10

Internal reference clock (ICSIRCLK).

#11 : 11

Bus clock.

End of enumeration elements list.


MOD

RTC Modulo Register
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

MOD MOD read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MOD

MOD : RTC Modulo
bits : 0 - 15 (16 bit)
access : read-write


CNT

RTC Counter Register
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

CNT CNT read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CNT

CNT : RTC Count
bits : 0 - 15 (16 bit)
access : read-only



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.