Added Stephen Davies output register extension code.

This commit is contained in:
robijn committed 2002-06-03 21:34:24 +00:00
1 parent f13e87b912
commit 77e6977196
7 files changed
+83 -13

No files matched your search

+5
View File
@@ -81,6 +81,7 @@ typedef struct driver_private_data {
char have_keypad; // off by default
char have_backlight; // off by default
char extIF; // off by default
char have_output; // have extra output port (off by default)
int delayMult; // Delay multiplier for slow displays
char delayBus; // Delay if the computer can send data too fast over
// its bus to LPT port
@@ -101,6 +102,8 @@ typedef struct driver_private_data {
int backlight_bit;
int output_state; // what was most recently output to the output port
int ccmode;
} PrivateData;
@@ -132,6 +135,8 @@ typedef struct hwDependentFns {
// - override scankeypad.
unsigned char (*scankeypad) (PrivateData *p);
// Output "data" to output latch if there is one
void (*output) (PrivateData *p, int data);
} HD44780_functions; /* for want of a better name :-) */