-
-
Notifications
You must be signed in to change notification settings - Fork 127
PCF8563Alarm
Michael Miller edited this page Jul 27, 2023
·
2 revisions
PCF8563Alarm is used to set the properties of the alarm.
PCF8563Alarm(uint8_t dayOfMonth, uint8_t hour, uint8_t minute, uint8_t dayOfWeek, uint8_t controlFlags)
Construct an alarm settings object.
dayOfMonth - (1-31) the day of the month to match
hour - (1-24) the hour of the day to match
dayOfWeek - (0-6) the day of the week to match
controlFlags - a set of flags combined that define which of the above properties are used to match with the current time to trigger the alarm.
- PCF8563AlarmControl_MinuteMatch - match the minutes
- PCF8563AlarmControl_HourMatch - match the hour
- PCF8563AlarmControl_DayOfMonthMatch - match the day of the month
- PCF8563AlarmControl_DayOfWeekMatch - match the day of the week
<return>, the day of the month
<return>, returns the hour, 24 hour format
<return>, returns the minutes
<return>, the day of the week
<return>, returns the control flag value