Newer
Older
DE2_115_PROG / software / qsys_tutorial_lcd / LCD.h
@takayun takayun on 16 Dec 2016 594 bytes initial commit
#ifndef   __LCD_H__
#define   __LCD_H__

//  LCD Module 16*2
#define lcd_write_cmd(base, data)                     IOWR(base, 0, data)
#define lcd_read_cmd(base)                            IORD(base, 1)
#define lcd_write_data(base, data)                    IOWR(base, 2, data)
#define lcd_read_data(base)                           IORD(base, 3) 
//-------------------------------------------------------------------------
void  LCD_Init();
void  LCD_Show_Text(char* Text);
void  LCD_Line2();
void  LCD_Test();
//-------------------------------------------------------------------------

#endif