FastArduino  v1.8
C++ library to build fast but small Arduino/AVR projects
devices::rtc::DS1307< MANAGER >::SetDatetimeFuture Class Reference

Create a future to be used by asynchronous method set_datetime(SetDatetimeFuture&). More...

#include <fastarduino/devices/ds1307.h>

Inheritance diagram for devices::rtc::DS1307< MANAGER >::SetDatetimeFuture:
Collaboration diagram for devices::rtc::DS1307< MANAGER >::SetDatetimeFuture:

Detailed Description

template<typename MANAGER>
class devices::rtc::DS1307< MANAGER >::SetDatetimeFuture

Create a future to be used by asynchronous method set_datetime(SetDatetimeFuture&).

This is used by set_datetime() to pass input settings, and it shall be used by the caller to determine when the I2C transaction is finished.

Parameters
datetimethe new date/time to set on the RTC chip; all values must be properly set and be correct, in particular, note that tm::tm_wday must be set correctly by yourself (the RTC chip does not calculate it itself).
See also
set_datetime(SetDatetimeFuture&)

Definition at line 167 of file ds1307.h.


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