Class Ds3231AlarmTwo
Represents alarm 2 on the DS3231.
public class Ds3231AlarmTwo
- Inheritance
-
Ds3231AlarmTwo
Constructors
Ds3231AlarmTwo(int, TimeSpan, Ds3231AlarmTwoMatchMode)
Initializes a new instance of the Ds3231AlarmTwo class.
public Ds3231AlarmTwo(int dayOfMonthOrWeek, TimeSpan alarmTime, Ds3231AlarmTwoMatchMode matchMode)
Parameters
dayOfMonthOrWeek
intDay of month or day of week of the alarm. Which one it is depends on the match mode.
alarmTime
TimeSpanThe time the alarm, Hour and Minute are used.
matchMode
Ds3231AlarmTwoMatchModeMode to use to determine when to trigger the alarm.
Properties
AlarmTime
Gets or sets the time the alarm, Hour and Minute are used.
public TimeSpan AlarmTime { get; set; }
Property Value
DayOfMonthOrWeek
Gets or sets day of month or day of week of the alarm. Which one it is depends on the match mode.
public int DayOfMonthOrWeek { get; set; }
Property Value
MatchMode
Gets or sets mode to use to determine when to trigger the alarm.
public Ds3231AlarmTwoMatchMode MatchMode { get; set; }