make uart_pty threadsafe
[simavr] / examples / board_hd77480 / avr_hd44780_conf.h
1 /*
2  * ----------------------------------------------------------------------------
3  * "THE BEER-WARE LICENSE" (Revision 42):
4  * <joerg@FreeBSD.ORG> wrote this file.  As long as you retain this notice you
5  * can do whatever you want with this stuff. If we meet some day, and you think
6  * this stuff is worth it, you can buy me a beer in return.        Joerg Wunsch
7  * ----------------------------------------------------------------------------
8  *
9  * General stdiodemo defines
10  *
11  * $Id: defines.h 2186 2010-09-22 10:25:15Z aboyapati $
12  */
13
14 /* HD44780 LCD port connections */
15 #define HD44780_RW B, 6
16 #define HD44780_E  B, 5
17 #define HD44780_RS B, 4
18 /* The data bits have to be not only in ascending order but also consecutive. */
19 #define HD44780_D4 B, 0
20
21 /* Whether to read the busy flag, or fall back to
22    worst-time delays. */
23 #define USE_BUSY_BIT 1