Class Ds3231AlarmOne
Represents alarm 1 on the DS3231.
public class Ds3231AlarmOne
- Inheritance
-
Ds3231AlarmOne
Constructors
Ds3231AlarmOne(int, TimeSpan, Ds3231AlarmOneMatchMode)
Initializes a new instance of the Ds3231AlarmOne class.
public Ds3231AlarmOne(int dayOfMonthOrWeek, TimeSpan alarmTime, Ds3231AlarmOneMatchMode matchMode)
Parameters
dayOfMonthOrWeek
intDay of month or day of week of the alarm. Which one it is depends on the match mode.
alarmTime
TimeSpanTime of the alarm.
matchMode
Ds3231AlarmOneMatchModeMode to use to determine when to trigger the alarm.
Properties
AlarmTime
Gets or sets the time the alarm, Hour, Minute and Second 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 Ds3231AlarmOneMatchMode MatchMode { get; set; }