\n
Timer date information
address_offset : 0x0 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
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)
Timer counter initial value
address_offset : 0x10 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
count : RTC counter initial value
bits : 0 - 31 (32 bit)
Timer counter current value
address_offset : 0x14 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
count : RTC counter current value
bits : 0 - 31 (32 bit)
RTC interrupt settings
address_offset : 0x18 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
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)
RTC register settings
address_offset : 0x1C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
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)
Timer extended information
address_offset : 0x28 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
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.
Timer time information
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
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 information
address_offset : 0x8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
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 information
address_offset : 0xC Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
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 Embeetle, an IDE designed from scratch for embedded software developers.