FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
|
Various utilities to use for I2C Device support developers. More...
#include "flash.h"
#include "functors.h"
#include "future.h"
#include "initializer_list.h"
#include "iterator.h"
#include "time.h"
#include "utilities.h"
#include "i2c_device.h"
Go to the source code of this file.
Classes | |
class | i2c::ReadRegisterFuture< MANAGER, T, FUNCTOR > |
General Future that can be used to read an I2C device register. More... | |
class | i2c::TReadRegisterFuture< MANAGER, REGISTER, T, FUNCTOR > |
Generic Future that can be used to read an I2C device register. More... | |
class | i2c::WriteRegisterFuture< MANAGER, T, FUNCTOR > |
General Future that can be used to write to an I2C device register. More... | |
class | i2c::TWriteRegisterFuture< MANAGER, REGISTER, T, FUNCTOR > |
Generic Future that can be used to write to an I2C device register. More... | |
class | i2c::TWriteMultiRegisterFuture< MANAGER, T, REGISTERS > |
Generic Future that can be used to write to several I2C device registers. More... | |
class | i2c::I2CFuturesGroup< MANAGER > |
Abstract class to allow aggregation of several futures in relation to I2C transactions. More... | |
class | i2c::I2CSameFutureGroup< MANAGER > |
Class to allow dynamic creation of futures from values stored in flash memory, leading to launch of I2C transactions. More... | |
Namespaces | |
namespace | i2c |
Define API to define and manage I2C devices. | |
Functions | |
template<typename MANAGER > | |
bool | i2c::await_same_future_group (I2CDevice< MANAGER > &device, const uint8_t *buffer, uint8_t size) |
Helper function that creates a I2CSameFutureGroup instance for the provided flash array, launches its I2C transactions on the provided I2C device, and waits for the transaction to finish. More... | |
Various utilities to use for I2C Device support developers.
Definition in file i2c_device_utilities.h.