
#ifndef _LCD_SEG_H_
#define _LCD_SEG_H_
#include "main.h"
//-------------------------------------------------------
//LCDµÄSEG¶ÎµØÖ·

#define   LCD_P_97      39
#define   LCD_P_96			38
#define   LCD_P_95			37
#define   LCD_P_94			36
#define   LCD_P_93			35
#define   LCD_P_92			34
#define   LCD_P_91			33
#define   LCD_P_90			32
#define   LCD_P_89			31
#define   LCD_P_88			30
#define   LCD_P_87			29
#define   LCD_P_86			28
#define   LCD_P_85			27
#define   LCD_P_84			26
#define   LCD_P_83			25
#define   LCD_P_76			24
#define   LCD_P_75			23
#define   LCD_P_66			22
#define   LCD_P_65			21
#define   LCD_P_64			20
#define   LCD_P_63			19
#define   LCD_P_62			18
#define   LCD_P_61			17
#define   LCD_P_60			16
#define   LCD_P_59			15
#define   LCD_P_58			14
#define   LCD_P_57			13
#define   LCD_P_56			12
#define   LCD_P_55			11
#define   LCD_P_54			10
#define   LCD_P_53			9
#define   LCD_P_52			8
#define   LCD_P_36			7
#define   LCD_P_35			6
#define   LCD_P_34			5
#define   LCD_P_33			4
#define   LCD_P_32			3
#define   LCD_P_31			2
#define   LCD_P_30			1
#define   LCD_P_29			0

#define   tSEGYB			LCD_P_94
#define   tSEGSB			LCD_P_85

#define   tSEG1			  LCD_P_90
#define   tSEG2			 	LCD_P_91
#define   tSEG3			 	LCD_P_92
#define   tSEG4			 	LCD_P_93
#define   tSEG5			 	LCD_P_94

#define   tSEG6			 	LCD_P_89
#define   tSEG7			 	LCD_P_88
#define   tSEG8			 	LCD_P_87
#define   tSEG9			 	LCD_P_86
#define   tSEG10			LCD_P_85


extern uint8_t LCD_SW_BUF;
extern uint8_t LCD_YL_BUF;
extern uint8_t LCD_TB_FF;

void WritDataToLCDRAM(INT8U mADR, INT8U mDATA) ;
void DSP_SYB_BUFF_LCD(void) ;
void LCD_Seg_Init(void);
void CLEAR_ALLSCR(void);
#endif