-
-
Notifications
You must be signed in to change notification settings - Fork 128
RtcDS3231 AlarmTwo
DS3231AlarmTwo 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.
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:
DS3231AlarmTwoControl_HoursMinutesDayOfMonthMatch - a normal monthly calendar alarm
DS3231AlarmTwoControl_OncePerMinute - triggers every minute
DS3231AlarmTwoControl_MinutesMatch - triggers once an hour when the minute matched
DS3231AlarmTwoControl_HoursMinutesMatch - triggers once a day when hours and minutes match
DS3231AlarmTwoControl_HoursMinutesDayOfWeekMatch - triggers once a week on the given day of the week, hour, and minute
<return>, the day of the week or day of the month, see control flags
<return>, returns the hour, 24 hour format
<return>, returns the minutes
<return>, returns the control flag value