j

Dependents:   LPC-SD-35

Fork of ds3231 by Maxim Integrated

Embed: (wiki syntax)

« Back to documentation index

ds3231_alrm_t Struct Reference

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

Definition at line 159 of file ds3231.h.