MHVLib  20111011
An efficiency oriented runtime library for AVR microcontrollers
A:/eclipse/mhvlib/MHV_Display_HD44780_Direct_Connect.cpp File Reference
#include <util/delay.h>
#include <MHV_Display_HD44780_Direct_Connect.h>

Go to the source code of this file.

Defines

#define HD44780_DB4   (1 << _dataPin)
#define HD44780_DB5   (1 << (_dataPin + 1))
#define HD44780_DB6   (1 << (_dataPin + 2))
#define HD44780_DB7   (1 << (_dataPin + 3))
#define HD44780_RS   (1 << _controlPin)
#define HD44780_RW   (1 << (_controlPin + 1))
#define HD44780_E   (1 << (_controlPin + 2))
#define HD44780_CONTRAST   (1 << _visualPin)
#define HD44780_LED   (1 << (_visualPin + 1))
#define HD44780_TC   (1000 * 1000000 / F_CPU / 3 + 1)
#define HD44780_TSU1   (60 * 1000000 / F_CPU / 3 + 1)
#define HD44780_TSU2   (195 * 1000000 / F_CPU / 3 + 1)
#define HD44780_TDH   (5 * 1000000 / F_CPU / 3 + 1)
#define HD44780_TW   (450 * 1000000 / F_CPU / 3 + 1)
#define HD44780_TINIT   300
#define HD44780_TCLEAR   1530
#define HD44780_TINSTR   39
#define HD44780_TRAM   430

Define Documentation

#define HD44780_CONTRAST   (1 << _visualPin)

Definition at line 37 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_DB4   (1 << _dataPin)

Definition at line 30 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_DB5   (1 << (_dataPin + 1))

Definition at line 31 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_DB6   (1 << (_dataPin + 2))

Definition at line 32 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_DB7   (1 << (_dataPin + 3))

Definition at line 33 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_E   (1 << (_controlPin + 2))

Definition at line 36 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_LED   (1 << (_visualPin + 1))

Definition at line 38 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_RS   (1 << _controlPin)

Definition at line 34 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_RW   (1 << (_controlPin + 1))

Definition at line 35 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_TC   (1000 * 1000000 / F_CPU / 3 + 1)

Definition at line 42 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_TCLEAR   1530

Definition at line 48 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_TDH   (5 * 1000000 / F_CPU / 3 + 1)

Definition at line 45 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_TINIT   300

Definition at line 47 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_TINSTR   39

Definition at line 49 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_TRAM   430

Definition at line 50 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_TSU1   (60 * 1000000 / F_CPU / 3 + 1)

Definition at line 43 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_TSU2   (195 * 1000000 / F_CPU / 3 + 1)

Definition at line 44 of file MHV_Display_HD44780_Direct_Connect.cpp.

#define HD44780_TW   (450 * 1000000 / F_CPU / 3 + 1)

Definition at line 46 of file MHV_Display_HD44780_Direct_Connect.cpp.