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

📄 drvnim.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.
//
////////////////////////////////////////////////////////////////////////////////

#ifndef _DRV_NIM_H_
#define _DRV_NIM_H_

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

#if (PLATFORM != MCU8051) //================================================<<<
#include "hw_nim.h"
#else //<<<=================================================================>>>
#define PACKET_SIZE				188
#endif//PLATFORM_MCU8051 //=================================================>>>

/*enumeration ===================================================================================*/
enum DRV_NIM_HW_CONFIG_BIT
{
	DRV_NIM_HW_CONFIG_BIT_DataSource	= 0x00000001
};

enum DRV_NIM_HW_CONFIG_SHIFT
{
	DRV_NIM_HW_CONFIG_SHIFT_DataSource = 0
};

enum DRV_NIM_HW_CONFIG_BIT_DataSource_VALUE
{
	DRV_NIM_SRC_NIM		= 0,
	DRV_NIM_SRC_INPORT	= 1
};

/*function ======================================================================================*/
#ifdef DRV_NIM
#define DRV_NIM_INTERFACE
#else
#define	DRV_NIM_INTERFACE extern
#endif

DRV_NIM_INTERFACE void MDrv_Nim_SetDataSource(U8 DataSource);
DRV_NIM_INTERFACE U8 MDrv_Nim_Initial(void);
DRV_NIM_INTERFACE void MDrv_Nim_PushMacauPMT(U8 KeepSrc);
DRV_NIM_INTERFACE void MDrv_Nim_PushNullPacket(U8 KeepSrc);
DRV_NIM_INTERFACE void MDrv_Nim_PushCsaPacket1(U8 KeepSrc);
DRV_NIM_INTERFACE void MDrv_Nim_PushCsaPacket2(U8 KeepSrc);
DRV_NIM_INTERFACE void MDrv_Nim_DumpAllCsaPacket1(void);

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

#endif // _DRV_NIM_H END 

⌨️ 快捷键说明

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