-
-
Notifications
You must be signed in to change notification settings - Fork 127
RtcDS3234 AlarmTwo
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.
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
<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