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

Method writeWord

modules/drivers/it8951/it8951.js:302–309  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

300 trace("unexpected panel dimensions\n");
301 }
302 writeWord(value) {
303 this.waitBusy();
304 this.select.write(0);
305 this.spi.write16(0x0000);
306 this.waitBusy();
307 this.spi.write16(value);
308 this.select.write(1);
309 }
310 waitBusy(timeout) {
311 if (this.busy.read())
312 return;

Callers 8

constructorMethod · 0.95
checkAFSRMethod · 0.95
constructorMethod · 0.45
configureMethod · 0.45
sampleMethod · 0.45
constructorMethod · 0.45
configureMethod · 0.45

Calls 3

waitBusyMethod · 0.95
write16Method · 0.80
writeMethod · 0.65

Tested by

no test coverage detected