()
| 290 | this.select.write(1); |
| 291 | } |
| 292 | getSysInfo() { |
| 293 | this.writeCommand(IT8951_I80_CMD_GET_DEV_INFO); |
| 294 | const info = this.readWords(new Array(20)); |
| 295 | const _tar_memaddr = (info[3] << 16) | info[2]; |
| 296 | if (_tar_memaddr !== this._tar_memaddr) |
| 297 | trace(`unexpected _tar_memaddr value 0x${_tar_memaddr.toString(16)}\n`); |
| 298 | |
| 299 | if ((M5EPD_PANEL_W !== info[0]) || (M5EPD_PANEL_H !== info[1])) |
| 300 | trace("unexpected panel dimensions\n"); |
| 301 | } |
| 302 | writeWord(value) { |
| 303 | this.waitBusy(); |
| 304 | this.select.write(0); |
no test coverage detected