add ConnectionType sub-driver for BWCT USB devices to the HD44780 driver
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#ifndef HD_BWCT_USB_H
|
||||
#define HD_BWCT_USB_H
|
||||
|
||||
#include "lcd.h" /* for Driver */
|
||||
#include "hd44780-low.h"
|
||||
|
||||
#define VENDOR_LCD_RESET 1
|
||||
#define VENDOR_LCD_CMD 2
|
||||
#define VENDOR_LCD_DATA 3
|
||||
#define VENDOR_LCD_CONTRAST 4
|
||||
|
||||
#define DEFAULT_SERIALNO ""
|
||||
#define DEFAULT_CONTRAST 300
|
||||
|
||||
// initialise this particular driver
|
||||
int hd_init_bwct_usb(Driver *drvthis);
|
||||
|
||||
void bwct_usb_HD44780_senddata(PrivateData *p, unsigned char displayID, unsigned char flags, unsigned char ch);
|
||||
void bwct_usb_HD44780_backlight(PrivateData *p, unsigned char state);
|
||||
unsigned char bwct_usb_HD44780_scankeypad(PrivateData *p);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user