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

Function modI2CWrite

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

Source from the content-addressed store, hash-verified

53}
54
55uint8_t modI2CWrite(modI2CConfiguration config, const uint8_t *buffer, uint16_t length, uint8_t sendStop)
56{
57 modI2CActivate(config);
58 return twi_writeTo(config->address, (void *)buffer, length, sendStop);
59}
60
61void modI2CActivate(modI2CConfiguration config)
62{

Callers 8

xs_i2c_writeFunction · 0.50
xs_FT6202Function · 0.50
xs_FT6202_readFunction · 0.50
ssd1306SendFunction · 0.50
doCmdFunction · 0.50
xs_SI7021_readFunction · 0.50
xs_arducamFunction · 0.50
writeRegisterI2C_8Function · 0.50

Calls 1

modI2CActivateFunction · 0.70

Tested by

no test coverage detected