📄 public2.h.bak
字号:
#ifndef _PUBLIC2_H_
#define _PUBLIC2_H_
//*********************** UART Baud Rate Setting ***************************
#define CLK27_B384 //UMC Working CLK is 27MHz and Baud rate is 38400
// #define CLK27_B192 //UMC Working CLK is 27MHz and Baud rate is 19200
// #define CLK27_B096 //UMC Working CLK is 27MHz and Baud rate is 9600
// #define CLK27_B048 //UMC Working CLK is 27MHz and Baud rate is 4800
//**************************************************************************
#include <stdio.h> // define I/O functions
#include "ABSACC.h"
#include "..\inc\REG51_MTV512.H"
#include "..\inc\Define.H"
#include "..\inc\Main.H"
#include "..\inc\I2C.H"
#include "..\inc\UART_DVH.H"
#include "..\inc\Timer.H"
#include "..\inc\V46X_Common.h"
#include "..\inc\TV_Tuner.h"
#include "..\inc\V46X_PANEL.h"
#define IntOSDOFF I2C_WriteByte(V462_WRID, 0x16, 0x00) //Turn OFF OSD
#define IntOSDON I2C_WriteByte(V462_WRID, 0x16, 0xA8) //Turn ON OSD
#define ScreenOFF I2C_WriteByte(V462_WRID, 0x1A, 0x80) //Turn OFF Screen
#define ScreenON I2C_WriteByte(V462_WRID, 0x1A, 0x40) //Turn ON Screen
#define CVD1OFF CVD1_ReadWrite(W_TYPE, 0x3F, 0x01) //Turn OFF CVD1
#define CVD1ON CVD1_ReadWrite(W_TYPE, 0x3F, 0x00) //Turn ON CVD1
#define SETCKH I2C_WriteByte(V462_WRID, 0x61, 0x01) //Turn ON ckh
#define PanelON PANEL_EN = 0
#define PanelOFF PANEL_EN = 1
// #define V46xON V46X_POWER = 0
// #define V46xOFF V46X_POWER = 1
// #define TVON TV_POWER = 1
// #define TVOFF TV_POWER = 0
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -