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

📄 stp_defs.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_defs.h $             
 *
 * Description: 
 * ============
 * STP Driver Definitions.
 * 
 * Log:
 * ====
 * $Revision: $
 * Last Modified by $Author: $ at $Modtime: $ 
 **********************************************************************************
 * Updates:
 **********************************************************************************
 * $Log: $
 * 
 * 
 *********************************************************************************/
#include "Config.h"		/* Global Configuration - do not remove! */


#ifndef  _STP_DEFS
#define  _STP_DEFS


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


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


/*** Typedefs ********************************************************************/

typedef struct
{
	unsigned
		sync0_not_arrived			 : 1,
        sync1_not_arrived			 : 1,
        block_is_short				 : 1,        /* less then 98 frames */
        block_is_long				 : 1,        /* less then 98 frames */
		reserv						 : 4,   
        reserv1						 : 2,
        data_is_not_in_mcu			 : 1,
        sync_missed					 : 1,        /* in more then FRAME_ERR_TH */
        pll_unlocked				 : 1,        /* in more then FRAME_ERR_TH */
        drc_deffect					 : 1,        /* in more then FRAME_ERR_TH */
        crc_not_ok					 : 1,
        p_bit						 : 1;
} STP_DEFS_SCP_STATUS_BITS_ST;


typedef union
{
    STP_DEFS_SCP_STATUS_BITS_ST bits;
    UINT16                      all;
} STP_DEFS_SCP_STATUS_REG_UT;


typedef struct
{
	unsigned
        id_not_in_order				 : 1,
        first_in_ECC_block			 : 1,
        data_is_not_in_mcu			 : 1,
        sync_missed					 : 1,        /* in more then FRAME_ERR_TH */
        pll_unlocked				 : 1,        /* in more then FRAME_ERR_TH */
        drc_deffect					 : 1,        /* in more then FRAME_ERR_TH */
        id_not_ok					 : 1,
        id_was_corrected			 : 1,        /* only if correct_id in BID_CTR enabled */
        er_status					 : 5,
        identical_syncs_er			 : 1,
        jump_inside_er				 : 1,        /* jump inside a block */
        jump_another_er				 : 1;        /* jump to another block */
} STP_DEFS_BID_STATUS_BITS_ST;


typedef union
{
    STP_DEFS_BID_STATUS_BITS_ST bits;
    UINT16                      all;
} STP_DEFS_BID_STATUS_REG_UT;


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


#endif

⌨️ 快捷键说明

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