\n
address_offset : 0x0 Bytes (0x0)
size : 0x400 byte (0x0)
mem_usage : registers
protection :
RTC Second Counter. This register contains the 32-bit second counter.
address_offset : 0x0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SEC : Seconds Counter.
bits : 0 - 7 (8 bit)
RTC Control Register.
address_offset : 0x10 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EN : Real Time Clock Enable. This bit enables the Real Time Clock. This bit can only be written when WE=1 and BUSY =0. Change to this bit is effective only after BUSY is cleared from 1 to 0.
bits : 0 - 0 (1 bit)
Enumeration:
0 : dis
Disable.
1 : en
Enable.
End of enumeration elements list.
TOD_ALARM_IE : Alarm Time-of-Day Interrupt Enable. Change to this bit is effective only after BUSY is cleared from 1 to 0.
bits : 1 - 1 (1 bit)
Enumeration:
0 : dis
Disable.
1 : en
Enable.
End of enumeration elements list.
SSEC_ALARM_IE : Alarm Sub-second Interrupt Enable. Change to this bit is effective only after BUSY is cleared from 1 to 0.
bits : 2 - 2 (1 bit)
Enumeration:
0 : dis
Disable.
1 : en
Enable.
End of enumeration elements list.
BUSY : RTC Busy. This bit is set to 1 by hardware when changes to RTC registers required a synchronized version of the register to be in place. This bit is automatically cleared by hardware.
bits : 3 - 3 (1 bit)
access : read-only
Enumeration:
0 : idle
Idle.
1 : busy
Busy.
End of enumeration elements list.
RDY : RTC Ready. This bit is set to 1 by hardware when the RTC count registers update. It can be cleared to 0 by software at any time. It will also be cleared to 0 by hardware just prior to an update of the RTC count register.
bits : 4 - 4 (1 bit)
Enumeration:
0 : busy
Register has not updated.
1 : ready
Ready.
End of enumeration elements list.
RDY_IE : RTC Ready Interrupt Enable.
bits : 5 - 5 (1 bit)
Enumeration:
0 : dis
Disable.
1 : en
Enable.
End of enumeration elements list.
TOD_ALARM : Time-of-Day Alarm Interrupt Flag. This alarm is qualified as wake-up source to the processor.
bits : 6 - 6 (1 bit)
access : read-only
Enumeration:
0 : inactive
Not active
1 : Pending
Active
End of enumeration elements list.
SSEC_ALARM : Sub-second Alarm Interrupt Flag. This alarm is qualified as wake-up source to the processor.
bits : 7 - 7 (1 bit)
access : read-only
Enumeration:
0 : inactive
Not active
1 : Pending
Active
End of enumeration elements list.
SQW_EN : Square Wave Output Enable.
bits : 8 - 8 (1 bit)
Enumeration:
0 : inactive
Not active
1 : Pending
Active
End of enumeration elements list.
SQW_SEL : Frequency Output Selection. When SQE=1, these bits specify the output frequency on the SQW pin.
bits : 9 - 10 (2 bit)
Enumeration:
0 : freq1Hz
1 Hz (Compensated).
1 : freq512Hz
512 Hz (Compensated).
2 : freq4KHz
4 KHz.
3 : clkDiv8
RTC Input Clock / 8.
End of enumeration elements list.
RD_EN : Asynchronous Counter Read Enable.
bits : 14 - 14 (1 bit)
WR_EN : Write Enable. This register bit serves as a protection mechanism against unintentional writes to critical RTC bits.
bits : 15 - 15 (1 bit)
Enumeration:
0 : inactive
Not active
1 : Pending
Active
End of enumeration elements list.
RTC Trim Register.
address_offset : 0x14 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
TRIM : RTC Trim. This register contains the 2's complement value that specifies the trim resolution. Each increment or decrement of the bit adds or subtracts 1ppm at each 4KHz clock value, with a maximum correction of +/- 127ppm.
bits : 0 - 7 (8 bit)
VRTC_TMR : VBAT Timer Value. When RTC is running off of VBAT, this field is incremented every 32 seconds.
bits : 8 - 31 (24 bit)
RTC Oscillator Control Register.
address_offset : 0x18 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
BYPASS : RTC Crystal Bypass
bits : 4 - 4 (1 bit)
SQW_32K : RTC 32kHz Square Wave Output
bits : 5 - 5 (1 bit)
RTC Sub-second Counter. This counter increments at 256Hz. RTC_SEC is incremented when this register rolls over from 0xFF to 0x00.
address_offset : 0x4 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SSEC : Sub-Seconds Counter (12-bit).
bits : 0 - 7 (8 bit)
Time-of-day Alarm.
address_offset : 0x8 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
TOD_ALARM : Time-of-day Alarm.
bits : 0 - 19 (20 bit)
RTC sub-second alarm. This register contains the reload value for the sub-second alarm.
address_offset : 0xC Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SSEC_ALARM : This register contains the reload value for the sub-second alarm.
bits : 0 - 31 (32 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.