This is a terminal device driver for a memory mapped hd44780 compatible lcd. It is connected to the databus / adressbus. A Chipselect is generated from /rd, /wr, and the address decoder. It is connected to the lcds enable signal. A0 is connected to the register select pin and A1 to the read/write signal. Therefore you'll read from an address with an offset of two
Have a look to our m-can board if you have questions.
Defines | |
| #define | LCD_2x16 | 
| #define | LCD_DELAY asm volatile ("nop"); asm volatile ("nop") | 
Variables | |
| TERMDCB | dcb_term | 
| Terminal device control block structure.   | |
| NUTDEVICE | devLcdBus | 
| LCD device information structure.   | |