|
|
| void rtc_show_time_saa1064 |
( |
uint8_t |
current_hour, |
|
|
uint8_t |
current_minute, |
|
|
uint8_t |
current_second, |
|
|
uint8_t |
dcf_status, |
|
|
uint8_t |
update_all |
|
) |
| |
This function shows the current time via SAA1064. It updates the time data only if the second value has changed to avoid overstressing the I2C bus.
Depending on the day and night time cycles, it uses two different LED current values (dimmed night mode). Additionally to that, it signalizes an synchronized DCF77 signal by switching on the decimal point of the last digit.
- Parameters
-
| [in] | current_hour | current hour value |
| [in] | current_minute | current minute value |
| [in] | current_second | current second value |
| [in] | dcf_status | current status of DCF77 synchronization |
| [in] | update_all | if > 0, all values will immediately be updated, otherwise the update happens only for changed values |
- See Also
- DCF77 state definition in file dcf77.h
- Date
- Created 03.02.2013
- Modified 08.02.2013
- Author
- Michael Skutek, micha.nosp@m.el@s.nosp@m.kutek.nosp@m..de
Definition at line 345 of file i2c_rtc_control_operation.c.
Referenced by main().
|