File: lb216.h

package info (click to toggle)
lcdproc 0.5.7-7
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,056 kB
  • ctags: 6,533
  • sloc: ansic: 58,028; sh: 1,963; perl: 681; makefile: 484
file content (24 lines) | stat: -rw-r--r-- 1,077 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 LB216_H
#define LB216_H

MODULE_EXPORT int  LB216_init(Driver *drvthis);
MODULE_EXPORT void LB216_close(Driver *drvthis);
MODULE_EXPORT int  LB216_width (Driver *drvthis);
MODULE_EXPORT int  LB216_height (Driver *drvthis);
MODULE_EXPORT int  LB216_cellwidth (Driver *drvthis);
MODULE_EXPORT int  LB216_cellheight (Driver *drvthis);
MODULE_EXPORT void LB216_clear (Driver *drvthis);
MODULE_EXPORT void LB216_flush(Driver *drvthis);
MODULE_EXPORT void LB216_string (Driver *drvthis, int x, int y, const char string[]);
MODULE_EXPORT void LB216_chr(Driver *drvthis, int x, int y, char c) ;

MODULE_EXPORT void LB216_vbar(Driver *drvthis, int x, int y, int len, int promille, int options);
MODULE_EXPORT void LB216_hbar(Driver *drvthis, int x, int y, int len, int promille, int options);
MODULE_EXPORT void LB216_num(Driver *drvthis, int x, int num);
MODULE_EXPORT int  LB216_icon(Driver *drvthis, int x, int y, int icon);

MODULE_EXPORT void LB216_set_char(Driver *drvthis, int n, unsigned char *dat);

MODULE_EXPORT void LB216_backlight(Driver *drvthis, int on);

#endif