aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/Nokia6610/gdisp_lld_board_example.h
diff options
context:
space:
mode:
authorAndrew Hannam <andrewh@inmarket.com.au>2012-11-17 18:11:05 +1000
committerAndrew Hannam <andrewh@inmarket.com.au>2012-11-17 18:11:05 +1000
commitbbb2d434c4d5ebdea76a15ddbf5db688d35850c6 (patch)
tree3a40f0f3af4bdf8fa94a951dadcabd442693f064 /drivers/gdisp/Nokia6610/gdisp_lld_board_example.h
parent59c13aa33b509ddb5cda070401534440ac7f6d11 (diff)
downloaduGFX-bbb2d434c4d5ebdea76a15ddbf5db688d35850c6.tar.gz
uGFX-bbb2d434c4d5ebdea76a15ddbf5db688d35850c6.tar.bz2
uGFX-bbb2d434c4d5ebdea76a15ddbf5db688d35850c6.zip
gdisp Nokia and SSD1289 updates
Convert SSD1289 to use board files. Update Nokia driver to use short names in the board files. Full expanded names are not needed as they are all static inline routines.
Diffstat (limited to 'drivers/gdisp/Nokia6610/gdisp_lld_board_example.h')
-rw-r--r--drivers/gdisp/Nokia6610/gdisp_lld_board_example.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/gdisp/Nokia6610/gdisp_lld_board_example.h b/drivers/gdisp/Nokia6610/gdisp_lld_board_example.h
index 3a547d09..8b315935 100644
--- a/drivers/gdisp/Nokia6610/gdisp_lld_board_example.h
+++ b/drivers/gdisp/Nokia6610/gdisp_lld_board_example.h
@@ -39,7 +39,7 @@
*
* @notapi
*/
-static __inline void GDISP_LLD(init_board)(void) {
+static __inline void init_board(void) {
/* Code here */
#error "gdispNokia6610: You must supply a definition for init_board for your board"
}
@@ -51,7 +51,7 @@ static __inline void GDISP_LLD(init_board)(void) {
*
* @notapi
*/
-static __inline void GDISP_LLD(setpin_reset)(bool_t state) {
+static __inline void setpin_reset(bool_t state) {
/* Code here */
#error "gdispNokia6610: You must supply a definition for setpin_reset for your board"
}
@@ -66,7 +66,7 @@ static __inline void GDISP_LLD(setpin_reset)(bool_t state) {
*
* @notapi
*/
-static __inline void GDISP_LLD(set_backlight)(uint8_t percent) {
+static __inline void set_backlight(uint8_t percent) {
/* Code here */
#error "gdispNokia6610: You must supply a definition for set_backlight for your board"
}
@@ -76,7 +76,7 @@ static __inline void GDISP_LLD(set_backlight)(uint8_t percent) {
*
* @notapi
*/
-static __inline void GDISP_LLD(get_bus)(void) {
+static __inline void get_bus(void) {
#error "gdispNokia6610: You must supply a definition for get_bus for your board"
}
@@ -85,7 +85,7 @@ static __inline void GDISP_LLD(get_bus)(void) {
*
* @notapi
*/
-static __inline void GDISP_LLD(release_bus)(void) {
+static __inline void release_bus(void) {
#error "gdispNokia6610: You must supply a definition for release_bus for your board"
}
@@ -96,7 +96,7 @@ static __inline void GDISP_LLD(release_bus)(void) {
*
* @notapi
*/
-static __inline void GDISP_LLD(write_cmd)(uint16_t cmd) {
+static __inline void write_cmd(uint16_t cmd) {
/* Code here */
#error "gdispNokia6610: You must supply a definition for write_cmd for your board"
}
@@ -108,7 +108,7 @@ static __inline void GDISP_LLD(write_cmd)(uint16_t cmd) {
*
* @notapi
*/
-static __inline void GDISP_LLD(write_data)(uint16_t data) {
+static __inline void write_data(uint16_t data) {
/* Code here */
#error "gdispNokia6610: You must supply a definition for write_data for your board"
}
@@ -123,7 +123,7 @@ static __inline void GDISP_LLD(write_data)(uint16_t data) {
*
* @notapi
*/
-static __inline uint16_t GDISP_LLD(read_data)(void) {
+static __inline uint16_t read_data(void) {
/* Code here */
#error "gdispNokia6610: You must supply a definition for read_data for your board"
}