📄 fp_data.h
字号:
/******************************************************************************
* Filename : FP_trino.h
* Start date : 2002. 9. 5.
* By : Taejin Kwon
* Contact : eric.kwon@samsung.com
* Description : Key defines that from front-panel of SAMSUNG DVDP
******************************************************************************
*/
#ifndef _FP_DATA_BASIC_H_
#define _FP_DATA_BASIC_H_
/*rainbow.zhang 050829:support vfd*/
#if _APP_CAP_PERI_VFD
#define SEG7_A 0x01
#define SEG7_B 0x02
#define SEG7_C 0x10
#define SEG7_D 0x40
#define SEG7_E 0x20
#define SEG7_F 0x04
#define SEG7_G 0x08
#else /* _APP_CAP_PERI_VFD */
#define SEG7_A 0x80
#define SEG7_B 0x40
#define SEG7_C 0x08
#define SEG7_D 0x02
#define SEG7_E 0x04
#define SEG7_F 0x20
#define SEG7_G 0x10
#endif /* _APP_CAP_PERI_VFD */
/*rainbow.zhang 050829:support vfd*/
#define VALUE0 (SEG7_A | SEG7_B | SEG7_C | SEG7_D | SEG7_E | SEG7_F)
#define VALUE1 (SEG7_B | SEG7_C)
#define VALUE2 (SEG7_A | SEG7_B | SEG7_G | SEG7_E | SEG7_D)
#define VALUE3 (SEG7_A | SEG7_B | SEG7_G | SEG7_C | SEG7_D)
#define VALUE4 (SEG7_F | SEG7_G | SEG7_B | SEG7_C)
#define VALUE5 (SEG7_A | SEG7_F | SEG7_G | SEG7_C | SEG7_D)
#define VALUE6 (SEG7_A | SEG7_F | SEG7_E | SEG7_G | SEG7_C | SEG7_D)
#define VALUE7 (SEG7_A | SEG7_B | SEG7_C)
#define VALUE8 (SEG7_A | SEG7_B | SEG7_C | SEG7_D | SEG7_E | SEG7_F | SEG7_G)
#define VALUE9 (SEG7_A | SEG7_F | SEG7_G | SEG7_B | SEG7_C | SEG7_D)
#define CHAR_A (SEG7_F | SEG7_E | SEG7_A | SEG7_B | SEG7_C | SEG7_G)
#define CHAR_B (SEG7_F | SEG7_E | SEG7_G | SEG7_C | SEG7_D)
#define CHAR_C (SEG7_A | SEG7_F | SEG7_E | SEG7_D)
#define CHAR_D (SEG7_G | SEG7_E | SEG7_D | SEG7_B | SEG7_C)
#define CHAR_E (SEG7_F | SEG7_E | SEG7_A | SEG7_G | SEG7_D)
#define CHAR_F (SEG7_F | SEG7_E | SEG7_A | SEG7_G)
#define CHAR_G (SEG7_A | SEG7_F | SEG7_G | SEG7_B | SEG7_C | SEG7_D)
#define CHAR_H (SEG7_F | SEG7_E | SEG7_G | SEG7_B | SEG7_C)
#define CHAR_I (SEG7_F | SEG7_E)
#define CHAR_J 0x00
#define CHAR_K 0x00
#define CHAR_L (SEG7_F | SEG7_E | SEG7_D)
#define CHAR_M 0x00
#define CHAR_N (SEG7_F | SEG7_E | SEG7_A | SEG7_B | SEG7_C)
#define CHAR_O (SEG7_A | SEG7_B | SEG7_C | SEG7_D | SEG7_E | SEG7_F)
#define CHAR_P (SEG7_F | SEG7_E | SEG7_A | SEG7_B | SEG7_G)
#define CHAR_Q (SEG7_A | SEG7_F | SEG7_G | SEG7_B | SEG7_C)
#define CHAR_R (SEG7_E | SEG7_G)
#define CHAR_S (SEG7_A | SEG7_F | SEG7_G | SEG7_C | SEG7_D)
#define CHAR_T (SEG7_D| SEG7_E | SEG7_F| SEG7_G)
#define CHAR_U (SEG7_F | SEG7_E | SEG7_D | SEG7_C | SEG7_B)
#define CHAR_V (SEG7_F | SEG7_E | SEG7_D | SEG7_C | SEG7_B)
#define CHAR_W 0x00
#define CHAR_X 0x00
#define CHAR_Y (SEG7_F | SEG7_G | SEG7_B | SEG7_C)
#define CHAR_Z (SEG7_F | SEG7_E)
#define CHAR_DOT SEG7_G
#define CHAR_SPACE 0x00
/*rainbow.zhang 050829:support vfd*/
#if _APP_CAP_PERI_VFD
#define FP_INFO_VCD30 0x0680
#define FP_INFO_S0 0x0640
#define FP_INFO_S1 0x0601
#define FP_INFO_S2 0x0602
#define FP_INFO_S3 0x0604
#define FP_INFO_S4 0x0608
#define FP_INFO_S5 0x0610
#define FP_INFO_S6 0x0620
#define FP_INFO_ALL 0x067F
#define FP_INFO_NTSC 0x0580
#define FP_INFO_S 0x0480
#define FP_INFO_KARAOKE 0x0408
#define FP_INFO_AUDIO_L 0x0420
#define FP_INFO_AUDIO_R 0x0440
#define FP_INFO_PAL 0x0404
#define FP_INFO_CD 0x0402
#define FP_INFO_V 0x0401
#define FP_INFO_DVD 0x0380
#define FP_INFO_PBC 0x0280
#define FP_INFO_DOT 0x0180
#define FP_INFO_HYPHEN 0x0410
#define FP_INFO_MP3 0x0080
#else /* _APP_CAP_PERI_VFD */
#define FP_INFO_VCD30 0x0101
#define FP_INFO_S0 0x0102
#define FP_INFO_S1 0x0104
#define FP_INFO_S2 0x0108
#define FP_INFO_S3 0x0110
#define FP_INFO_S4 0x0120
#define FP_INFO_S5 0x0140
#define FP_INFO_S6 0x0180
#define FP_INFO_ALL 0x01FE
#define FP_INFO_NTSC 0x0201
#define FP_INFO_S 0x0301
#define FP_INFO_AUDIO_L 0x0302
#define FP_INFO_AUDIO_R 0x0304
#define FP_INFO_PAL 0x0320
#define FP_INFO_CD 0x0340
#define FP_INFO_V 0x0380
#define FP_INFO_DVD 0x0401
#define FP_INFO_PBC 0x0501
#define FP_INFO_DOT 0x0601
#define FP_INFO_MP3 0x0701
#endif /* _APP_CAP_PERI_VFD */
/*rainbow.zhang 050829:support vfd*/
#endif /* _FP_DATA_BASIC_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -