Note some restrictions for controllers featuring extended mode.

This commit is contained in:
mmdolze
2013-01-17 22:15:45 +00:00
parent 37563b5fd7
commit 66a860d551
2 changed files with 14 additions and 10 deletions
+6 -2
View File
@@ -546,8 +546,12 @@ Size=20x4
# Vspan=2,2 means both displays have 2 lines. # Vspan=2,2 means both displays have 2 lines.
#vspan=2,2 #vspan=2,2
# If you have an HD66712, a KS0073 or another 'almost HD44780-compatible', # If you have an HD66712, a KS0073 or another controller with 'extended mode',
# set this flag to get into extended mode (4-line linear). # set this flag to get into 4-line mode. On displays with just two lines, do
# not set this flag.
# As an additional restriction, controllers with and without extended mode
# AND 4 lines cannot be mixed for those connection types that support more
# than one display!
#ExtendedMode=yes #ExtendedMode=yes
# In extended mode, on some controllers like the ST7036 (in 3 line mode) # In extended mode, on some controllers like the ST7036 (in 3 line mode)
+7 -7
View File
@@ -8,10 +8,10 @@
* to form a 16x8 display. * to form a 16x8 display.
* *
* To add support for additional HD44780 connections: * To add support for additional HD44780 connections:
* \li Add a connection type and mapping to hd44780-drivers.h * - Add a connection type and mapping to hd44780-drivers.h
* \li Call your initialization routine * - Call your initialization routine
* \li Create the low-level driver (use hd44780-ext8bit.c as a starting point) * - Create the low-level driver (use hd44780-ext8bit.c as a starting point)
* \li Modify the makefile * - Modify the makefile
*/ */
/*- /*-
@@ -456,7 +456,7 @@ HD44780_init(Driver *drvthis)
* - set display on & cursor off, not blinking, * - set display on & cursor off, not blinking,
* - set output mode to left-to-right & turn off display scolling * - set output mode to left-to-right & turn off display scolling
* - clear display & move cursor home * - clear display & move cursor home
* . *
* \param p Pointer to PrivateData structure. * \param p Pointer to PrivateData structure.
* \param if_bit Command bits for 4- resp. 8-bit mode * \param if_bit Command bits for 4- resp. 8-bit mode
*/ */
@@ -1293,8 +1293,8 @@ HD44780_get_key(Driver *drvthis)
* *
* The returned scancode consists of 4 bits for the row and 4 bits for the * The returned scancode consists of 4 bits for the row and 4 bits for the
* column of the keypad. This allows for a 16x16 matrix keypad in theory, but * column of the keypad. This allows for a 16x16 matrix keypad in theory, but
* on a parallel port we are limited to a 11x5 matrix (8 data + 3 control pins * on a parallel port we are limited to a 11x5 matrix (8 data + 3 control
* - excluding one for EN1, 5 status pins). * pins - excluding one for EN1, 5 status pins).
* *
* Note that a connection type may support even less rows/columns! * Note that a connection type may support even less rows/columns!
* *