File: mdm166a.h

package info (click to toggle)
lcdproc 0.5.5-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,352 kB
  • sloc: ansic: 53,582; sh: 4,288; perl: 681; makefile: 476
file content (24 lines) | stat: -rw-r--r-- 1,163 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef MDM166A_H
#define MDM166A_H

MODULE_EXPORT int mdm166a_init (Driver *drvthis);
MODULE_EXPORT void mdm166a_close (Driver *drvthis);
MODULE_EXPORT int mdm166a_width (Driver *drvthis);
MODULE_EXPORT int mdm166a_height (Driver *drvthis);
MODULE_EXPORT int mdm166a_cellwidth (Driver *drvthis);
MODULE_EXPORT int mdm166a_cellheight (Driver *drvthis);
MODULE_EXPORT void mdm166a_clear (Driver *drvthis);
MODULE_EXPORT void mdm166a_flush (Driver *drvthis);
MODULE_EXPORT void mdm166a_string (Driver *drvthis, int x, int y, const char string[]);
MODULE_EXPORT void mdm166a_chr (Driver *drvthis, int x, int y, char c);

MODULE_EXPORT void mdm166a_vbar(Driver *drvthis, int x, int y, int len, int promille, int pattern);
MODULE_EXPORT void mdm166a_hbar(Driver *drvthis, int x, int y, int len, int promille, int pattern);
MODULE_EXPORT int  mdm166a_icon (Driver *drvthis, int x, int y, int icon);

MODULE_EXPORT void mdm166a_set_char (Driver *drvthis, int n, char *dat);
MODULE_EXPORT void mdm166a_backlight (Driver *drvthis, int on);
MODULE_EXPORT const char * mdm166a_get_info (Driver *drvthis);
MODULE_EXPORT void mdm166a_output (Driver *drvthis, int on);

#endif