Table of Contents

Class Ds3231AlarmTwo

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

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 int

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

alarmTime TimeSpan

The time the alarm, Hour and Minute are used.

matchMode Ds3231AlarmTwoMatchMode

Mode 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

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 Ds3231AlarmTwoMatchMode MatchMode { get; set; }

Property Value

Ds3231AlarmTwoMatchMode