summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3220g-eval/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-28 22:17:36 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-28 22:17:36 +0000
commitda8ffa947e5747e3365a26d0829135a04ecbdf94 (patch)
treed1c16cefa8cfa6672d647cee6bda6ffa8dcddb1e /nuttx/configs/stm3220g-eval/include
parent2def040cb811a71cf5e59effb304c47897640b5a (diff)
downloadpx4-nuttx-da8ffa947e5747e3365a26d0829135a04ecbdf94.tar.gz
px4-nuttx-da8ffa947e5747e3365a26d0829135a04ecbdf94.tar.bz2
px4-nuttx-da8ffa947e5747e3365a26d0829135a04ecbdf94.zip
More STM3220G-EVAL fixes; Add NxWM configuration for the STM3220G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4780 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3220g-eval/include')
-rw-r--r--nuttx/configs/stm3220g-eval/include/board.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/nuttx/configs/stm3220g-eval/include/board.h b/nuttx/configs/stm3220g-eval/include/board.h
index 0df5c0668..f4fd918f1 100644
--- a/nuttx/configs/stm3220g-eval/include/board.h
+++ b/nuttx/configs/stm3220g-eval/include/board.h
@@ -498,6 +498,21 @@ EXTERN xcpt_t up_irqbutton(int id, xcpt_t irqhandler);
#endif
#endif
+/************************************************************************************
+ * Name: stm3220g_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 stm3220g_lcdclear(uint16_t color);
+#endif
+
#undef EXTERN
#if defined(__cplusplus)
}