aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/Nokia6610/gdisp_lld_board_example.h
diff options
context:
space:
mode:
authorAndrew Hannam <andrewh@inmarket.com.au>2012-09-10 15:54:22 +1000
committerAndrew Hannam <andrewh@inmarket.com.au>2012-09-10 15:54:22 +1000
commit3a8d39980b9124fe899605cb5350f42d093b1a10 (patch)
tree3da8ae2f3f9cc4ee3946537c2dbcec3cd42eb01e /drivers/gdisp/Nokia6610/gdisp_lld_board_example.h
parent967f37dffeef55fbf66d8d166b287b68a143d975 (diff)
downloaduGFX-3a8d39980b9124fe899605cb5350f42d093b1a10.tar.gz
uGFX-3a8d39980b9124fe899605cb5350f42d093b1a10.tar.bz2
uGFX-3a8d39980b9124fe899605cb5350f42d093b1a10.zip
Changes to Console, VMT, BitBlt, Clip & Drivers
Console - Fix compile, add GDISP_NEED_CONSOLE for compilation VMT - Fix after directory structure changes BitBlt - Update API to allow a source bitmap position. Clip - Add clipping support into gdisp Arc - Allow hardware accelleration of Arc routines Nokia6610 - Fixes to BitBlt.
Diffstat (limited to 'drivers/gdisp/Nokia6610/gdisp_lld_board_example.h')
-rw-r--r--drivers/gdisp/Nokia6610/gdisp_lld_board_example.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/drivers/gdisp/Nokia6610/gdisp_lld_board_example.h b/drivers/gdisp/Nokia6610/gdisp_lld_board_example.h
index 0e2b806e..12b136da 100644
--- a/drivers/gdisp/Nokia6610/gdisp_lld_board_example.h
+++ b/drivers/gdisp/Nokia6610/gdisp_lld_board_example.h
@@ -41,6 +41,7 @@
*/
static __inline void GDISP_LLD(init_board)(void) {
/* Code here */
+#error "gdispNokia6610: You must supply a definition for init_board for your board"
}
/**
@@ -52,30 +53,31 @@ static __inline void GDISP_LLD(init_board)(void) {
*/
static __inline void GDISP_LLD(setpin_reset)(bool_t state) {
/* Code here */
+#error "gdispNokia6610: You must supply a definition for setpin_reset for your board"
}
/**
- * @brief Set or clear the lcd back-light pin.
+ * @brief Send an 8 bit command to the lcd.
+ *
+ * @param[in] data The command to send
*
- * @param[in] state TRUE = lcd back-light on, FALSE = lcd back-light off
- *
* @notapi
*/
-static __inline void GDISP_LLD(setpin_backlight)(bool_t state) {
+static __inline void GDISP_LLD(write_cmd)(uint16_t data) {
/* Code here */
+#error "gdispNokia6610: You must supply a definition for write_cmd for your board"
}
/**
- * @brief Send a 9 bit command/data to the lcd.
- * @note The chip select may need to be asserted/de-asserted
- * around the actual spi write
+ * @brief Send an 8 bit data to the lcd.
*
* @param[in] data The data to send
*
* @notapi
*/
-static __inline void GDISP_LLD(write_spi)(uint16_t data) {
+static __inline void GDISP_LLD(write_data)(uint16_t data) {
/* Code here */
+#error "gdispNokia6610: You must supply a definition for write_data for your board"
}
#if GDISP_HARDWARE_READPIXEL || GDISP_HARDWARE_SCROLL || defined(__DOXYGEN__)
@@ -88,8 +90,9 @@ static __inline void GDISP_LLD(write_spi)(uint16_t data) {
*
* @notapi
*/
-static __inline uint16_t GDISP_LLD(read_spi)(void) {
+static __inline uint16_t GDISP_LLD(read_data)(void) {
/* Code here */
+#error "gdispNokia6610: You must supply a definition for read_data for your board"
}
#endif