Annotation of funnyos/dev/lcd/44780reg.h, Revision 1.1
1.1 ! nbrk 1: /*
! 2: * $Id$
! 3: */
! 4: #ifndef H44780REG_H
! 5: #define H44780REG_H
! 6:
! 7: /*
! 8: * 44780 commands.
! 9: */
! 10: #define H44780_CMD_CLS 0x01
! 11: #define H44780_CMD_CR 0x02
! 12: #define H44780_CMD_SETDIR 0x04
! 13: #define H44780_ID 1 << 1
! 14: #define H44780_S 1
! 15: #define H44780_CMD_ENABLE 0x08
! 16: #define H44780_D 1 << 2
! 17: #define H44780_C 1 << 1
! 18: #define H44780_B 1
! 19: #define H44780_CMD_SHIFT 0x10
! 20: #define H44780_SC 1 << 3
! 21: #define H44780_RL 1 << 2
! 22: #define H44780_CMD_IFLEN 0x20
! 23: #define H44780_DL 1 << 4
! 24: #define H44780_N 1 << 3
! 25: #define H44780_F 1 << 2
! 26: /* TODO */
! 27:
! 28: #endif
CVSweb