aboutsummaryrefslogtreecommitdiffstats
path: root/glcd.h
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-06-20 00:17:10 +0200
committerTectu <joel@unormal.org>2012-06-20 00:17:10 +0200
commit6a2a70e8e68d999e5b8cea74ef49b37e8be3aeda (patch)
treecf10a99441dd03da79bf8e19b2e5a7c0de838763 /glcd.h
parentb3fedc8b80bed89957c02eedfb5af336a8399a4e (diff)
downloaduGFX-6a2a70e8e68d999e5b8cea74ef49b37e8be3aeda.tar.gz
uGFX-6a2a70e8e68d999e5b8cea74ef49b37e8be3aeda.tar.bz2
uGFX-6a2a70e8e68d999e5b8cea74ef49b37e8be3aeda.zip
added lcdSetPowerMode()
Diffstat (limited to 'glcd.h')
-rw-r--r--glcd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/glcd.h b/glcd.h
index 29f92f68..0bf192a7 100644
--- a/glcd.h
+++ b/glcd.h
@@ -28,6 +28,7 @@
enum orientation {portrait, landscape, portraitInv, landscapeInv};
enum filled {frame, filled};
enum transparency {solid, transparent};
+enum powermode {poweroff, poweron, standby};
// For text rendering only
extern uint16_t bgcolor, fgcolor;
@@ -49,6 +50,7 @@ void lcdClear(uint16_t color);
void lcdSetOrientation(uint8_t newOrientation);
void lcdSetWindow(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1);
void lcdFillArea(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color);
+void lcdSetPowerMode(uint8_t powerMode);
void lcdDrawPixel(uint16_t x, uint16_t y, uint16_t point);
void lcdDrawLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color);