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

Function modI2CInit

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

Source from the content-addressed store, hash-verified

33static uint8_t gI2CClientCount = 0;
34
35void modI2CInit(modI2CConfiguration config)
36{
37 gI2CConfig.hz = 1; // garbage value to ensure mismatch
38
39 gI2CClientCount += 1;
40}
41
42void modI2CUninit(modI2CConfiguration config)
43{

Callers 6

xs_i2cFunction · 0.50
xs_FT6202Function · 0.50
xs_SSD1306Function · 0.50
xs_SI7021Function · 0.50
xs_BMP280Function · 0.50
xs_arducamFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected