Debian Codegraph @

thirdparty/analogdevicesinc/no-OS/device_drivers/ADF4153/adf4153_cfg.h

raw symbols SCIP
1 /***************************************************************************//**
2 * @file ADF4153_cfg.h
3 * @brief Header file of ADF4153 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 __ADF4153_CFG_H__
44 #define __ADF4153_CFG_H__
45
46 ADF4153_settings_t ADF4153_st =
47 {
48 25000000, // RFIN is 25Mhz
49 150000, // Channel spacing is 150 Khz
50 10, // 12-bit fractional value
51 8, // 9-bit integer value
52 ADF4153_FASTLOCK_DISABLED, // Fast-Lock
53 16, // 12-bit interpolator modulus value
54 7, // 4-bit R Counter
55 ADF4153_PRESCALER_4_5, // Prescale
56 ADF4153_MUXOUT_LOGICHIGH, // Muxout
57 ADF4153_LOAD_NORMAL, // Load Control
58 ADF4153_CR_DISABLED, // Counter Reset
59 ADF4153_CP_DISABLED, // CP Three-state
60 ADF4153_PD_DISABLED, // Power-down
61 ADF4153_LDP_24, // LDP
62 ADF4153_PD_POL_POSITIVE, // PD Polarity
63 ADF4153_CP_CURRENT_0_63, // Current settings
64 ADF4153_REF_DOUBLER_DIS, // Reference doubler
65 1, // Resync
66 ADF4153_LOW_SPUR_MODE // Noise and Spur mode
67 };
68
69 #endif // __ADF4153_CFG_H__