Lines Matching full:write
143 /** @brief Write byte data to i2c
145 * @param[in] data - The data to write to the i2c device
149 virtual void write(uint8_t data) = 0;
151 /** @brief Write byte data to i2c
154 * @param[in] data - The data to write to the i2c device
158 virtual void write(uint8_t addr, uint8_t data) = 0;
160 /** @brief Write word data to i2c
162 * Uses the SMBus Write Word protocol. Writes two bytes to the device, and
166 * @param[in] data - The data to write to the i2c device
170 virtual void write(uint8_t addr, uint16_t data) = 0;
172 /** @brief Write block data to i2c
175 * @param[in] size - The size of data to write, SMBus allows at most 32
177 * @param[in] data - The data to write to the i2c device
178 * @param[in] mode - The block write mode, either SMBus or I2C.
185 virtual void write(uint8_t addr, uint8_t size, const uint8_t* data,
188 /** @brief SMBus Process Call protocol to write and then read word data
191 * @param[in] writeData - The data to write to the i2c device
199 /** @brief SMBus Block Write-Block Read Process Call protocol
201 * The maximum write size depends on the SMBus version being used and what
204 * If SMBus version 2.0 is being used, the maximum write size is 32 bytes.
205 * The read size + write size must be <= 32 bytes.
208 * I2C-level commands, the maximum write size is 255 bytes. The read size +
209 * write size must be <= 255 bytes.
212 * @param[in] writeSize - The size of data to write
213 * @param[in] writeData - The data to write to the i2c device