Table of Contents

Class Ds3231AlarmOne

Namespace
Iot.Device.Rtc
Assembly
Iot.Device.Rtc.dll

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 int

Day of month or day of week of the alarm. Which one it is depends on the match mode.

alarmTime TimeSpan

Time of the alarm.

matchMode Ds3231AlarmOneMatchMode

Mode 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

TimeSpan

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

int

MatchMode

Gets or sets mode to use to determine when to trigger the alarm.

public Ds3231AlarmOneMatchMode MatchMode { get; set; }

Property Value

Ds3231AlarmOneMatchMode