MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / read

Method read

Tactility/Source/hal/i2c/I2cDevice.cpp:7–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace tt::hal::i2c {
6
7bool I2cDevice::read(uint8_t* data, size_t dataSize, TickType_t timeout) {
8 return i2c_controller_read(controller, address, data, dataSize, timeout) == ERROR_NONE;
9}
10
11bool I2cDevice::write(const uint8_t* data, uint16_t dataSize, TickType_t timeout) {
12 return i2c_controller_write(controller, address, data, dataSize, timeout) == ERROR_NONE;

Callers 15

read_fileFunction · 0.45
read_properties_fileFunction · 0.45
download_fileFunction · 0.45
read_properties_fileFunction · 0.45
DOCTEST_DEFINE_DECORATORFunction · 0.45
i2c_controller_readFunction · 0.45
i2s_controller_readFunction · 0.45
bluetooth_serial_readFunction · 0.45
downloadFunction · 0.45
axp192_read_adcFunction · 0.45
axp192_readFunction · 0.45
axp192_ioctlFunction · 0.45

Calls 1

i2c_controller_readFunction · 0.85

Tested by 1

DOCTEST_DEFINE_DECORATORFunction · 0.36