-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLCD_Driver.h
42 lines (35 loc) · 1.14 KB
/
LCD_Driver.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* ========================================
*
* Copyright YOUR COMPANY, THE YEAR
* All Rights Reserved
* UNPUBLISHED, LICENSED SOFTWARE.
*
* CONFIDENTIAL AND PROPRIETARY INFORMATION
* WHICH IS THE PROPERTY OF your company.
*
* ========================================
*/
//[] END OF FILE
#ifndef _NT7534_DRIVER_H_
#define _NT7534_DRIVER_H_
#include "terasic_os_includes.h"
#define SPI_GRAPHIC_LCD
void LCDDrv_Display(bool bOn);
void LCDDrv_SetStartLine(uint8_t StartLine);
void LCDDrv_SetPageAddr(uint8_t PageAddr);
void LCDDrv_SetColAddr(uint8_t ColAddr);
void LCDDrv_WriteData(uint8_t Data);
void LCDDrv_WriteMultiData(uint8_t * Data, uint16_t num);
void LCDDrv_SetADC(bool bNormal);
void LCDDrv_SetReverse(bool bNormal);
void LCDDrv_SetBias(bool bEntireOn);
void LCDDrv_SetBias(bool bDefault);
void LCDDrv_ReadModifyWrite_Start(void);
void LCDDrv_ReadModifyWrite_End(void);
void LCDDrv_Reset(void);
void LCDDrv_SetOsc(bool bDefault);
void LCDDrv_SetPowerControl(uint8_t PowerMask);
void LCDDrv_SetResistorRatio(uint8_t Value);
void LCDDrv_SetOuputResistorRatio(uint8_t Value);
void LCDDrv_SetOuputStatusSelect(bool bNormal);
#endif //_NT7534_DRIVER_H_