erase a 64Kbyte block
| 285 | |
| 286 | /// erase a 64Kbyte block |
| 287 | void SPIFlash::blockErase64K(uint32_t addr) { |
| 288 | command(SPIFLASH_BLOCKERASE_64K, true); // Block Erase |
| 289 | SPI.transfer(addr >> 16); |
| 290 | SPI.transfer(addr >> 8); |
| 291 | SPI.transfer(addr); |
| 292 | unselect(); |
| 293 | } |
| 294 | |
| 295 | void SPIFlash::sleep() { |
| 296 | command(SPIFLASH_SLEEP); |
nothing calls this directly
no outgoing calls
no test coverage detected