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

I2C debugging utilities (useful when implementing support for new devices). More...

#include "flash.h"
#include "streams.h"
#include "i2c_handler_common.h"
#include "i2c_status.h"
Include dependency graph for i2c_debug.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  i2c::debug::I2CDebugRecorder< SIZE >
 Class recording I2C debug notifications for later output. More...
 
class  i2c::debug::I2CDebugLiveLogger
 Class tracing I2C debug notifications live to out. More...
 
class  i2c::debug::I2CDebugStatusRecorder< SIZE_STATUS, SIZE_DEBUG >
 Class recording I2C debug and status notifications for later output. More...
 
class  i2c::debug::I2CDebugStatusLiveLogger
 Class tracing I2C status and debug notifications live to out. More...
 

Namespaces

 i2c
 Define API to define and manage I2C devices.
 
 i2c::debug
 Defines API to ease I2C devices debugging.
 

Enumerations

enum  i2c::debug::DEBUG : uint8_t {
  i2c::debug::DEBUG::DEBUG_STEPS = 0x01,
  i2c::debug::DEBUG::DEBUG_SEND_OK = 0x02,
  i2c::debug::DEBUG::DEBUG_SEND_ERR = 0x04,
  i2c::debug::DEBUG::DEBUG_RECV_OK = 0x08,
  i2c::debug::DEBUG::DEBUG_RECV_ERR = 0x10,
  i2c::debug::DEBUG::DEBUG_ALL = 0xFF
}
 Indicate what in I2C protocol shall be debugged. More...
 

Detailed Description

I2C debugging utilities (useful when implementing support for new devices).

Definition in file i2c_debug.h.