adapted doc & coding stle a bit more to LCDproc

This commit is contained in:
marschap
2007-03-18 14:53:24 +00:00
parent 2d20fd83c6
commit 4efec0996a
4 changed files with 386 additions and 309 deletions
+22 -22
View File
@@ -26,31 +26,31 @@ struct _lcd_packet {
unsigned int type;
};
MODULE_EXPORT int picoLCD_init ( Driver *drvthis );
MODULE_EXPORT void picoLCD_close ( Driver *drvthis );
MODULE_EXPORT int picoLCD_width ( Driver *drvthis );
MODULE_EXPORT int picoLCD_height ( Driver *drvthis );
MODULE_EXPORT void picoLCD_clear ( Driver *drvthis );
MODULE_EXPORT void picoLCD_flush ( Driver *drvthis );
MODULE_EXPORT void picoLCD_string ( Driver *drvthis, int x, int y, char *str );
MODULE_EXPORT void picoLCD_chr ( Driver *drvthis, int x, int y, char c );
MODULE_EXPORT int picoLCD_init(Driver *drvthis);
MODULE_EXPORT void picoLCD_close(Driver *drvthis);
MODULE_EXPORT int picoLCD_width(Driver *drvthis);
MODULE_EXPORT int picoLCD_height(Driver *drvthis);
MODULE_EXPORT void picoLCD_clear(Driver *drvthis);
MODULE_EXPORT void picoLCD_flush(Driver *drvthis);
MODULE_EXPORT void picoLCD_string(Driver *drvthis, int x, int y, char *str);
MODULE_EXPORT void picoLCD_chr(Driver *drvthis, int x, int y, char c);
MODULE_EXPORT char *picoLCD_get_key ( Driver *drvthis );
MODULE_EXPORT char *picoLCD_get_key(Driver *drvthis);
//MODULE_EXPORT void picoLCD_vbar ( Driver *drvthis, int x, int y, int len, int promille, int options );
//MODULE_EXPORT void picoLCD_hbar ( Driver *drvthis, int x, int y, int len, int promille, int options );
//MODULE_EXPORT void picoLCD_num ( Driver *drvthis, int x, int y, int num );
//MODULE_EXPORT void picoLCD_heartbeat ( Driver *drvthis, int state );
//MODULE_EXPORT void picoLCD_icon ( Driver *drvthis, int x, int y, int icon );
//MODULE_EXPORT void picoLCD_cursor ( Driver *drvthis, int x, int y, int type );
//MODULE_EXPORT void picoLCD_vbar(Driver *drvthis, int x, int y, int len, int promille, int options);
//MODULE_EXPORT void picoLCD_hbar(Driver *drvthis, int x, int y, int len, int promille, int options);
//MODULE_EXPORT void picoLCD_num(Driver *drvthis, int x, int y, int num);
//MODULE_EXPORT void picoLCD_heartbeat(Driver *drvthis, int state);
//MODULE_EXPORT void picoLCD_icon(Driver *drvthis, int x, int y, int icon);
//MODULE_EXPORT void picoLCD_cursor(Driver *drvthis, int x, int y, int type);
//MODULE_EXPORT int picoLCD_get_contrast ( Driver *drvthis );
MODULE_EXPORT int picoLCD_set_contrast ( Driver *drvthis, int promille );
//MODULE_EXPORT int picoLCD_get_brightness ( Driver *drvthis, int state );
//MODULE_EXPORT int picoLCD_set_brightness ( Driver *drvthis, int state, int promille );
MODULE_EXPORT void picoLCD_backlight ( Driver *drvthis, int promille );
//MODULE_EXPORT void picoLCD_output ( Driver *drvthis, int state );
//MODULE_EXPORT int picoLCD_get_contrast(Driver *drvthis);
MODULE_EXPORT int picoLCD_set_contrast(Driver *drvthis, int promille);
//MODULE_EXPORT int picoLCD_get_brightness (Driver *drvthis, int state);
//MODULE_EXPORT int picoLCD_set_brightness (Driver *drvthis, int state, int promille);
MODULE_EXPORT void picoLCD_backlight(Driver *drvthis, int promille);
//MODULE_EXPORT void picoLCD_output(Driver *drvthis, int state);
MODULE_EXPORT char *picoLCD_get_info ( Driver *drvthis );
MODULE_EXPORT char *picoLCD_get_info(Driver *drvthis);
#endif