AceTime  1.7.3
Date and time classes for Arduino that support timezones from the TZ Database, and a system clock that can synchronize from an NTP server or an RTC chip.
Public Member Functions | List of all members
ace_time::hw::DS3231Interface Class Referenceabstract

Abstract interface to the DS3231Module to allow different template instantiations (using different AceWire implementations) of DS3231Module to be accessed through a single interface. More...

#include <DS3231Module.h>

Inheritance diagram for ace_time::hw::DS3231Interface:
Inheritance graph
[legend]

Public Member Functions

virtual void readDateTime (HardwareDateTime *dateTime)=0
 
virtual void setDateTime (const HardwareDateTime &dateTime)=0
 
virtual void readTemperature (HardwareTemperature *temperature)=0
 

Detailed Description

Abstract interface to the DS3231Module to allow different template instantiations (using different AceWire implementations) of DS3231Module to be accessed through a single interface.

The overhead of making these calls through the virtual dispatch is expected to be negligible compared to the calls into the I2C library.

Definition at line 27 of file DS3231Module.h.


The documentation for this class was generated from the following file: