Debian Codegraph @

thirdparty/analogdevicesinc/no-OS/device_drivers/ADF4106/adf4106_cfg.h

raw symbols SCIP
1 /***************************************************************************//**
2 * @file ADF4106_cfg.h
3 * @brief Header file of ADF4106 Driver Configuration. Here can be defined
4 * the register set ups which going to be used in the initialization
5 * phase
6 *
7 * @author Istvan Csomortani ([email protected])
8 ********************************************************************************
9 * Copyright 2013(c) Analog Devices, Inc.
10 *
11 * All rights reserved.
12 *
13 * Redistribution and use in source and binary forms, with or without
14 * modification, are permitted provided that the following conditions are met:
15 * - Redistributions of source code must retain the above copyright
16 * notice, this list of conditions and the following disclaimer.
17 * - Redistributions in binary form must reproduce the above copyright
18 * notice, this list of conditions and the following disclaimer in
19 * the documentation and/or other materials provided with the
20 * distribution.
21 * - Neither the name of Analog Devices, Inc. nor the names of its
22 * contributors may be used to endorse or promote products derived
23 * from this software without specific prior written permission.
24 * - The use of this software may or may not infringe the patent rights
25 * of one or more patent holders. This license does not release you
26 * from the requirement that you obtain separate licenses from these
27 * patent holders to use this software.
28 * - Use of the software either in source or binary form, must be run
29 * on or directly connected to an Analog Devices Inc. component.
30 *
31 * THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR
32 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT,
33 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
34 * IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT,
35 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
36 * LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR
37 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
38 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
39 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
40 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41 *
42 ******************************************************************************/
43 #ifndef __ADF4106_CFG_H__
44 #define __ADF4106_CFG_H__
45
46 ADF4106_settings_t ADF4106_st =
47 {
48 10000000, // RFIN is 10Mhz
49 200000, // User defined PFD max frequency
50 10, // refCounter
51 ADF4106_R_ABP_2_9NS, // Anti-backlash Pulse Width options
52 ADF4106_R_TMB_NORMAL, // Test Mode Bits
53 ADF4106_R_LDP_5, // Lock Detect Precision
54 4, // N Counter Latch A
55 2, // N Counter Latch B
56 ADF4106_N_CP_GAIN_1, // Charge Pump Gain Settings
57 ADF4106_CR_NORMAL, // Counter Reset Bit
58 ADF4106_PD1_NORMAL, // Power Down Bit 1
59 ADF4106_MUXOUT_NDIV_OUTPUT, // Muxout Control
60 ADF4106_PDPOL_NEGATIVE, // Phase Detector Polarity
61 ADF4106_CP_NORMAL, // Charge Pump Output
62 ADF4106_FASTLOCK_MODE1, // Fastlock Mode
63 ADF4106_TCC_3, // Timer Counter Control
64 ADF4106_CS_2_5, // Current Setting 1
65 ADF4106_CS_2_5, // Current Setting 2
66 ADF4106_SYNC_PWD, // Synchronous or asynchronous power down
67 ADF4106_PS_8_9 // Prescaler value
68 };
69
70 #endif // __ADF4106_CFG_H__