|
FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
|
Abstract synchronous I2C Manager for ATtiny architecture. More...
#include <fastarduino/i2c_handler_attiny.h>


Friends | |
| template<typename > | |
| class | I2CDevice |
Additional Inherited Members | |
Public Types inherited from i2c::AbstractI2CSyncManager< ATtinyI2CSyncHandler< MODE_, HAS_STATUS_, STATUS_HOOK_ >, MODE_, STATUS_HOOK_, HAS_DEBUG_, DEBUG_HOOK_ > | |
| using | ABSTRACT_FUTURE = future::AbstractFakeFuture |
| The abstract base class of all futures to be defined for this I2C Manager. More... | |
| using | FUTURE = future::FakeFuture< OUT, IN > |
| The template base class of all futures to be defined for this I2C Manager. More... | |
Public Member Functions inherited from i2c::AbstractI2CSyncManager< ATtinyI2CSyncHandler< MODE_, HAS_STATUS_, STATUS_HOOK_ >, MODE_, STATUS_HOOK_, HAS_DEBUG_, DEBUG_HOOK_ > | |
| void | begin () |
| Prepare and enable the MCU for I2C transmission. More... | |
| void | end () |
| Disable MCU I2C transmission. More... | |
| void | begin_ () |
| Prepare and enable the MCU for I2C transmission. More... | |
| void | end_ () |
| Disable MCU I2C transmission. More... | |
Abstract synchronous I2C Manager for ATtiny architecture.
You should never need to subclass AbstractI2CSyncManager yourself.
| MODE_ | the I2C mode for this manager |
| HAS_STATUS_ | tells this I2C Manager to call a status hook at each step of an I2C transaction; using false will generate smaller code. |
| STATUS_HOOK_ | the type of the hook to be called when HAS_STATUS_ is true. This can be a simple function pointer (of type I2C_STATUS_HOOK) or a Functor class (or Functor class reference). Using a Functor class will generate smaller code. |
| HAS_DEBUG_ | tells this I2C Manager to call a debugging hook at each step of an I2C transaction; this is useful for debugging support for a new I2C device; using false will generate smaller code. |
| DEBUG_HOOK_ | the type of the hook to be called when HAS_DEBUG_ is true. This can be a simple function pointer (of type I2C_DEBUG_HOOK) or a Functor class (or Functor class reference). Using a Functor class will generate smaller code. |
Definition at line 278 of file i2c_handler_attiny.h.
|
friend |
Definition at line 299 of file i2c_handler_attiny.h.