erase a 32Kbyte block
| 276 | |
| 277 | /// erase a 32Kbyte block |
| 278 | void SPIFlash::blockErase32K(uint32_t addr) { |
| 279 | command(SPIFLASH_BLOCKERASE_32K, true); // Block Erase |
| 280 | SPI.transfer(addr >> 16); |
| 281 | SPI.transfer(addr >> 8); |
| 282 | SPI.transfer(addr); |
| 283 | unselect(); |
| 284 | } |
| 285 | |
| 286 | /// erase a 64Kbyte block |
| 287 | void SPIFlash::blockErase64K(uint32_t addr) { |
nothing calls this directly
no outgoing calls
no test coverage detected