File nut/arch/avr/dev/hd44780.c

References Functions: LcdClear() nut/arch/avr/dev/hd44780.c
  LcdCursorHome() nut/arch/avr/dev/hd44780.c
  LcdCursorLeft() nut/arch/avr/dev/hd44780.c
  LcdCursorMode() nut/arch/avr/dev/hd44780.c
  LcdCursorRight() nut/arch/avr/dev/hd44780.c
  LcdInit() nut/arch/avr/dev/hd44780.c
  LcdSetCursor() nut/arch/avr/dev/hd44780.c
  LcdWriteCmd() nut/arch/avr/dev/hd44780.c
  LcdWriteData() nut/arch/avr/dev/hd44780.c
  TermClose() nut/dev/term.c
  TermIOCtl() nut/dev/term.c
  TermInit() nut/dev/term.c
  TermOpen() nut/dev/term.c
  TermWrite() nut/dev/term.c
  TermWrite_P() nut/dev/term.c
References Variables: dcb_term nut/arch/avr/dev/hd44780.c

Included Files


Preprocessor definitions

#define LCD_2x16

#define LCD_DATA_PORT PORTD

#define LCD_DATA_PIN PIND

#define LCD_DATA_DDR DDRD

#define LCD_DATA_BITS 0xF0

#define LCD_ENABLE_PORT PORTE

#define LCD_ENABLE_DDR DDRE

#define LCD_ENABLE_BIT 3

#define LCD_REGSEL_PORT PORTE

#define LCD_REGSEL_DDR DDRE

#define LCD_REGSEL_BIT 2

#define LCD_SHORT_DELAY 1

#define LCD_LONG_DELAY 2

#define LCD_DELAY


Global Variable dcb_term

TERMDCB dcb_term
Visible in:   nut/arch/avr/dev/hd44780.c
    nut/arch/avr/dev/hd44780_bus.c
Used in:   nut/arch/avr/dev/hd44780.c
    nut/arch/avr/dev/hd44780_bus.c

Global Variable devLcd

NUTDEVICE devLcd
Visible in:   nut/arch/avr/dev/hd44780.c

Local Variables

during_init
static u_char during_init
Used in: LcdDelay()  
  LcdInit()  

Local Function LcdClear()

static void LcdClear ( void )
Calls: LcdWriteCmd() nut/arch/avr/dev/hd44780.c
Used in:   nut/arch/avr/dev/hd44780.c

Local Function LcdCursorHome()

static void LcdCursorHome ( void )
Calls: LcdWriteCmd() nut/arch/avr/dev/hd44780.c
Used in:   nut/arch/avr/dev/hd44780.c

Local Function LcdCursorLeft()

static void LcdCursorLeft ( void )
Calls: LcdWriteCmd() nut/arch/avr/dev/hd44780.c
Used in:   nut/arch/avr/dev/hd44780.c

Local Function LcdCursorMode()

static void LcdCursorMode ( u_char on )
Calls: LcdWriteCmd() nut/arch/avr/dev/hd44780.c
Used in:   nut/arch/avr/dev/hd44780.c

Local Function LcdCursorRight()

static void LcdCursorRight ( void )
Calls: LcdWriteCmd() nut/arch/avr/dev/hd44780.c
Used in:   nut/arch/avr/dev/hd44780.c

Local Function LcdDelay()

static void LcdDelay ( u_char xt )
Calls: NutSleep() nut/os/timer.c
  NutDelay()
Called by: LcdInit() nut/arch/avr/dev/hd44780.c
  LcdSendByte() nut/arch/avr/dev/hd44780.c
References Variables: during_init nut/arch/avr/dev/hd44780.c

Local Function LcdInit()

static void LcdInit ( NUTDEVICE* dev )
Calls: LcdDelay() nut/arch/avr/dev/hd44780.c
  LcdSendNibble() nut/arch/avr/dev/hd44780.c
  LcdWriteCmd() nut/arch/avr/dev/hd44780.c
Used in:   nut/arch/avr/dev/hd44780.c
References Variables: during_init nut/arch/avr/dev/hd44780.c

Local Function LcdSendByte()

static inline void LcdSendByte ( u_char ch, u_char xt )
Calls: LcdDelay() nut/arch/avr/dev/hd44780.c
  LcdSendNibble() nut/arch/avr/dev/hd44780.c
Called by: LcdWriteCmd() nut/arch/avr/dev/hd44780.c
  LcdWriteData() nut/arch/avr/dev/hd44780.c

Local Function LcdSendNibble()

static inline void LcdSendNibble ( u_char nib )
Called by: LcdInit() nut/arch/avr/dev/hd44780.c
  LcdSendByte() nut/arch/avr/dev/hd44780.c

Local Function LcdSetCursor()

static void LcdSetCursor ( u_char pos )
Calls: LcdWriteCmd() nut/arch/avr/dev/hd44780.c
Used in:   nut/arch/avr/dev/hd44780.c

Local Function LcdWriteCmd()

static void LcdWriteCmd ( u_char cmd, u_char xt )
Calls: LcdSendByte() nut/arch/avr/dev/hd44780.c
Called by: LcdClear() nut/arch/avr/dev/hd44780.c
  LcdCursorHome() nut/arch/avr/dev/hd44780.c
  LcdCursorLeft() nut/arch/avr/dev/hd44780.c
  LcdCursorMode() nut/arch/avr/dev/hd44780.c
  LcdCursorRight() nut/arch/avr/dev/hd44780.c
  LcdInit() nut/arch/avr/dev/hd44780.c
  LcdSetCursor() nut/arch/avr/dev/hd44780.c
Used in:   nut/arch/avr/dev/hd44780.c

Local Function LcdWriteData()

static void LcdWriteData ( u_char ch )
Calls: LcdSendByte() nut/arch/avr/dev/hd44780.c
Used in:   nut/arch/avr/dev/hd44780.c