#include "DS3231.h"
Functions | |
unsigned char | bcd_to_decimal (unsigned char d) |
unsigned char | decimal_to_bcd (unsigned char d) |
unsigned char | DS3231_Read (unsigned char reg) |
void | DS3231_Write (unsigned char reg, unsigned char value) |
void | DS3231_init () |
void | getTime (uint32_t *rtctime, unsigned char *second, short *AMPM, short hour_format) |
void | getDate (uint32_t *date) |
void | setTime (uint32_t timeSet, unsigned char sSet, short am_pm_state, short hour_format) |
void | setDate (uint32_t dateSet) |
float | getTemperature () |
unsigned char bcd_to_decimal | ( | unsigned char | d | ) |
unsigned char decimal_to_bcd | ( | unsigned char | d | ) |
void DS3231_init | ( | ) |
unsigned char DS3231_Read | ( | unsigned char | reg | ) |
void DS3231_Write | ( | unsigned char | reg, |
unsigned char | value | ||
) |
void getDate | ( | uint32_t * | date | ) |
float getTemperature | ( | ) |
void getTime | ( | uint32_t * | rtctime, |
unsigned char * | second, | ||
short * | AMPM, | ||
short | hour_format | ||
) |
void setDate | ( | uint32_t | dateSet | ) |
void setTime | ( | uint32_t | timeSet, |
unsigned char | sSet, | ||
short | am_pm_state, | ||
short | hour_format | ||
) |