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

📄 zl10353_pri.h.txt

📁 zl10353-prv.h 下载此源码
💻 TXT
字号:
zl10353_priv.h
00001 /*
00002  *  Driver for Zarlink DVB-T ZL10353 demodulator
00003  *
00004  *  Copyright (C) 2006, 2007 Christopher Pascoe <c.pascoe@itee.uq.edu.au>
00005  *
00006  *  This program is free software; you can redistribute it and/or modify
00007  *  it under the terms of the GNU General Public License as published by
00008  *  the Free Software Foundation; either version 2 of the License, or
00009  *  (at your option) any later version.
00010  *
00011  *  This program is distributed in the hope that it will be useful,
00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *
00015  *  GNU General Public License for more details.
00016  *
00017  *  You should have received a copy of the GNU General Public License
00018  *  along with this program; if not, write to the Free Software
00019  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00020  */
00021 
00022 #ifndef _ZL10353_PRIV_
00023 #define _ZL10353_PRIV_
00024 
00025 #define ID_ZL10353      0x14
00026 
00027 #define msb(x) (((x) >> 8) & 0xff)
00028 #define lsb(x) ((x) & 0xff)
00029 
00030 enum zl10353_reg_addr {
00031       INTERRUPT_0        = 0x00,
00032       INTERRUPT_1        = 0x01,
00033       INTERRUPT_2        = 0x02,
00034       INTERRUPT_3        = 0x03,
00035       INTERRUPT_4        = 0x04,
00036       INTERRUPT_5        = 0x05,
00037       STATUS_6           = 0x06,
00038       STATUS_7           = 0x07,
00039       STATUS_8           = 0x08,
00040       STATUS_9           = 0x09,
00041       AGC_GAIN_1         = 0x0A,
00042       AGC_GAIN_0         = 0x0B,
00043       SNR                = 0x10,
00044       RS_ERR_CNT_2       = 0x11,
00045       RS_ERR_CNT_1       = 0x12,
00046       RS_ERR_CNT_0       = 0x13,
00047       RS_UBC_1           = 0x14,
00048       RS_UBC_0           = 0x15,
00049       TPS_RECEIVED_1     = 0x1D,
00050       TPS_RECEIVED_0     = 0x1E,
00051       TPS_CURRENT_1      = 0x1F,
00052       TPS_CURRENT_0      = 0x20,
00053       RESET              = 0x55,
00054       AGC_TARGET         = 0x56,
00055       MCLK_RATIO         = 0x5C,
00056       ACQ_CTL            = 0x5E,
00057       TRL_NOMINAL_RATE_1 = 0x65,
00058       TRL_NOMINAL_RATE_0 = 0x66,
00059       INPUT_FREQ_1       = 0x6C,
00060       INPUT_FREQ_0       = 0x6D,
00061       TPS_GIVEN_1        = 0x6E,
00062       TPS_GIVEN_0        = 0x6F,
00063       TUNER_GO           = 0x70,
00064       FSM_GO             = 0x71,
00065       CHIP_ID            = 0x7F,
00066       CHAN_STEP_1        = 0xE4,
00067       CHAN_STEP_0        = 0xE5,
00068       OFDM_LOCK_TIME     = 0xE7,
00069       FEC_LOCK_TIME      = 0xE8,
00070       ACQ_DELAY          = 0xE9,
00071 };
00072 
00073 #endif                          /* _ZL10353_PRIV_ */

⌨️ 快捷键说明

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