|
|
| void rtc_show_date_saa1064 |
( |
uint8_t |
current_day, |
|
|
uint8_t |
current_month, |
|
|
uint16_t |
current_year, |
|
|
uint8_t |
current_hour, |
|
|
uint8_t |
current_minute, |
|
|
uint8_t |
current_second, |
|
|
uint8_t |
reset |
|
) |
| |
This function shows the current date via SAA1064. It switches the date for each function call from day/month to year and back. Therefore this function should be called for 4 times to go through all the states.
Depending on the day and night time cycles, it uses two different LED current values (dimmed night mode) and two different types of date information changing.
- Parameters
-
| [in] | current_day | current day value |
| [in] | current_month | current month value |
| [in] | current_year | current year value |
| [in] | current_hour | current hour value (for day/night mode) |
| [in] | current_minute | current minute value (for day/night mode) |
| [in] | current_second | current second value (for day/night mode) |
| [in] | reset | if > 0, the functions resets the internal state and clears all digits |
- Date
- Created 25.02.2013
- Modified 25.02.2013
- Author
- Michael Skutek, micha.nosp@m.el@s.nosp@m.kutek.nosp@m..de
Definition at line 469 of file i2c_rtc_control_operation.c.
Referenced by main().
|