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

📄 mtv018.h

📁 MTV018驱动源程序。用于车载LCD TV的OSD菜单显示源程序。并且包括了I2C的源程序。
💻 H
📖 第 1 页 / 共 2 页
字号:
 Descriptions:          SetRowAttribute
 input parameters:      StartRow:from 0 to 14;EndRow:from 0 to 14; EndRow>=StartRow
                        Attrib:         b7 b6 b5 b4 b3 b2 b1 b0
                                         - -  -  R2 G2 B2 CHS CWS
                        R2, G2, B2 - These bits are used to specify its relative row character color 2.
                                     While corresponding CCS bit is set to 1, color 2 should be chosen.
                        CHS - Define double height character to the respective row.
                        CWS - Define double width character to the respective row.
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void SetRowAttribute(uchar StartRow, uchar EndRow, uchar Attrib);
/********************************************************************************************************
 Descriptions:          Set display register attribute byte
 input parameters:      StartRow:from 0 to 14;EndRow:from 0 to 14; EndRow>=StartRow
                        Attrib: b7 b6 b5 b4 b3 b2 b1 b0
                                - - - - BLINK R1 G1 B1
                                BLINK - Enable blinking effect while this bit is set to " 1 ".
                                        And the blinking is alternate per 32 vertical frames.
                                R1, G1, B1 - These bits are used to specify its relative address
                                             character color 1.
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void SetDisplayAttribute(uchar StartRow, uchar EndRow, uchar Attrib);
/********************************************************************************************************
 Descriptions:          电视制式调整PAL
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
//void SetMTV018PAL(void);
/********************************************************************************************************
 Descriptions:          电视制式调整NTSC
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
//void SetMTV018NTSC(void);
/********************************************************************************************************
 Descriptions:          auto set the state of OSD;  OSD  NP自动制式调整
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void OSDNPAutoAdjust(void);
/********************************************************************************************************
 Descriptions:          send data to MTV018
 input parameters:      pCode: Code data table first address
                        Cnt  : 1 to 16
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void SendDataMTV018(uchar code *pCode, uchar Cnt);
/********************************************************************************************************
 Descriptions:          start logo
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void StartLogo();
/********************************************************************************************************
 Descriptions:          OSD display mute ID
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void DispOSDMuteID(void);
/********************************************************************************************************
 Descriptions:          OSD display time
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void OSDTimeDisp(void);
/*-----------------------------------------------------------------------*/
void FreshOSDTime(void);
/********************************************************************************************************
 Descriptions:          菜单按键识别程序
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void MenuSelect(void);
/********************************************************************************************************
 Descriptions:          OSD_DIRECT_VOLUME:
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void OSDDirectVolume(void);
/********************************************************************************************************
 Descriptions:          Blue picture of whole LCD:
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void BluePic(void);
/********************************************************************************************************
 Descriptions:          Clear blue picture of whole LCD:
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void ClearBluePic(void);
/********************************************************************************************************
 Descriptions:          RUN_CHANGE_SOUND_CH, and display OSD on LCD 执行声音通道切换
 input parameters:      ucVideoCH:   AV1_CH, AV2_CH, FM_CH, TV_CH, DVDBOX_CH
                        ucAudioParam:AUDIO_MUTE,AUDIO_RR,AUDIO_LL,AUDIO_RL
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void RunChangeSoundCH(uchar ucVideoCH, uchar ucAudioParam);
/********************************************************************************************************
 Descriptions:          显示字符"VOLUME"OSD_DISP_CHAR_VOLUME:
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void OSDDispCharVolume(void);
/********************************************************************************************************
 Descriptions:          显示字符"BASS"OSD_DISP_CHAR_BASS:
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void OSDDispCharBass(void);
/********************************************************************************************************
 Descriptions:          显示字符"TREBLE"OSD_DISP_CHAR_TREBLE:
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void OSDDispCharTreble(void);
/********************************************************************************************************
 Descriptions:          显示字符"BALANCE"OSD_DISP_CHAR_BALBANCE:
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void OSDDispCharBalance(void);
/********************************************************************************************************
 Descriptions:          显示字符"FAD"OSD_DISP_CHAR_FAD:
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void OSDDispCharFad(void);
/********************************************************************************************************
 Descriptions:          OSD_DISP_FM_INFORMAT:
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void OSDDispFMInformat(void);
/********************************************************************************************************
 Descriptions:          ;FM  OSD显示声音调整菜单FM_SOUND_ADJUST_DISP:
 input parameters:      None
 Returned value:        None
 Used global variables: None
 Calling modules:       None
 Created by:            xjj 2006/01/20
-------------------------------------------------------------------------------------------------------
 Modified by:
********************************************************************************************************/
void FMSoundAdjustDisp(void);

#endif//#ifndef IN_MTV018

⌨️ 快捷键说明

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