\n

RTC

Peripheral Memory Blocks

Registers

date

initial_count

current_count

interrupt_ctrl

register_ctrl

extended

time

alarm_date

alarm_time


date

Timer date information
address_offset : 0x0 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

date date 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 week day month year

week : Week. Range [0,6]. 0 is Sunday.
bits : 0 - 2 (3 bit)

day : Day. Range [1,31] or [1,30] or [1,29] or [1,28]
bits : 8 - 20 (13 bit)

month : Month. Range [1,12]
bits : 16 - 35 (20 bit)

year : Year. Range [0,99]
bits : 20 - 51 (32 bit)


initial_count

Timer counter initial value
address_offset : 0x10 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

initial_count initial_count 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 count

count : RTC counter initial value
bits : 0 - 31 (32 bit)


current_count

Timer counter current value
address_offset : 0x14 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

current_count current_count 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 count

count : RTC counter current value
bits : 0 - 31 (32 bit)


interrupt_ctrl

RTC interrupt settings
address_offset : 0x18 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

interrupt_ctrl interrupt_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 tick_enable alarm_enable tick_int_mode alarm_compare_mask

tick_enable : TICK_ENABLE
bits : 0 - 0 (1 bit)

alarm_enable : Alarm interrupt enable
bits : 1 - 2 (2 bit)

tick_int_mode : Tick interrupt enable
bits : 2 - 5 (4 bit)

alarm_compare_mask : Alarm compare mask for interrupt
bits : 24 - 55 (32 bit)


register_ctrl

RTC register settings
address_offset : 0x1C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

register_ctrl register_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 read_enable write_enable timer_mask alarm_mask initial_count_mask interrupt_register_mask

read_enable : RTC timer read enable
bits : 0 - 0 (1 bit)

write_enable : RTC timer write enable
bits : 1 - 2 (2 bit)

timer_mask : RTC timer mask
bits : 13 - 33 (21 bit)

alarm_mask : RTC alarm mask
bits : 21 - 49 (29 bit)

initial_count_mask : RTC counter initial count value mask
bits : 29 - 58 (30 bit)

interrupt_register_mask : RTC interrupt register mask
bits : 30 - 60 (31 bit)


extended

Timer extended information
address_offset : 0x28 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

extended extended 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 century leap_year

century : Century. Range [0,31]
bits : 0 - 4 (5 bit)

leap_year : Is leap year. 1 is leap year, 0 is not leap year
bits : 5 - 10 (6 bit)

Enumeration:

0 : not_leap

0 is not leap year

1 : leap

1 is leap year

End of enumeration elements list.


time

Timer time information
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

time time 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 second minute hour

second : Second. Range [0,59]
bits : 10 - 25 (16 bit)

minute : Minute. Range [0,59]
bits : 16 - 37 (22 bit)

hour : Hour. Range [0,23]
bits : 24 - 52 (29 bit)


alarm_date

Alarm date information
address_offset : 0x8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

alarm_date alarm_date 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 week day month year

week : Week. Range [0,6]. 0 is Sunday.
bits : 0 - 2 (3 bit)

day : Day. Range [1,31] or [1,30] or [1,29] or [1,28]
bits : 8 - 20 (13 bit)

month : Month. Range [1,12]
bits : 16 - 35 (20 bit)

year : Year. Range [0,99]
bits : 20 - 51 (32 bit)


alarm_time

Alarm time information
address_offset : 0xC Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

alarm_time alarm_time 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 second minute hour

second : Second. Range [0,59]
bits : 10 - 25 (16 bit)

minute : Minute. Range [0,59]
bits : 16 - 37 (22 bit)

hour : Hour. Range [0,23]
bits : 24 - 52 (29 bit)



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.