FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
devices::rtc::DS1307< MANAGER >::SetRamFuture< SIZE_ > Class Template Reference

Create a future to be used by asynchronous method set_ram(SetRamFuture<SIZE>&). More...

#include <fastarduino/devices/ds1307.h>

Inheritance diagram for devices::rtc::DS1307< MANAGER >::SetRamFuture< SIZE_ >:
Collaboration diagram for devices::rtc::DS1307< MANAGER >::SetRamFuture< SIZE_ >:

Detailed Description

template<typename MANAGER>
template<uint8_t SIZE_>
class devices::rtc::DS1307< MANAGER >::SetRamFuture< SIZE_ >

Create a future to be used by asynchronous method set_ram(SetRamFuture<SIZE>&).

This is used by set_ram() to set device data, and it shall be used by the caller to determine when the I2C transaction is finished.

Template Parameters
SIZE_the number of bytes to set to the chip RAM
Parameters
addressthe address of the first cell to set, must be between 0 and ram_size().
dataa point to a buffer of size SIZE_ which content will be written to the chip RAM starting at address
See also
set_ram(SetRamFuture<SIZE>&)

Definition at line 293 of file ds1307.h.


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