hw_lcd.h File Reference

LCD low-level hardware macros. More...

#include "cfg/cfg_lcd.h"
#include <cfg/macros.h>
#include <cfg/debug.h>
#include <cpu/attr.h>
#include <cpu/irq.h>
#include <cpu/types.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_WRITE(x)   ((void)x)
#define LCD_READ   (0 /* Implement me! */ )

Detailed Description

LCD low-level hardware macros.

Version:
Id
hw_lcd.h 2506 2009-04-15 08:29:07Z duplo

Author:
Bernie Innocenti <bernie@codewiz.org>

Stefano Fedrigo <aleph@develer.com>

Definition in file hw_lcd.h.