⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vfd_nin_l.h

📁 Sunplus 8202S source code.
💻 H
字号:
#ifndef __HT_13D_15S_H
#define __HT_13D_15S_H

/*    The following describe NINTAUS N701 Panel     */
/*                                                */


#if 1

#define	VFD_DOT_PGM01	(92)
#define	VFD_DOT_PGM02	(93)
#define	VFD_DOT_PGM03	(94)
#define	VFD_DOT_PGM04	(95)
#define	VFD_DOT_PGM05	(88)
#define	VFD_DOT_PGM06	(89)
#define	VFD_DOT_PGM07	(90)
#define	VFD_DOT_PGM08	(91)
#define	VFD_DOT_PGM09	(84)
#define	VFD_DOT_PGM10	(85)
#define	VFD_DOT_PGM11	(86)
#define	VFD_DOT_PGM12	(87)
#define	VFD_DOT_PGM13	(80)
#define	VFD_DOT_PGM14	(81)
#define	VFD_DOT_PGM15	(82)
#define	VFD_DOT_PGM16	(83)
#endif




//      new define by chihcang 2001 5/26
#define	VFD_DOT_DVD     (12)
#define	VFD_DOT_PLAY	(24)
#define	VFD_DOT_REPALL	(25)
#define	VFD_DOT_REPEAT	(25)
#define VFD_DOT_REPAB   (26)

#define	VFD_DOT_PAUSE	(27)

#define VFD_DOT_ANGLE   (31)
#define	VFD_DOT_PGM	(37)
#define VFD_DOT_PBC     (17)     //SPACE
#define	VFD_DOT_MIN	 206//BYTE 25, bit 7
#define	VFD_DOT_MINSEC	(254)//BYTE 31, bit 7


/*
**    define for AC3 5.1 chanell speaker
**    BYTE 36,37 
**	
**
**
**		1              1
**		 1	      1
**	          111111111111	
**		  1   4444   1 	
**		2 1          1 5		
**		2 1 3  77  6 1 5
**                1 3      6 1 	
**                1 3      6 1 8
**                1          1 8
**                 
**                10 10    99
*/


#define VFD_DOT_AC3_FRAME	(288) //36*8  BYTE 36, bit 0
#define VFD_DOT_AC3_SL		(289)//BYTE 36, bit 1
#define VFD_DOT_AC3_FL		(290)//BYTE 36, bit 2
#define VFD_DOT_AC3_CC		(291)//BYTE 36, bit 3		
#define VFD_DOT_AC3_SR		(292)//BYTE 36, bit 4
#define VFD_DOT_AC3_FR		(293)//BYTE 36, bit 5
#define VFD_DOT_AC3_SW		(294)//BYTE 36, bit 6
#define VFD_DOT_AC3_7CH		(295)//BYTE 36, bit 7
#define VFD_DOT_AC3_24BIT	(296)//BYTE 37, bit 0
#define VFD_DOT_AC3_96kHZ	(297)//BYTE 37, bit 1

//#define VFD_SPK_6CH 		(VFD_AC3_FRAME|VFD_AC3_SL|VFD_AC3_FL|VFD_AC3_CC|VFD_AC3_SR|VFD_AC3_FR|VFD_AC3_SW)
//#define VFD_SPK_2CH		(VFD_AC3_FRAME|VFD_AC3_FL|VFD_AC3_FR|VFD_AC3_SW)


#define VFDA_T20        	6
#define VFDA_T21        	7
#define VFDA_T10        	9
#define VFDA_T11        	10
#define VFDA_T00        	12
#define VFDA_T01        	13
#define	VFDA_P10		15
#define	VFDA_P11		16
#define	VFDA_P00		18		
#define	VFDA_P01		19
#define VFDA_CHAR00      	21
#define VFDA_CHAR01      	22
#define	VFDA_M10	    	24	
#define	VFDA_M11		25
#define	VFDA_M00		27
#define	VFDA_M01		28
#define	VFDA_S10		30
#define	VFDA_S11		31
#define	VFDA_S00		33
#define	VFDA_S01		34


#define VFDA_T0     		1
#define VFDA_T1     		0
#define	VFDA_P0			3//1		
#define	VFDA_P1			2//0
#define	VFDA_M0			6//5
#define	VFDA_M1			8//4
#define	VFDA_S0			11//7
#define	VFDA_S1			10//6
#define VFDA_CHAR   		4




/*
** Definition for 7-seg display
**
** we assume 7-seg are defined as traditional 7-segment LED.
**
**	 AAAA			HT1611	     AAAAA 
**	F    B				    B  C  D
**	F    B				  F  B C D  E
**	 GGGG				  F   B D   E 
**	E    C				    HH   GG
**	E    C				  J   K M   I
**	 DDDD				  J  K L M  I
**					    K  L  M							
**					     NNNNN  	

*/






#define	VFD_7SEG_SA	(0x0001)
#define	VFD_7SEG_SB	(0x0002)
#define	VFD_7SEG_SC	(0x0004)
#define	VFD_7SEG_SD	(0x0008)
#define	VFD_7SEG_SE	(0x0010)
#define	VFD_7SEG_SF	(0x0020)
#define	VFD_7SEG_SG	(0x0040)
#define	VFD_7SEG_SH	(0x0080)
#define	VFD_7SEG_SI	(0x0100)
#define	VFD_7SEG_SJ	(0x0200)
#define	VFD_7SEG_SK	(0x0400)
#define	VFD_7SEG_SL	(0x0800)
#define	VFD_7SEG_SM	(0x1000)
#define	VFD_7SEG_SN	(0x2000)


#define	VFD_7SEG_0	(VFD_7SEG_SA|VFD_7SEG_SE|VFD_7SEG_SF|VFD_7SEG_SI|VFD_7SEG_SJ|VFD_7SEG_SN)
#define	VFD_7SEG_1	(VFD_7SEG_SE|VFD_7SEG_SI)
#define	VFD_7SEG_2	(VFD_7SEG_SA|VFD_7SEG_SE|VFD_7SEG_SH|VFD_7SEG_SG|VFD_7SEG_SJ|VFD_7SEG_SN)
#define	VFD_7SEG_3	(VFD_7SEG_SA|VFD_7SEG_SE|VFD_7SEG_SH|VFD_7SEG_SG|VFD_7SEG_SI|VFD_7SEG_SN)
#define	VFD_7SEG_4	(VFD_7SEG_SE|VFD_7SEG_SF|VFD_7SEG_SG|VFD_7SEG_SH|VFD_7SEG_SI)
#define	VFD_7SEG_5	(VFD_7SEG_SA|VFD_7SEG_SF|VFD_7SEG_SG|VFD_7SEG_SH|VFD_7SEG_SI|VFD_7SEG_SN)
#define	VFD_7SEG_6	(VFD_7SEG_SA|VFD_7SEG_SF|VFD_7SEG_SH|VFD_7SEG_SG|VFD_7SEG_SI|VFD_7SEG_SJ|VFD_7SEG_SN)
#define	VFD_7SEG_7	(VFD_7SEG_SA|VFD_7SEG_SE|VFD_7SEG_SI)
#define	VFD_7SEG_8	(VFD_7SEG_SA|VFD_7SEG_SE|VFD_7SEG_SF|VFD_7SEG_SG|VFD_7SEG_SH|VFD_7SEG_SI|VFD_7SEG_SJ|VFD_7SEG_SN)
#define	VFD_7SEG_9	(VFD_7SEG_SA|VFD_7SEG_SE|V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z	(VFD_7SEG_SA|VFD_7SEG_SD|VFD_7SEG_SK|VFD_7SEG_SN)
#define VFD_7SEG_MASK  0xff



#endif  /*__FUT_6_BT_269GK1_H */



































































⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -