English
Language : 

C8051F970-A-GM Datasheet, PDF (266/454 Pages) Silicon Laboratories – Low Power Capacitive Sensing MCU with up to 32 kB of Flash
C8051F97x
Register 25.3. RTC0CN: RTC Control
Bit
7
6
Name RTC0EN MCLKEN
Type
RW
RW
Reset
0
0
Indirect Address: 0x04
5
OSCFAIL
RW
X
4
RTC0TR
RW
0
3
RTC0AEN
RW
0
2
ALRM
RW
0
1
0
RTC0SET RTC0CAP
RW
RW
0
0
Bit
Name
Function
7
RTC0EN RTC Enable.
Enables/disables the RTC oscillator and associated bias currents.
0: Disable RTC oscillator.
1: Enable RTC oscillator.
6
MCLKEN Missing RTC Detector Enable.
Enables/disables the missing RTC detector.
0: Disable missing RTC detector.
1: Enable missing RTC detector.
5
OSCFAIL RTC Oscillator Fail Event Flag.
Set by hardware when a missing RTC detector timeout occurs. Must be cleared by firm-
ware. The value of this bit is not defined when the RTC oscillator is disabled.
4
RTC0TR RTC Timer Run Control.
Controls if the RTC timer is running or stopped (holds current value).
0: RTC timer is stopped.
1: RTC timer is running.
3
RTC0AEN RTC Alarm Enable.
Enables/disables the RTC alarm function. Also clears the ALRM flag.
0: Disable RTC alarm.
1: Enable RTC alarm.
2
ALRM RTC Alarm Event Flag and Auto Reset Enable.
Reads return the state of the alarm event flag.
Writes enable/disable the Auto Reset function.
1
RTC0SET RTC Timer Set.
Writing 1 initiates a RTC timer set operation. This bit is cleared to 0 by hardware to indi-
cate that the timer set operation is complete.
0
RTC0CAP RTC Timer Capture.
Writing 1 initiates a RTC timer capture operation. This bit is cleared to 0 by hardware to
indicate that the timer capture operation is complete.
Note: The ALRM flag will remain asserted for a maximum of one RTC cycle.
Rev 1.0
267