BeRTOS
Defines
hw_lcd_hd44.h File Reference

LCD low-level hardware macros. More...

#include "cfg/cfg_lcd_hd44.h"
#include <cpu/types.h>
#include <cpu/irq.h>

Go to the source code of this file.

Defines

#define LCD_DB_OUT
 Set data bus direction to output (write to display)
#define LCD_DB_IN
 Set data bus direction to input (read from display)
#define LCD_DELAY_WRITE
 Delay for write (Enable pulse width, 220ns)
#define LCD_DELAY_READ
 Delay for read (Data ouput delay time, 120ns)
LCD I/O pins/ports
DB high nibble (DB[4-7])
#define LCD_MASK   (uint8_t)0xff
#define LCD_SHIFT   0
LCD bus control macros
#define LCD_CLR_RS
#define LCD_SET_RS
#define LCD_CLR_RD
#define LCD_SET_RD
#define LCD_CLR_E
#define LCD_SET_E
#define LCD_SET_COMMAND()
#define LCD_SET_DATA()
#define LCD_WRITE(x)   ((void)x)
#define LCD_READ   (0 /* Implement me! */ )

Detailed Description

LCD low-level hardware macros.

Author:
Bernie Innocenti <bernie@codewiz.org>
Stefano Fedrigo <aleph@develer.com>

Definition in file hw_lcd_hd44.h.