return the STATUS register
| 205 | |
| 206 | /// return the STATUS register |
| 207 | uint8_t SPIFlash::readStatus() |
| 208 | { |
| 209 | select(); |
| 210 | SPI.transfer(SPIFLASH_STATUSREAD); |
| 211 | uint8_t status = SPI.transfer(0); |
| 212 | unselect(); |
| 213 | return status; |
| 214 | } |
| 215 | |
| 216 | |
| 217 | /// Write 1 byte to flash memory |
nothing calls this directly
no outgoing calls
no test coverage detected