Read single word from a 16-bit device register. * @param devAddr I2C slave device address * @param regAddr Register regAddr to read from * @param data Container for word value read from device * @param timeout Optional read timeout in milliseconds (0 to disable, leave off to use default class value in I2Cdev::readTimeout) * @return Status of read operation (true = success) */
| 195 | * @return Status of read operation (true = success) |
| 196 | */ |
| 197 | int8_t I2Cdev::readWord(uint8_t devAddr, uint8_t regAddr, uint16_t *data, uint16_t timeout, void *wireObj) { |
| 198 | return readWords(devAddr, regAddr, 1, data, timeout, wireObj); |
| 199 | } |
| 200 | |
| 201 | /** Read multiple bytes from an 8-bit device register. |
| 202 | * @param devAddr I2C slave device address |
nothing calls this directly
no outgoing calls
no test coverage detected