Instructions

249 C-Control Pro IDE
© 2013 Conrad Electronic
RTC (Real Time Clock)
The RTC is controlled by a 10ms interrupt and runs in the background independent of the user pro-
gram. The display on the LCD is updated every second. The display format is in the first line: Hour :
Minute : Second, in the second line: Date of Day : Month : Year.
LED1 flashes once per second.
After program start the RTC begins with the set time. The date is set to zero and thus indicates that
no DCF time adjustment has yet taken place. After reception of the DCF time the RTC is updated
with the current data. The RTC is not backed up by a battery, i. e. the clock time will not be updated
if there is no power applied to the Controller.
5.7.1 DCF_FRAME
DCF Functions
Syntax
void DCF_FRAME(void);
Sub DCF_FRAME()
Description
Set DCF_Mode to 3 ("data decode and save, parity check").
Parameter
None
5.7.2 DCF_INIT
DCF Functions
Syntax
void DCF_INIT(void);
Sub DCF_INIT()
Description
DCF_INIT initializes DCF usage. The input of the DCF signal is adjusted. DCF_Mode is set to 0.
Parameter
None