?? stp_drv.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 + -