FastArduino  v1.8
C++ library to build fast but small Arduino/AVR projects
i2c_device_utilities.h File Reference

Various utilities to use for I2C Device support developers. More...

#include "array.h"
#include "flash.h"
#include "future.h"
#include "iterator.h"
#include "time.h"
#include "utilities.h"
#include "i2c_device.h"
Include dependency graph for i2c_device_utilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  i2c::ReadRegisterFuture< MANAGER, T, BIG_ENDIAN >
 General Future that can be used to read an I2C device register. More...
 
class  i2c::TReadRegisterFuture< MANAGER, REGISTER, T, BIG_ENDIAN >
 Generic Future that can be used to read an I2C device register. More...
 
class  i2c::WriteRegisterFuture< MANAGER, T, BIG_ENDIAN >
 General Future that can be used to write to an I2C device register. More...
 
class  i2c::TWriteRegisterFuture< MANAGER, REGISTER, T, BIG_ENDIAN >
 Generic Future that can be used to write to an I2C device register. More...
 
class  i2c::I2CFutureHelper< MANAGER >
 
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

 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...
 

Detailed Description

Various utilities to use for I2C Device support developers.

Definition in file i2c_device_utilities.h.