Commit Graph
104 Commits
Author SHA1 Message Date
mmdolze c64646b4de Move line address in extended mode to other hardware constants (although
is it configurable).
2011-01-19 21:44:36 +00:00
mmdolze ebf9565f17 Do not configure scheduler twice. Try to read from 0x3BD (3rd LPT port) if
DELAY_IOCALLS is configured. DELAY_IOCALLS is never selected automatically
but has to be configured by the user anyway. Did not use writes to 0x80 as
readings make me think this tries to delay by 1ms where we want 1us.
2011-01-19 21:33:18 +00:00
mmdolze 03e5169ac8 New screen update algorithm. This algorithm will be faster on connection
types using the transmit buffer. Others should see little difference.
2011-01-06 16:07:30 +00:00
mmdolze 67c07b52dd Use C-comment style (practise what I preach). 2010-11-16 21:48:34 +00:00
mmdolze fd9b2ce713 Big cleanup: Remove trailing whitespace from files (except those imported
from external sources).
2010-10-30 18:04:21 +00:00
mmdolze 01f3576a9d Small code reformatting. 2010-05-11 20:56:22 +00:00
mmdolze 66023939a1 Cleanup and documentation updates:
- Remove shared/str.h where not used.
- Remove shared/debug.h from all files as it has been completely replaced
  by shared/report.h (it will be removed later).
- Add more doxygen comments to shared/* and clients/lcdproc/*.
- Include static functions in doxygen output.
2010-02-02 23:20:29 +00:00
mmdolze c9623a72da Add a flush method to the hardware depended functions. It is called whenever
a sequence of characters or commands have to be terminated (common_init,
position, flush).  Modify the lcd2usb subdriver to implement a small command
buffer and implement flush().
2010-01-23 17:48:00 +00:00
mmdolze 6fba5cef68 hd44780: Add keystring array boundary check. Have all subdrivers close
previously opened devices.
2010-01-10 17:07:48 +00:00
mmdolze 6161df5b60 Add some more comments on the inner workings of the scankeypad function. 2009-12-12 21:29:59 +00:00
mmdolze 362aa05fd2 Fix de-selecting of drivers in configure by removing non-portable switch to sed.
Silent some compiler and lint warnings.
2009-11-01 08:32:50 +00:00
mmdolze e33ba1b41b Update drivers to return 0 (zero) on success. 2009-07-07 21:36:37 +00:00
mmdolze 194e2a941e Fix supported for old compilers and make non-standard (termios.h) baud
rates optional (spotted by Tim Larson).
2009-05-30 11:44:46 +00:00
mmdolze 8e291370c3 Include strings.h which is needed for strcasemp. Some systems declare them
in string.h, but it should be possible to include both.
2009-05-30 11:20:16 +00:00
mmdolze 69d963fed2 Add a missing parameter in report call 2009-03-26 19:52:09 +00:00
mmdolze d62a27fac1 Add an option to specify the DDRAM address of the next line.
This allows using the ST7036 controller like found on EA DOG modules.
2009-03-03 20:17:28 +00:00
mmdolze aaed3765a1 Only update the backlight setting if a change is necessary 2009-02-24 21:41:04 +00:00
marschap b54a4e3706 Doxygen-ize 2008-12-21 14:58:51 +00:00
marschap 175e4c7b4f better Doxygen documentation of icon() 2008-12-21 14:07:20 +00:00
marschap c9e3db4a8d extend Doxygen description of input method 2008-12-21 12:34:49 +00:00
marschap 81ebe5ae88 first step in Doxygen-ization 2008-12-21 10:04:37 +00:00
marschap ef9dc9e980 make Doxygen header text more similar to other drivers 2008-12-19 19:43:43 +00:00
marschap 11cc2c1697 add paths to Doxygen file headers 2008-11-30 22:34:31 +00:00
marschap 9c876e8d4c fix Doxygen warnings 2008-11-29 16:01:31 +00:00
marschap 0497178706 new ConnectionType ethlcd for hd44780 (Mariusz Bialonczyk) 2008-09-17 13:28:17 +00:00
marschap 6d09647d08 fix typos in dox 2008-08-03 13:57:14 +00:00
marschap e122d55965 don't allow turning the backlight on if have_backlight == 0 2008-03-08 18:23:07 +00:00
marschap ea26e30c24 iset ENTRYMODE after CLEAR to better conform to specs (M. Dolze) 2007-12-26 15:46:01 +00:00
marschap d64dcf7e11 more complete hd44780 initialization; a bit more dox; typo fixes in docs 2007-12-26 15:40:58 +00:00
marschap 81bc865f1e clean interface for sub-drivers wrt backlight, contrast and brightness 2007-11-04 16:58:00 +00:00
marschap e6c4b71ff0 harmonize backingstroe name with other drivers; don't force connection type
drivers to define nop-like functions for features they don't support
2007-11-04 13:25:54 +00:00
marschap c76af798c3 a few clean-ups 2007-11-04 12:05:51 +00:00
marschap 3a3a4dc8d9 afew doc cleanups, and cleanups /more checks ofr the hd44780 driver 2007-11-03 20:55:49 +00:00
marschap 5a2a1cc486 reporting in hd44780's ConnectionType functions (Thomas Jarosch) 2007-11-01 09:07:20 +00:00
marschap fe5f26e91d support for contrast & brightness: now get_*() only, but prepare for set_*() 2007-10-21 19:39:24 +00:00
marschap 75dbe30705 don't try to read from NULL pointer 2007-10-21 16:08:56 +00:00
marschap 335fc84785 move definitions for symbolicnames to correct palce for dependencies;
allow ConnectionTypes to be case insensitive
2007-10-14 10:42:15 +00:00
marschap 0899cef23d cleanup connection type recognition, prepare for aliases, ... 2007-10-14 09:44:06 +00:00
marschap 6a6b44778c doxygenate a little more 2007-10-04 16:30:19 +00:00
marschap 86c4149642 a little bit of Doxygen here and there 2007-04-14 08:23:48 +00:00
marschap 0f0af0f381 - coding style harmonization
- check onsistency between Size & vSpan
2007-04-04 13:52:38 +00:00
marschap 6a1511bb72 * coding style harmonization in servers/
- explicitely declare void arguments
  - make a few string args const
* better support for shorter displays in server screen
* make target to create top level tag file
2007-04-02 21:29:53 +00:00
marschap 88acd72197 new options for hd44780 (Frank Jepsen) 2007-02-04 12:26:54 +00:00
marschap f07c8ba7b5 fixes for the serial hd44780 subdrivers (Matteo Pillon) 2007-02-02 16:46:07 +00:00
marschap 7811b491db refactor adv_bignum:
* support display heights > 4 (treated like height = 4);
* determine number of user-defineable chars using get_free_chars();
* allow custom chars starting at a character position (offset) != 0
* update and extend documentation
2006-10-15 16:06:08 +00:00
marschap b54d2a810f add get_free_chars() function 2006-10-15 10:45:47 +00:00
marschap 8bcc3c0e31 fix typo 2006-10-01 13:23:07 +00:00
marschap cc2c84a7b8 declare constant function parameters const (as well as constant function return values) 2006-09-12 16:23:24 +00:00
marschap 5f4cfa3b88 - unified hd44780 sub-driver that replaces picanlcd & lcdserializer while
providing the same functions (Matteo Pillon)
- character mapping for special (almost) hd44780-compatible LCDs (Matteo Pillon)
2006-08-13 11:13:13 +00:00
marschap 9b111eeac4 cleanup: remove unnecessary (=invisible) leading spaces 2006-04-27 15:01:49 +00:00