File: EyeboxOne.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 (25 lines) | stat: -rw-r--r-- 904 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
25
#ifndef EYEBOXONE_H
#define EYEBOXONE_H

MODULE_EXPORT int  EyeboxOne_init (Driver *drvthis);
MODULE_EXPORT void EyeboxOne_close (Driver *drvthis);
MODULE_EXPORT int  EyeboxOne_width (Driver *drvthis);
MODULE_EXPORT int  EyeboxOne_height (Driver *drvthis);
MODULE_EXPORT void EyeboxOne_clear (Driver *drvthis);
MODULE_EXPORT void EyeboxOne_flush (Driver *drvthis);
MODULE_EXPORT void EyeboxOne_string (Driver *drvthis, int x, int y, const char string[]);
MODULE_EXPORT void EyeboxOne_chr (Driver *drvthis, int x, int y, char c);

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

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

MODULE_EXPORT const char * EyeboxOne_get_key (Driver *drvthis);
MODULE_EXPORT const char * EyeboxOne_get_info (Driver *drvthis);

#define DEFAULT_DEVICE		"/dev/ttyS1"
#define DEFAULT_SPEED		19200
#define DEFAULT_CURSOR		0

#endif