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

📄 drvtsp.h

📁 mstar 776 开发的车载dvd
💻 H
字号:
////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2006-2007 MStar Semiconductor, Inc.
// All rights reserved.
//
// Unless otherwise stipulated in writing, any and all information contained
// herein regardless in any format shall remain the sole proprietary of
// MStar Semiconductor Inc. and be kept in strict confidence
// (¨MStar Confidential Information〃) by the recipient.
// Any unauthorized act including without limitation unauthorized disclosure,
// copying, use, reproduction, sale, distribution, modification, disassembling,
// reverse engineering and compiling of the contents of MStar Confidential
// Information is unlawful and strictly prohibited. MStar hereby reserves the
// rights to any and all damages, losses, costs and expenses resulting therefrom.
//
// Description: TSP driver
//
////////////////////////////////////////////////////////////////////////////////

#ifndef _DRV_TSP_H_
#define _DRV_TSP_H_

#include "datatype.h"
#include "debug.h"

/*definition ====================================================================================*/
#define DRV_TSP_CODE_ADDRESS	BOOT_TMP_ADR
#define DRV_TSP_CODE_MAXSIZE	1024*8

/*function ======================================================================================*/
#ifdef DRV_TSP
#define DRV_TSP_INTERFACE
#else
#define	DRV_TSP_INTERFACE extern
#endif

DRV_TSP_INTERFACE BOOLEAN MDrv_Tsp_LoadCode(void);
DRV_TSP_INTERFACE BOOLEAN MDrv_Tsp_CompareCode(void);
DRV_TSP_INTERFACE void MDrv_Tsp_DmxHwReset(void);
//kill demux //DRV_TSP_INTERFACE void MDrv_Tsp_Initial(void);
DRV_TSP_INTERFACE U32 MDrv_Tsp_SendCommand(U8 SecFltNo, U16 Command);
DRV_TSP_INTERFACE U32 MDrv_Tsp_GetStc(void);
DRV_TSP_INTERFACE U8 MDrv_Tsp_PingAlive(void);
DRV_TSP_INTERFACE void MDrv_Tsp_SetReg(void);
DRV_TSP_INTERFACE void MDrv_Tsp_GetReg(void);
DRV_TSP_INTERFACE void MDrv_Tsp_DumpSRAM(void);

/*===============================================================================================*/

#endif // _DRV_TSP_H_

⌨️ 快捷键说明

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