void BM8563_SetTime(rtc_date_t *data)
Sets the date and time on the BM8563.
Definition: bm8563.c:42
The member defintions of the BM8563 RTC date.
Definition: bm8563.h:13
Sets the date and time on the BM8563.
Example:
Set the date and time to September 30, 2020 13:40:10.
uint16_t year
Date year.
Definition: bm8563.h:15
uint8_t second
Time second.
Definition: bm8563.h:20
uint8_t minute
Time minute.
Definition: bm8563.h:19
uint8_t day
Date day.
Definition: bm8563.h:17
uint8_t hour
Time hour.
Definition: bm8563.h:18
uint8_t month
Date month.
Definition: bm8563.h:16
- Parameters
-
| [in] | data | Desired date and time. |