📄 drv_hd44780_l.h
字号:
/*************************************************************************
*
* Used with ICCARM and AARM.
*
* (c) Copyright IAR Systems 2007
*
* File name : drv_hd44780_l.c
* Description : I/O function
*
* History :
* 1. Date : 13, September 2007
* Author : Stanimir Bonev
* Description : Create
*
* $Revision: 18137 $
**************************************************************************/
#include "includes.h"
#ifndef __DRV_HD44780_L_H
#define __DRV_HD44780_L_H
#define LCD_LIGHT_ON() LCD_BL_FSET = LCD_BL_MASK
#define LCD_LIGHT_OFF() LCD_BL_FCLR = LCD_BL_MASK
/* Delay macro */
#define HD44780_BUS_DLY() for(volatile int dly = 30;dly;--dly)
void HD44780_IO_Init (void);
void HD44780SetRS (Boolean Data);
void HD44780SetE (Boolean Data);
void HD44780WrIO (Int8U);
#if HD4780_WR > 0
void HD44780SetRW (Boolean Data);
Int8U HD44780RdIO (void);
#endif //HD4780_WR > 0
#endif // __DRV_HD44780_L_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -