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

Function dotstarBegin

modules/drivers/dotstar/modDotstar.c:260–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260void dotstarBegin(void *refcon, CommodettoCoordinate x, CommodettoCoordinate y, CommodettoDimension w, CommodettoDimension h)
261{
262 spiDisplay sd = refcon;
263 uint32_t zeros = 0;
264
265 modSPITx(&sd->spiConfig, (void *)&zeros, sizeof(zeros));
266 modSPIFlush();
267}
268
269void dotstarContinue(void *refcon)
270{

Callers 1

xs_DotStar_beginFunction · 0.85

Calls 2

modSPITxFunction · 0.50
modSPIFlushFunction · 0.50

Tested by

no test coverage detected