hd44780_bus.c File Reference


Detailed Description

Terminal device definitions for memory mapped lcd.

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.

Definition in file hd44780_bus.c.

Go to the source code of this file.

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.


Define Documentation

#define LCD_2x16

Definition at line 112 of file hd44780_bus.c.

#define LCD_DELAY   asm volatile ("nop"); asm volatile ("nop")

Definition at line 124 of file hd44780_bus.c.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/