aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/St7789.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/St7789.h')
-rw-r--r--src/drivers/St7789.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/St7789.h b/src/drivers/St7789.h
index e6305b49..a32a96f9 100644
--- a/src/drivers/St7789.h
+++ b/src/drivers/St7789.h
@@ -19,6 +19,9 @@ namespace Pinetime {
void DisplayOn();
void DisplayOff();
+ void Sleep();
+ void Wakeup();
+
private:
SpiMaster& spi;
@@ -27,6 +30,7 @@ namespace Pinetime {
void HardwareReset();
void SoftwareReset();
void SleepOut();
+ void SleepIn();
void ColMod();
void MemoryDataAccessControl();
void DisplayInversionOn();
@@ -41,6 +45,7 @@ namespace Pinetime {
enum class Commands : uint8_t {
SoftwareReset = 0x01,
+ SleepIn = 0x10,
SleepOut = 0x11,
NormalModeOn = 0x13,
DisplayInversionOn = 0x21,