Characteristic Locus
Inheritance System.Object Ds323x > Ds3231
Inherited Members Ds323x._ds323x Ds323x._interruptPort Ds323x.OnAlarm1Raised Ds323x.OnAlarm2Raised Ds323x.CurrentDateTime Ds323x.Temperature Ds323x.ControlRegister Ds323x.ControlStatusRegister Ds323x.WhichAlarm Ds323x.InterruptPort_Changed(Object, EventArgs) Ds323x.DecodeDateTimeRegisters(Byte[]) Ds323x.EncodeDateTimeRegisters(DateTime) Ds323x.DayOfWeekToByte(DayOfWeek) Ds323x.SetAlarm(Ds323x.Alarm, DateTime, Ds323x.AlarmType) Ds323x.EnableDisableAlarm(Ds323x.Alarm, Boolean) Ds323x.ClearInterrupt(Ds323x.Alarm) Ds323x.DisplayRegisters() System.Object.ToString() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone()
Namespace Meadow.Foundation.RTCs
Assembly DS323x.dll

Syntax

public class Ds3231 : Ds323x

Constructors

Ds3231(II2cBus, IDigitalInputPort, Byte, UInt16)

Create a new Ds3231 object using the default parameters for the component.

Declaration
public Ds3231(II2cBus i2cBus, IDigitalInputPort interruptPort, byte address = 104, ushort speed = 100)

Parameters

Type Name Description
II2cBus i2cBus
IDigitalInputPort interruptPort

Digital port connected to the alarm interrupt pin on the RTC.

System.Byte address

Address of the DS3231 (default = 0x68).

System.UInt16 speed

Speed of the I2C bus (default = 100 KHz).

Ds3231(IIODevice, II2cBus, IPin, Byte, UInt16)

Create a new MAG3110 object using the default parameters for the component.

Declaration
public Ds3231(IIODevice device, II2cBus i2cBus, IPin interruptPin, byte address = 104, ushort speed = 100)

Parameters

Type Name Description
IIODevice device
II2cBus i2cBus
IPin interruptPin

Digital pin connected to the alarm interrupt pin on the RTC.

System.Byte address
System.UInt16 speed