diff options
author | JF <jf@codingfield.com> | 2020-08-22 17:59:59 +0200 |
---|---|---|
committer | JF <jf@codingfield.com> | 2020-08-22 17:59:59 +0200 |
commit | f7e40b1b5879242b4ce59854dbbadb44fe5f75e4 (patch) | |
tree | c90d927a985d1b13f48af1d6e9aeb6d4c0e7cc0f /src/drivers/SpiNorFlash.h | |
parent | ecbbeb6283178696ae36891225e086d3154e8a8a (diff) |
Re-implement sleep/wakeup for touch panel, display, NOR Flash, SPI and TWI.
Diffstat (limited to 'src/drivers/SpiNorFlash.h')
-rw-r--r-- | src/drivers/SpiNorFlash.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/SpiNorFlash.h b/src/drivers/SpiNorFlash.h index 98267c09..10c25a01 100644 --- a/src/drivers/SpiNorFlash.h +++ b/src/drivers/SpiNorFlash.h @@ -48,11 +48,13 @@ namespace Pinetime { SectorErase = 0x20, ReadSecurityRegister = 0x2B, ReadIdentification = 0x9F, + ReleaseFromDeepPowerDown = 0xAB, + DeepPowerDown = 0xB9 }; static constexpr uint16_t pageSize = 256; Spi& spi; - + Identification device_id; }; } } |