modm API documentation
modm::I2cTransaction::Reading Struct Reference

Public Member Functions

 Reading (uint8_t *buffer, std::size_t length, OperationAfterRead next)
 

Public Attributes

uint8_t * buffer
 
std::size_t length
 
OperationAfterRead next
 

Constructor & Destructor Documentation

modm::I2cTransaction::Reading::Reading ( uint8_t *  buffer,
std::size_t  length,
OperationAfterRead  next 
)
inline

Contains the information required to begin a read operation.

Parameters
bufferbuffer to be filled with the bytes received from the slave
lengthnumber of bytes to be read
nextoperation following the successful reading from the slave

The documentation for this struct was generated from the following file: