\n

RTC

Peripheral Memory Blocks

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

Registers

CLKDIV_M1

IRQ_SETUP_0

IRQ_SETUP_1

RTC_1

RTC_0

INTR

INTE

INTF

INTS

SETUP_0

SETUP_1

CTRL


CLKDIV_M1

Divider minus 1 for the 1 second counter. Safe to change the value when RTC is not enabled.
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CLKDIV_M1 CLKDIV_M1 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 CLKDIV_M1

CLKDIV_M1 :
bits : 0 - 15 (16 bit)
access : read-write


IRQ_SETUP_0

Interrupt setup register 0
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

IRQ_SETUP_0 IRQ_SETUP_0 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 DAY MONTH YEAR DAY_ENA MONTH_ENA YEAR_ENA MATCH_ENA MATCH_ACTIVE

DAY : Day of the month (1..31)
bits : 0 - 4 (5 bit)
access : read-write

MONTH : Month (1..12)
bits : 8 - 11 (4 bit)
access : read-write

YEAR : Year
bits : 12 - 23 (12 bit)
access : read-write

DAY_ENA : Enable day matching
bits : 24 - 24 (1 bit)
access : read-write

MONTH_ENA : Enable month matching
bits : 25 - 25 (1 bit)
access : read-write

YEAR_ENA : Enable year matching
bits : 26 - 26 (1 bit)
access : read-write

MATCH_ENA : Global match enable. Don't change any other value while this one is enabled
bits : 28 - 28 (1 bit)
access : read-write

MATCH_ACTIVE :
bits : 29 - 29 (1 bit)
access : read-only


IRQ_SETUP_1

Interrupt setup register 1
address_offset : 0x14 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

IRQ_SETUP_1 IRQ_SETUP_1 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 SEC MIN HOUR DOTW SEC_ENA MIN_ENA HOUR_ENA DOTW_ENA

SEC : Seconds
bits : 0 - 5 (6 bit)
access : read-write

MIN : Minutes
bits : 8 - 13 (6 bit)
access : read-write

HOUR : Hours
bits : 16 - 20 (5 bit)
access : read-write

DOTW : Day of the week
bits : 24 - 26 (3 bit)
access : read-write

SEC_ENA : Enable second matching
bits : 28 - 28 (1 bit)
access : read-write

MIN_ENA : Enable minute matching
bits : 29 - 29 (1 bit)
access : read-write

HOUR_ENA : Enable hour matching
bits : 30 - 30 (1 bit)
access : read-write

DOTW_ENA : Enable day of the week matching
bits : 31 - 31 (1 bit)
access : read-write


RTC_1

RTC register 1.
address_offset : 0x18 Bytes (0x0)
size : 32 bit
reset_value : 0x0

RTC_1 RTC_1 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 DAY MONTH YEAR

DAY : Day of the month (1..31)
bits : 0 - 4 (5 bit)
access : read-only

MONTH : Month (1..12)
bits : 8 - 11 (4 bit)
access : read-only

YEAR : Year
bits : 12 - 23 (12 bit)
access : read-only


RTC_0

RTC register 0 Read this before RTC 1!
address_offset : 0x1C Bytes (0x0)
size : 32 bit
reset_value : 0x0

RTC_0 RTC_0 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 SEC MIN HOUR DOTW

SEC : Seconds
bits : 0 - 5 (6 bit)
access : read-only

MIN : Minutes
bits : 8 - 13 (6 bit)
access : read-only

HOUR : Hours
bits : 16 - 20 (5 bit)
access : read-only

DOTW : Day of the week
bits : 24 - 26 (3 bit)
access : read-only


INTR

Raw Interrupts
address_offset : 0x20 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

INTR INTR 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 RTC

RTC :
bits : 0 - 0 (1 bit)
access : read-only


INTE

Interrupt Enable
address_offset : 0x24 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

INTE INTE 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 RTC

RTC :
bits : 0 - 0 (1 bit)
access : read-write


INTF

Interrupt Force
address_offset : 0x28 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

INTF INTF 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 RTC

RTC :
bits : 0 - 0 (1 bit)
access : read-write


INTS

Interrupt status after masking & forcing
address_offset : 0x2C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

INTS INTS 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 RTC

RTC :
bits : 0 - 0 (1 bit)
access : read-only


SETUP_0

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

SETUP_0 SETUP_0 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 DAY MONTH YEAR

DAY : Day of the month (1..31)
bits : 0 - 4 (5 bit)
access : read-write

MONTH : Month (1..12)
bits : 8 - 11 (4 bit)
access : read-write

YEAR : Year
bits : 12 - 23 (12 bit)
access : read-write


SETUP_1

RTC setup register 1
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

SETUP_1 SETUP_1 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 SEC MIN HOUR DOTW

SEC : Seconds
bits : 0 - 5 (6 bit)
access : read-write

MIN : Minutes
bits : 8 - 13 (6 bit)
access : read-write

HOUR : Hours
bits : 16 - 20 (5 bit)
access : read-write

DOTW : Day of the week: 1-Monday...0-Sunday ISO 8601 mod 7
bits : 24 - 26 (3 bit)
access : read-write


CTRL

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

CTRL CTRL 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 RTC_ENABLE RTC_ACTIVE LOAD FORCE_NOTLEAPYEAR

RTC_ENABLE : Enable RTC
bits : 0 - 0 (1 bit)
access : read-write

RTC_ACTIVE : RTC enabled (running)
bits : 1 - 1 (1 bit)
access : read-only

LOAD : Load RTC
bits : 4 - 4 (1 bit)
access : read-write

FORCE_NOTLEAPYEAR : If set, leapyear is forced off. Useful for years divisible by 100 but not by 400
bits : 8 - 8 (1 bit)
access : read-write



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.