j
Fork of ds3231 by
ds3231_alrm_t Struct Reference
ds3231_alrm_t - Struct for containing alarm data. More...
#include <ds3231.h>
Detailed Description
ds3231_alrm_t - Struct for containing alarm data.
Members:
- uint32_t seconds - Use decimal value. Member fx's convert to BCD
- uint32_t minutes - Use decimal value. Member fx's convert to BCD
- uint32_t hours - Use decimal value. Member fx's convert to BCD
- uint32_t day - Use decimal value. Member fx's convert to BCD
- uint32_t date - Use decimal value. Member fx's convert to BCD
- bool am1 - Flag for setting alarm rate
- bool am2 - Flag for setting alarm rate
- bool am3 - Flag for setting alarm rate
- bool am4 - Flag for setting alarm rate
- bool am_pm - TRUE for PM, same logic as datasheet
- bool mode - TRUE for 12 hour, same logic as datasheet
- bool dy_dt - TRUE for Day, same logic as datasheet
Generated on Sun Jul 24 2022 08:51:26 by 1.7.2