drvnim.h

来自「mstar 776 开发的车载dvd」· C头文件 代码 · 共 66 行

H
66
字号
////////////////////////////////////////////////////////////////////////////////
//
// 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 + =
减小字号Ctrl + -
显示快捷键?