(command)
| 263 | this.select.write(1); |
| 264 | } |
| 265 | writeCommand(command) { |
| 266 | this.waitBusy(); |
| 267 | this.select.write(0); |
| 268 | this.spi.write16(0x6000); |
| 269 | this.waitBusy(); |
| 270 | this.spi.write16(command); |
| 271 | this.select.write(1); |
| 272 | } |
| 273 | setTargetMemoryAddress(address) { |
| 274 | const h = (address >> 16) & 0xFFFF; |
| 275 | const l = address & 0xFFFF; |
no test coverage detected