MCPcopy Create free account
hub / github.com/FASTSHIFT/WatchX / readWords

Method readWords

WatchX/Libraries/I2Cdev/I2Cdev.cpp:326–468  ·  view source on GitHub ↗

Read multiple words from a 16-bit device register. * @param devAddr I2C slave device address * @param regAddr First register regAddr to read from * @param length Number of words to read * @param data Buffer to store read data in * @param timeout Optional read timeout in milliseconds (0 to disable, leave off to use default class value in I2Cdev::readTimeout) * @return Number of words read (-1

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 11

millisFunction · 0.85
printMethod · 0.80
receiveMethod · 0.80
printlnMethod · 0.80
beginTransmissionMethod · 0.45
sendMethod · 0.45
endTransmissionMethod · 0.45
requestFromMethod · 0.45
availableMethod · 0.45
writeMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected