Skip to content
Michael Miller edited this page Jul 16, 2019 · 1 revision

DS3234AlarmTwo represents the settings for the alarm two. It is used to set and retrieve the state of the Alarm two.
This alarm is can only be configured to the minute.

Constructors

DS3234AlarmTwo( uint8_t dayOf, uint8_t hour, uint8_t minute, DS3234AlarmTwoControl controlFlags)

Construct an alarm two settings object.
dayOf - (0-6) (1-31) day of the week or the day of the month , see flags below
hour - (0-23) the hour of the day
minute - (0-59) the minute of the hour
controlFlags - one of the following to control the alarm operation:
DS3234AlarmTwoControl_HoursMinutesDayOfMonthMatch - a normal monthly calendar alarm
DS3234AlarmTwoControl_OncePerMinute - triggers every minute
DS3234AlarmTwoControl_MinutesMatch - triggers once an hour when the minute matched
DS3234AlarmTwoControl_HoursMinutesMatch - triggers once a day when hours and minutes match
DS3234AlarmTwoControl_HoursMinutesDayOfWeekMatch - triggers once a week on the given day of the week, hour, and minute

Methods

uint8_t DayOf()

<return>, the day of the week or day of the month, see control flags

uint8_t Hour()

<return>, returns the hour, 24 hour format

uint8_t Minute()

<return>, returns the minutes

DS3234AlarmTwoControl ControlFlags()

<return>, returns the control flag value