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

ATtiny I2C Manager API. More...

#include <util/delay_basic.h>
#include "i2c.h"
#include "future.h"
#include "bits.h"
#include "utilities.h"
#include "i2c_handler_common.h"
Include dependency graph for i2c_handler_attiny.h:

Go to the source code of this file.

Classes

class  i2c::AbstractI2CSyncATtinyManager< MODE_, HAS_LC_, HAS_STATUS_, STATUS_HOOK_, HAS_DEBUG_, DEBUG_HOOK_ >
 Abstract synchronous I2C Manager for ATtiny architecture. More...
 
class  i2c::I2CSyncManager< MODE_ >
 Synchronous I2C Manager for ATmega architecture. More...
 
class  i2c::I2CSyncStatusManager< MODE_, STATUS_HOOK_ >
 Synchronous I2C Manager for ATmega architecture wit status notification facility. More...
 
class  i2c::I2CSyncDebugManager< MODE_, DEBUG_HOOK_ >
 Synchronous I2C Manager for ATmega architecture with debug facility. More...
 
class  i2c::I2CSyncStatusDebugManager< MODE_, STATUS_HOOK_, DEBUG_HOOK_ >
 Synchronous I2C Manager for ATmega architecture with status notification and debug facility. More...
 
class  i2c::I2CSyncLCManager< MODE_ >
 Synchronous I2C Manager for ATmega architecture with support for dynamic proxies. More...
 
class  i2c::I2CSyncLCStatusManager< MODE_, STATUS_HOOK_ >
 Synchronous I2C Manager for ATmega architecture with status notification facility and support for dynamic proxies. More...
 
class  i2c::I2CSyncLCDebugManager< MODE_, DEBUG_HOOK_ >
 Synchronous I2C Manager for ATmega architecture with debug facility and support for dynamic proxies. More...
 
class  i2c::I2CSyncLCStatusDebugManager< MODE_, STATUS_HOOK_, DEBUG_HOOK_ >
 Synchronous I2C Manager for ATmega architecture with status notification and debug facilities and support for dynamic proxies. More...
 

Namespaces

 i2c
 Define API to define and manage I2C devices.
 

Macros

#define I2C_TRUE_ASYNC   0
 This macro indicates if truly asynchronous I2C management is available for a platform: More...
 

Detailed Description

ATtiny I2C Manager API.

This defines the synchronous I2C Manager for ATtiny architecture.

Definition in file i2c_handler_attiny.h.

Macro Definition Documentation

◆ I2C_TRUE_ASYNC

#define I2C_TRUE_ASYNC   0

This macro indicates if truly asynchronous I2C management is available for a platform:

  • for ATmega architecture, it is set to 1
  • for ATtiny architecture, it is set to 0

Definition at line 47 of file i2c_handler_attiny.h.