Class Pcf8563
Realtime Clock PCF8563.
public class Pcf8563 : RtcBase
- Inheritance
-
Pcf8563
- Inherited Members
Constructors
Pcf8563(I2cDevice)
Initializes a new instance of the Pcf8563 class.
public Pcf8563(I2cDevice i2cDevice)
Parameters
i2cDevice
I2cDeviceThe I2C device used for communication.
Fields
DefaultI2cAddress
PCF8563 Default I2C Address.
public const byte DefaultI2cAddress = 81
Field Value
Methods
Dispose(bool)
Releases the unmanaged resources used by the RtcBase and optionally releases the managed resources.
protected override void Dispose(bool disposing)
Parameters
disposing
boolTrue to release both managed and unmanaged resources; false to release only unmanaged resources.
ReadTime()
Read Time from PCF8563.
protected override DateTime ReadTime()
Returns
- DateTime
PCF8563 Time.
SetTime(DateTime)
Set PCF8563 Time.
protected override void SetTime(DateTime time)
Parameters
time
DateTimeTime.