FastArduino
v1.9
C++ library to build fast but small Arduino/AVR projects
|
Synchronous I2C Manager for ATmega architecture with status notification and debug facilities and support for dynamic proxies. More...
#include <fastarduino/i2c_handler_atmega.h>
Public Member Functions | |
I2CSyncLCStatusDebugManager (lifecycle::AbstractLifeCycleManager &lifecycle_manager, STATUS_HOOK_ status_hook, DEBUG_HOOK_ debug_hook) | |
I2CSyncLCStatusDebugManager (lifecycle::AbstractLifeCycleManager &lifecycle_manager, STATUS_HOOK_ status_hook, DEBUG_HOOK_ debug_hook) | |
Public Member Functions inherited from i2c::AbstractI2CSyncManager< ARCH_HANDLER_, MODE_, HAS_LC_, 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... | |
Additional Inherited Members | |
Public Types inherited from i2c::AbstractI2CSyncATmegaManager< MODE_, true, true, I2C_STATUS_HOOK, true, I2C_DEBUG_HOOK > | |
using | ABSTRACT_FUTURE = typename PARENT::ABSTRACT_FUTURE |
using | PROXY = typename PARENT::template PROXY< T > |
using | FUTURE = typename PARENT::template FUTURE< OUT, IN > |
Public Types inherited from i2c::AbstractI2CSyncManager< ARCH_HANDLER_, MODE_, HAS_LC_, STATUS_HOOK_, HAS_DEBUG_, DEBUG_HOOK_ > | |
using | ABSTRACT_FUTURE = future::AbstractFakeFuture |
template<typename T > | |
using | PROXY = typename LC::template PROXY< T > |
template<typename OUT , typename IN > | |
using | FUTURE = future::FakeFuture< OUT, IN > |
Public Types inherited from i2c::AbstractI2CSyncATtinyManager< MODE_, true, true, I2C_STATUS_HOOK, true, I2C_DEBUG_HOOK > | |
using | ABSTRACT_FUTURE = typename PARENT::ABSTRACT_FUTURE |
using | PROXY = typename PARENT::template PROXY< T > |
using | FUTURE = typename PARENT::template FUTURE< OUT, IN > |
Protected Types inherited from i2c::AbstractI2CSyncManager< ARCH_HANDLER_, MODE_, HAS_LC_, STATUS_HOOK_, HAS_DEBUG_, DEBUG_HOOK_ > | |
using | ARCH_HANDLER = ARCH_HANDLER_ |
using | MODE_TRAIT = I2CMode_trait< MODE_ > |
using | I2C_TRAIT = board_traits::TWI_trait |
using | REG8 = board_traits::REG8 |
using | DEBUG = I2CDebugSupport< HAS_DEBUG_, DEBUG_HOOK_ > |
using | LC = I2CLifeCycleSupport< HAS_LC_ > |
Synchronous I2C Manager for ATmega architecture with status notification and debug facilities and support for dynamic proxies.
Synchronous I2C Manager for ATtiny architecture with status notification and debug facilities and support for dynamic proxies.
MODE_ | the I2C mode for this manager |
STATUS_HOOK_ | the type of the hook to be called. 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. |
DEBUG_HOOK_ | the type of the hook to be called. 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 1333 of file i2c_handler_atmega.h.