vfd_zihuan_l.h
资源名称:8202s.rar [点击查看]
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:7k
源码类别:
DVD
开发平台:
C/C++
- #ifndef __HT_13D_15S_H
- #define __HT_13D_15S_H
- /* The following describe NINTAUS N701 Panel */
- /* */
- #if 0
- #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
- /*
- #define VFD_DOT_PBC (31)//BYTE 3,bit 7
- #define VFD_DOT_ANGLE (47)//BYTE 5,bit 7
- #define VFD_DOT_MINSEC (39)//BYTE 4, bit 7
- #define VFD_DOT_MIN (55)//BYTE 6, bit 7
- #define VFD_DOT_DOBLY (63)//BYTE 7, bit 7
- #define VFD_DOT_DVD (95)//BYTE 11,bit 7
- #define VFD_DOT_CD (76)//BYTE 9,bit 4
- #define VFD_DOT_V (77)//BYTE 9,bit 5
- #define VFD_DOT_S (78)//BYTE 9,bit 6
- #define VFD_DOT_MP3 (30)//BYTE 9,bit 6//nono 2-4-29 23:23
- #define VFD_DOT_DTS (79)//BYTE 9,bit 7
- #define VFD_DOT_PLAY (75)//BYTE 9,bit 3
- #define VFD_DOT_REPALL (73)//BYTE 9,bit 1
- #define VFD_DOT_REPEAT (72)//BYTE 9,bit 0
- #define VFD_DOT_REPAB (72)//BYTE 9,bit 0
- #define VFD_DOT_PAUSE (74)//BYTE 9,bit 2
- */
- //jim
- #define VFD_DOT_PBC (00)//BYTE 3,bit 7
- #define VFD_DOT_ANGLE (16)//BYTE 5,bit 7
- #define VFD_DOT_MINSEC (24)//BYTE 4, bit 7
- #define VFD_DOT_MIN (40)//BYTE 6, bit 7
- #define VFD_DOT_DOBLY (32)//BYTE 7, bit 7
- #define VFD_DOT_DVD (64)//BYTE 11,bit 7
- #define VFD_DOT_CD (51)//BYTE 9,bit 4
- #define VFD_DOT_V (50)//BYTE 9,bit 5
- #define VFD_DOT_S (49)//BYTE 9,bit 6
- #define VFD_DOT_MP3 (01)//BYTE 9,bit 6//nono 2-4-29 23:23
- #define VFD_DOT_DTS (48)//BYTE 9,bit 7
- #define VFD_DOT_PLAY (52)//BYTE 9,bit 3
- #define VFD_DOT_REPALL (54)//BYTE 9,bit 1
- #define VFD_DOT_REPEAT (55)//BYTE 9,bit 0
- //#define VFD_DOT_REPAB (72)//BYTE 9,bit 0
- #define VFD_DOT_PAUSE (53)//BYTE 9,bit 2
- #if 0
- #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
- #endif
- /*
- ** Definition for 7-seg display
- **
- ** we assume 7-seg are defined as traditional 7-segment LED.
- **
- ** AAAA
- ** C B
- ** C B
- ** DDDD
- ** F E
- ** F E
- ** GGGG
- **
- **
- */
- /*
- #define VFD_7SEG_SG (0x01)
- #define VFD_7SEG_SF (0x02)
- #define VFD_7SEG_SE (0x04)
- #define VFD_7SEG_SD (0x08)
- #define VFD_7SEG_SC (0x10)
- #define VFD_7SEG_SB (0x20)
- #define VFD_7SEG_SA (0x40)
- */
- //jim
- #define VFD_7SEG_SA (0x01)
- #define VFD_7SEG_SB (0x02)
- #define VFD_7SEG_SC (0x04)
- #define VFD_7SEG_SD (0x08)
- #define VFD_7SEG_SE (0x10)
- #define VFD_7SEG_SF (0x20)
- #define VFD_7SEG_SG (0x40)
- #define VFD_7SEG_0 (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SG|VFD_7SEG_SC|VFD_7SEG_SE|VFD_7SEG_SF)
- #define VFD_7SEG_1 (VFD_7SEG_SB|VFD_7SEG_SE)
- #define VFD_7SEG_2 (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SD|VFD_7SEG_SF|VFD_7SEG_SG)
- #define VFD_7SEG_3 (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SD|VFD_7SEG_SE|VFD_7SEG_SG)
- #define VFD_7SEG_4 (VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SB|VFD_7SEG_SE)
- #define VFD_7SEG_5 (VFD_7SEG_SA|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SE|VFD_7SEG_SG)
- #define VFD_7SEG_6 (VFD_7SEG_SA|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SF|VFD_7SEG_SE|VFD_7SEG_SG)
- #define VFD_7SEG_7 (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SE)
- #define VFD_7SEG_8 (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SE|VFD_7SEG_SF|VFD_7SEG_SG)
- #define VFD_7SEG_9 (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SE|VFD_7SEG_SG)
- #define VFD_7SEG_DIG_MASK (VFD_7SEG_8)
- #define VFD_7SEG_A (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SE|VFD_7SEG_SF|VFD_7SEG_SD)
- #define VFD_7SEG_b (VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SE|VFD_7SEG_SF|VFD_7SEG_SG)
- #define VFD_7SEG_B VFD_7SEG_b
- #define VFD_7SEG_C (VFD_7SEG_SA|VFD_7SEG_SC|VFD_7SEG_SF|VFD_7SEG_SG)
- #define VFD_7SEG_d (VFD_7SEG_SB|VFD_7SEG_SD|VFD_7SEG_SE|VFD_7SEG_SF|VFD_7SEG_SG)
- #define VFD_7SEG_D VFD_7SEG_d
- #define VFD_7SEG_E (VFD_7SEG_SA|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SF|VFD_7SEG_SG)
- #define VFD_7SEG_F (VFD_7SEG_SA|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SF)
- #define VFD_7SEG_G (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SE|VFD_7SEG_SG)
- #define VFD_7SEG_H (VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SF|VFD_7SEG_SE)
- #define VFD_7SEG_I (VFD_7SEG_SB|VFD_7SEG_SE)
- #define VFD_7SEG_J (VFD_7SEG_SB|VFD_7SEG_SE|VFD_7SEG_SG|VFD_7SEG_SF)
- #define VFD_7SEG_K (VFD_7SEG_SB|VFD_7SEG_SE|VFD_7SEG_SG|VFD_7SEG_SF)
- #define VFD_7SEG_L (VFD_7SEG_SC|VFD_7SEG_SF|VFD_7SEG_SG)
- #define VFD_7SEG_M (VFD_7SEG_SF|VFD_7SEG_SD|VFD_7SEG_SE)
- #define VFD_7SEG_N (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SE|VFD_7SEG_SF)
- //#define VFD_7SEG_N (VFD_7SEG_SF|VFD_7SEG_SD|VFD_7SEG_SE)
- #define VFD_7SEG_O (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SG|VFD_7SEG_SC|VFD_7SEG_SE|VFD_7SEG_SF)
- #define VFD_7SEG_P (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SF)
- #define VFD_7SEG_Q (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SF)
- #define VFD_7SEG_r (VFD_7SEG_SD|VFD_7SEG_SF)
- #define VFD_7SEG_R VFD_7SEG_r
- #define VFD_7SEG_S (VFD_7SEG_SA|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SE|VFD_7SEG_SG)
- #define VFD_7SEG_t (VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SF|VFD_7SEG_SG)
- #define VFD_7SEG_T VFD_7SEG_t
- #define VFD_7SEG_U (VFD_7SEG_SC|VFD_7SEG_SB|VFD_7SEG_SF|VFD_7SEG_SE|VFD_7SEG_SG)
- #define VFD_7SEG_V (VFD_7SEG_SC|VFD_7SEG_SB|VFD_7SEG_SF|VFD_7SEG_SE|VFD_7SEG_SG)
- #define VFD_7SEG_W (VFD_7SEG_SC|VFD_7SEG_SB|VFD_7SEG_SF|VFD_7SEG_SE|VFD_7SEG_SG)
- #define VFD_7SEG_X (VFD_7SEG_SC|VFD_7SEG_SB|VFD_7SEG_SF|VFD_7SEG_SE|VFD_7SEG_SG)
- #define VFD_7SEG_Y (VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SB|VFD_7SEG_SE|VFD_7SEG_SG)
- #define VFD_7SEG_Z (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SD|VFD_7SEG_SF|VFD_7SEG_SG)
- #define VFD_7SEG_MASK 0xff
- #endif /*__FUT_6_BT_269GK1_H */