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

I2C Device API. More...

#include "initializer_list.h"
#include "errors.h"
#include "i2c.h"
#include "future.h"
#include "lifecycle.h"
#include "i2c_handler.h"
Include dependency graph for i2c_device.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  i2c::I2CDevice< MANAGER_ >
 Base class for all I2C devices. More...
 

Namespaces

 i2c
 Define API to define and manage I2C devices.
 

Variables

static constexpr Mode i2c::I2C_STANDARD = Mode<I2CMode::STANDARD>{}
 Constant determining that best supported I2C mode for an I2CDevice is STANDARD (100kHz).
 
static constexpr Mode i2c::I2C_FAST = Mode<I2CMode::FAST>{}
 Constant determining that best supported I2C mode for an I2CDevice is FAST (400kHz).
 

Detailed Description

I2C Device API.

Definition in file i2c_device.h.