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

Method setTargetMemoryAddress

modules/drivers/it8951/it8951.js:273–279  ·  view source on GitHub ↗
(address)

Source from the content-addressed store, hash-verified

271 this.select.write(1);
272 }
273 setTargetMemoryAddress(address) {
274 const h = (address >> 16) & 0xFFFF;
275 const l = address & 0xFFFF;
276
277 this.writeRegister(IT8951_LISAR + 2, h);
278 this.writeRegister(IT8951_LISAR, l);
279 }
280 writeRegister(register, value) {
281 this.writeCommand(IT8951_TCON_REG_WR);
282

Callers 2

fillAreaMethod · 0.95
constructorMethod · 0.80

Calls 1

writeRegisterMethod · 0.95

Tested by

no test coverage detected