1#ifndef __PX_RTC_M41T00_H__
2#define __PX_RTC_M41T00_H__
49#define PX_M41T00_SLA_ADR 0x68
uint8_t sec
Seconds: 0 to 59.
uint8_t year
Years: 00 to 99.
uint8_t hour
Hours: 0 to 23.
uint8_t day_of_month
Days of Month: 1 to 31 (depending on month)
uint8_t min
Minutes: 0 to 59.
uint8_t month
Months: 1 to 12.
uint8_t day_of_week
Day of Week: 1 to 7.
bool px_m41t00_get_time(px_m41t00_time_t *px_rtc_time)
Get RTC time using I2C driver.
bool px_m41t00_set_time(const px_m41t00_time_t *px_rtc_time)
Set RTC time using I2C driver.
void px_m41t00_init(px_i2c_handle_t *px_i2c_handle)
Initialise driver.
Structure to store time and date.
Define I2C handle for a slave.