summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3240g-eval/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-17 22:28:47 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-17 22:28:47 +0000
commit83a6c890403281e545d61c3305b70f4e83c02ebb (patch)
tree928785e3201289a8d548a8ab1a551370469f8106 /nuttx/configs/stm3240g-eval/include
parent285b9ad8208888854dda821871058876547147f7 (diff)
downloadpx4-nuttx-83a6c890403281e545d61c3305b70f4e83c02ebb.tar.gz
px4-nuttx-83a6c890403281e545d61c3305b70f4e83c02ebb.tar.bz2
px4-nuttx-83a6c890403281e545d61c3305b70f4e83c02ebb.zip
Add beginning of LCD driver for the STM3240G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4627 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3240g-eval/include')
-rwxr-xr-xnuttx/configs/stm3240g-eval/include/board.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/nuttx/configs/stm3240g-eval/include/board.h b/nuttx/configs/stm3240g-eval/include/board.h
index 3c8b552e4..46a84c275 100755
--- a/nuttx/configs/stm3240g-eval/include/board.h
+++ b/nuttx/configs/stm3240g-eval/include/board.h
@@ -529,6 +529,21 @@ EXTERN xcpt_t up_irqbutton(int id, xcpt_t irqhandler);
#endif
#endif
+/************************************************************************************
+ * Name: stm3210e_lcdclear
+ *
+ * Description:
+ * This is a non-standard LCD interface just for the STM3210E-EVAL board. Because
+ * of the various rotations, clearing the display in the normal way by writing a
+ * sequences of runs that covers the entire display can be very slow. Here the
+ * dispaly is cleared by simply setting all GRAM memory to the specified color.
+ *
+ ************************************************************************************/
+
+#ifdef CONFIG_STM32_FSMC
+EXTERN void stm3240g_lcdclear(uint16_t color);
+#endif
+
#undef EXTERN
#if defined(__cplusplus)
}