32 #ifndef BSP430_CHIPS_DS3231_H
33 #define BSP430_CHIPS_DS3231_H
58 #define DS3231_I2C_ADDRESS 0x68
61 #if defined(BSP430_DOXYGEN)
uint8_t alrm1_doa
Definition: ds3231.h:77
uint8_t dom
Definition: ds3231.h:71
uint8_t dow
Definition: ds3231.h:70
uint8_t temp_msb
Definition: ds3231.h:84
uint8_t aging
Definition: ds3231.h:83
Common header included by all BSP430 leaf headers.
uint8_t alrm2_min
Definition: ds3231.h:78
uint8_t alrm2_hr
Definition: ds3231.h:79
uint8_t alrm2_doa
Definition: ds3231.h:80
uint8_t temp_lsb
Definition: ds3231.h:85
#define BSP430_CORE_PACKED_STRUCT(nm_)
Definition: core.h:468
uint8_t ctrl
Definition: ds3231.h:81
uint8_t seconds
Definition: ds3231.h:67
unsigned int uiDS3231decodeHour(uint8_t hour_ds3231)
const struct tm * xDS3231registersToTm(const sDS3231registers *regp, struct tm *timep)
uint8_t mon_cen
Definition: ds3231.h:72
const sDS3231registers * xDS3231tmToRegisters(const struct tm *timep, sDS3231registers *regp)
uint8_t alrm1_hr
Definition: ds3231.h:76
uint8_t minutes
Definition: ds3231.h:68
uint8_t alrm1_min
Definition: ds3231.h:75
uint8_t ucDS3231encodeHour(unsigned int hours, int is_12h)
uint8_t hours
Definition: ds3231.h:69
uint8_t alrm1_sec
Definition: ds3231.h:74
uint8_t stat
Definition: ds3231.h:82
uint8_t year
Definition: ds3231.h:73