📄 zl10353.h
字号:
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Afe Labs 2005
All rights are reserved. Reproduction in whole or in parts is
prohibited without the prior written consent of the copyright owner.
----------------------------------------------------------------------
Module: ZL10353.H
Purpose: Interface of ZL10353.C
Version: 1.7
Compiler: Keil 8051 C Compiler v6.20
Reference:
[1] Keil C51 Compiler User's Guide 01.97, Keil Software, Inc.
[2] ZL10353 Design Manual, March 2005, Revision number 1.03
----------------------------------------------------------------------
Modification:
Date Author Reason (what and why)
July 10 '05 Laser Original.
Oct 11 '05 Laser Add ZL10353 Signal Lock
Oct 19 '05 Laser Modify ZL10353 programming procedure
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
#ifndef _ZL10353_H_
#define _ZL10353_H_
/* ------------------------------------
Header Files
------------------------------------ */
#include "datatype.h"
/* ------------------------------------
Macro Definitions
------------------------------------ */
#undef EXTERN
#ifdef _ZL10353_C_
#define EXTERN
#else
#define EXTERN extern
#endif
/* ------------------------------------
Type Definitions
------------------------------------ */
typedef enum
{
BW_6_MHz,
BW_7_MHz,
BW_8_MHz
};
/* ------------------------------------
Variables Definitions/Declarations
------------------------------------ */
#define ZL10353_devAddr 0x1E
#define FE_REFINE 1
/* ------------------------------------
Function Prototypes
------------------------------------ */
EXTERN BOOLEAN ZL10353_Power_On_Initialization ( void );
EXTERN BOOLEAN ZL10353_BW_Programming ( U8 BW );
EXTERN BOOLEAN ZL10353_6M_BW_Coefficient_Write ( void );
EXTERN BOOLEAN ZL10353_Power_ON_OFF ( U8 mode );
EXTERN BOOLEAN ZL10353_Lock_Indicate ( void );
EXTERN float ZL10353_GetSNR ( void );
EXTERN int ZL10353_Get_RF_AGC_Level ( void );
EXTERN int ZL10353_Get_IF_AGC_Level ( void );
EXTERN U8 Tuner_Read ( U8 device );
EXTERN BOOLEAN ZL10353_Tuner_Programming ( U8* pu8data);
EXTERN float ZL10353_PreViterbi ( void );
EXTERN float ZL10353_PostViterbi ( void );
EXTERN BOOLEAN ZL10353_RepeatControl ( BOOLEAN bEnable );
EXTERN BOOLEAN ZL10353_FSM_Restart ( void);
#endif /* _ZL10353_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -