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

📄 hardware.h

📁 一个用adtlc2543采样电视波形,显示波形的51程序
💻 H
字号:
//------------------------------------------------------------------------------------
// 伪导频仪
//------------------------------------------------------------------------------------
// Copyright 2001 Chyxd, Inc.
//
// AUTH: heqi
// DATE: 2003 5 4
//
// This program switch channel for seven 
//
// Target: wdp_v00.ddb
//
//---------------------------------------------------------------------------------
//
// P0.7_5 =SW2.1_3 :Select cycle
//     SW2.1 2 3
//        =0 0 0--constant(used for PLL)
//        =0 0 1--100 ms  
//        =0 1 0--200 ms  
//        =0 1 1--300 ms  
//        =1 0 0--400 ms  
//        =1 0 1--500 ms  
//        =1 1 0--600 ms  
//        =1 1 1--700 ms  
// P0.4_2 =SW2.4_6 :Select main channel
//	   SW2.4 5 6
//		  =0 0 0--channel 1	
//               :
//		  =1 1 0--channel 7	
//
// p1.0_6   =SW1.1_7   :each bit for one channel carrier
//        =0       :no
//        =1       :used
//    SW1.1--channel 1;
//         :  
//    SW1.7--channel 7;
//
// p1.7   =SW1.8   :reference clock selection
//		  =0--19.68M
//		  =1--9.84M  // not implemented now
//-----------------------------------------------------------------------
//LMX3206 PLL
//-----------------------------------------------------------------------
//DATA FORMAT 21 BITS  , The data stream is shifted (on the rising edge of LE) into the DATA input
//                       MSB first . The last two bits are the Control Bits. 
// 
// C1 C2 X1 X2 X3 X4 X5 X6 X7 X8......X18 X19 
// LSB                                    MSB
//
// C1 C2   Describe 
//  0  0   R counter        14-bit R Counter(3--16383) ; R15_18=0000 ; R19=The LD precision
//  1  0   N counter        N18_6=13-bit B Counter ; N5_1=5-bit A Counter ; N19=GO bit
//  0  1   Function Latch
//  1  1   Initialization
//
// fvco = [(P x B) + A] x fosc/R
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

⌨️ 快捷键说明

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