MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / modI2CRead

Function modI2CRead

modules/pins/i2c/esp/modI2C.c:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49uint8_t modI2CRead(modI2CConfiguration config, uint8_t *buffer, uint16_t length, uint8_t sendStop)
50{
51 modI2CActivate(config);
52 return twi_readFrom(config->address, buffer, length, sendStop);
53}
54
55uint8_t modI2CWrite(modI2CConfiguration config, const uint8_t *buffer, uint16_t length, uint8_t sendStop)
56{

Callers 5

xs_i2c_readFunction · 0.50
xs_FT6202Function · 0.50
xs_FT6202_readFunction · 0.50
xs_SI7021_readFunction · 0.50
xs_arducamFunction · 0.50

Calls 1

modI2CActivateFunction · 0.70

Tested by

no test coverage detected