modm API documentation
modm::I2cTransaction::Writing Struct Reference

Public Member Functions

 Writing (const uint8_t *buffer, std::size_t length, OperationAfterWrite next)
 

Public Attributes

const uint8_t * buffer
 
std::size_t length
 
OperationAfterWrite next
 

Constructor & Destructor Documentation

modm::I2cTransaction::Writing::Writing ( const uint8_t *  buffer,
std::size_t  length,
OperationAfterWrite  next 
)
inline

Contains the information required to begin a write operation.

Parameters
bufferbuffer containing the data to write to the slave
lengthnumber of bytes to be written
nextoperation following the successful writing to the slave

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