chips tested: https://github.com/PaulStoffregen/SerialFlash/pull/12#issuecomment-169596992
| 395 | // chips tested: https://github.com/PaulStoffregen/SerialFlash/pull/12#issuecomment-169596992 |
| 396 | // |
| 397 | void SerialFlashChip::sleep() |
| 398 | { |
| 399 | if (busy) wait(); |
| 400 | SPIPORT.beginTransaction(SPICONFIG); |
| 401 | CSASSERT(); |
| 402 | SPIPORT.transfer(0xB9); // Deep power down command |
| 403 | CSRELEASE(); |
| 404 | } |
| 405 | |
| 406 | void SerialFlashChip::wakeup() |
| 407 | { |
nothing calls this directly
no outgoing calls
no test coverage detected