FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
i2c::I2CSyncStatusManager< MODE_, STATUS_HOOK_ > Class Template Reference

Synchronous I2C Manager for ATmega architecture wit status notification facility. More...

#include <fastarduino/i2c_handler_atmega.h>

Inheritance diagram for i2c::I2CSyncStatusManager< MODE_, STATUS_HOOK_ >:
Collaboration diagram for i2c::I2CSyncStatusManager< MODE_, STATUS_HOOK_ >:

Additional Inherited Members

- Public Types inherited from i2c::AbstractI2CSyncManager< ATmegaI2CSyncHandler< 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 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< ATmegaI2CSyncHandler< 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...
 
- 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...
 

Detailed Description

template<I2CMode MODE_, typename STATUS_HOOK_ = I2C_STATUS_HOOK>
class i2c::I2CSyncStatusManager< MODE_, STATUS_HOOK_ >

Synchronous I2C Manager for ATmega architecture wit status notification facility.

Synchronous I2C Manager for ATtiny architecture with status notification facility.

This class offers no support for dynamic proxies.

Template Parameters
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.
See also
i2c::I2CMode

Definition at line 961 of file i2c_handler_atmega.h.


The documentation for this class was generated from the following files: