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

📄 stp_drv.h

📁 Zoran V966 DVD 解码 Soc芯片的源程序
💻 H
字号:
/**********************************************************************************
 *  Copyright (c) 2002 ZORAN Corporation, All Rights Reserved
 *  THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
 *
 *  File: $Workfile: stp_drv.h $             
 *
 * Description: 
 * ============
 * STP Driver.
 * 
 * Log:
 * ====
 * $Revision: $
 * Last Modified by $Author: $ at $Modtime: $ 
 **********************************************************************************
 * Updates:
 **********************************************************************************
 * $Log: $
 * 
 * 
 *********************************************************************************/
#include "Config.h"		/* Global Configuration - do not remove! */


#ifndef  _STP_DRV
#define  _STP_DRV


/*** Include Files ***************************************************************/
#include "Include\SysDefs.h"
#include "Drive\drv_defs.h"


/*** Defines *********************************************************************/


/*** Typedefs ********************************************************************/
typedef enum
{
	CFE_MODE_SAMPLER_DISABLED_E,
	CFE_MODE_SAMPLER_LOCKED_E,
	CFE_MODE_SAMPLER_ALWAYS_E
} CFE_MODE_ET;


typedef struct 
{
	UINT16 sensitiveSearch;
	UINT16 frontMissingSync;
	UINT16 backMissingSync;
} CFE_SYNCHRONIZATION_ST;


/*** Public Functions ************************************************************/

/* SCP/BID setting */
void STP_DRV_BidInit(DRV_PHY_DISCTYPE_ET media_type);

/* CFE setting */
void STP_DRV_CfeInit(DRV_PHY_DISCTYPE_ET media_type);
void STP_DRV_CfeMode(CFE_MODE_ET cfe_mode);
void STP_DRV_CfeSynchronization(CFE_SYNCHRONIZATION_ST sync_ctrl);

/* Enable/Disable STP module */
void STP_DRV_StpEnable(void);
void STP_DRV_StpDisable(void);

/* Set STP interrupt thresholds */
void STP_DRV_StartSearching(UINT8 bid_threshold);

/* Set STP interrupt thresholds & start sending data from STP to MCU */
void STP_DRV_StartMonitoring(UINT8 bid_threshold);

/* Set DRC defect threshold */
void STP_DRV_SetDefectThreshold(UINT8 defect_threshold);

/* Reset defect length measurement by the Servo */
void STP_DRV_ResetDefectLength(void);


#endif

⌨️ 快捷键说明

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