13typedef struct _rtc_data_t {
void BM8563_Init()
Initializes the BM8563 real-time clock over i2c.
Definition: bm8563.c:35
void BM8563_GetTime(rtc_date_t *data)
Retrieves the date and time on the BM8563.
Definition: bm8563.c:56
uint8_t BM8563_GetIRQ()
Retrieve the IRQ status from timer/alarm.
Definition: bm8563.c:150
int16_t BM8563_GetTimerTime()
Retrieve the time left in the set timer.
Definition: bm8563.c:137
void BM8563_ClearIRQ()
Clear the IRQ status from timer/alarm.
Definition: bm8563.c:156
void BM8563_SetAlarmIRQ(int8_t minute, int8_t hour, int8_t day, int8_t week)
Sets the date and time "alarm" IRQ with the BM8563.
Definition: bm8563.c:71
void BM8563_SetTime(rtc_date_t *data)
Sets the date and time on the BM8563.
Definition: bm8563.c:42
int16_t BM8563_SetTimerIRQ(int16_t value)
Sets the "timer" IRQ on the BM8563.
Definition: bm8563.c:107
The member defintions of the BM8563 RTC date.
Definition: bm8563.h:13
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