openMMC
Open Source Modular MMC for AMCs
Loading...
Searching...
No Matches
cdce906_config.h
Go to the documentation of this file.
1
/*
2
* openMMC -- Open Source modular IPM Controller firmware
3
*
4
* Copyright (C) 2021 Augusto Fraga Giachero <augusto.fraga@cnpem.br>
5
*
6
* This program is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*
19
* @license GPL-3.0+ <http://spdx.org/licenses/GPL-3.0+>
20
*/
21
30
31
#include "
cdce906.h
"
32
33
static
const
cdce906_cfg
cdce906_rtm_cfg =
34
{
35
.clksrc =
CDCE906_CLK_SRC_CLKIN_DIFF
,
36
.pll_div_m = {2, 1, 1},
37
.pll_div_n = {2, 1, 1},
38
.pll_vco_mux = {
39
CDCE906_PLL_VCO_MUX_PLL
,
40
CDCE906_PLL_VCO_MUX_PLL
,
41
CDCE906_PLL_VCO_MUX_PLL
,
42
},
43
.pll_fvco = {
44
CDCE906_PLL_FVCO_80_200MHZ
,
45
CDCE906_PLL_FVCO_80_200MHZ
,
46
CDCE906_PLL_FVCO_80_200MHZ
,
47
},
48
.ssc_mod_amount =
CDCE906_SSC_MOD_AMOUNT_OFF
,
49
.ssc_mod_freq =
CDCE906_SSC_MOD_FREQ_3286
,
50
.s0_cfg =
CDCE906_S0_CFG_POWER_DOWN_CTRL
,
51
.s1_cfg =
CDCE906_S1_CFG_Yx_FIXED_OUTPUT_CTRL
,
52
.pll_sel = {
53
CDCE906_Px_PLL_SEL_PLL1
,
54
CDCE906_Px_PLL_SEL_BYPASS
,
55
CDCE906_Px_PLL_SEL_BYPASS
,
56
CDCE906_Px_PLL_SEL_BYPASS
,
57
CDCE906_Px_PLL_SEL_BYPASS
,
58
CDCE906_Px_PLL_SEL_BYPASS
,
59
},
60
.p_div = {1, 120, 30, 60, 1, 1},
61
.y_slew = {
62
CDCE906_Yx_SLEW_CFG_NOMINAL_1NS
,
63
CDCE906_Yx_SLEW_CFG_NOMINAL_1NS
,
64
CDCE906_Yx_SLEW_CFG_NOMINAL_1NS
,
65
CDCE906_Yx_SLEW_CFG_NOMINAL_1NS
,
66
CDCE906_Yx_SLEW_CFG_NOMINAL_1NS
,
67
CDCE906_Yx_SLEW_CFG_NOMINAL_1NS
,
68
},
69
.y_p_sel = {
70
CDCE906_Yx_Px_SEL_P0
,
71
CDCE906_Yx_Px_SEL_P1
,
72
CDCE906_Yx_Px_SEL_P2
,
73
CDCE906_Yx_Px_SEL_P3
,
74
CDCE906_Yx_Px_SEL_P4
,
75
CDCE906_Yx_Px_SEL_P5
,
76
},
77
.y_out = {
78
CDCE906_Yx_OUT_CFG_EN
,
79
CDCE906_Yx_OUT_CFG_DIS_HIGH
,
80
CDCE906_Yx_OUT_CFG_DIS_LOW
,
81
CDCE906_Yx_OUT_CFG_DIS_LOW
,
82
CDCE906_Yx_OUT_CFG_DIS_LOW
,
83
CDCE906_Yx_OUT_CFG_DIS_LOW
,
84
},
85
};
cdce906.h
CDCE906 PLL driver function declarations.
CDCE906_S1_CFG_Yx_FIXED_OUTPUT_CTRL
@ CDCE906_S1_CFG_Yx_FIXED_OUTPUT_CTRL
Definition
cdce906.h:62
CDCE906_PLL_FVCO_80_200MHZ
@ CDCE906_PLL_FVCO_80_200MHZ
Definition
cdce906.h:50
CDCE906_PLL_VCO_MUX_PLL
@ CDCE906_PLL_VCO_MUX_PLL
Definition
cdce906.h:45
CDCE906_Yx_Px_SEL_P5
@ CDCE906_Yx_Px_SEL_P5
Definition
cdce906.h:97
CDCE906_Yx_Px_SEL_P1
@ CDCE906_Yx_Px_SEL_P1
Definition
cdce906.h:93
CDCE906_Yx_Px_SEL_P3
@ CDCE906_Yx_Px_SEL_P3
Definition
cdce906.h:95
CDCE906_Yx_Px_SEL_P2
@ CDCE906_Yx_Px_SEL_P2
Definition
cdce906.h:94
CDCE906_Yx_Px_SEL_P4
@ CDCE906_Yx_Px_SEL_P4
Definition
cdce906.h:96
CDCE906_Yx_Px_SEL_P0
@ CDCE906_Yx_Px_SEL_P0
Definition
cdce906.h:92
CDCE906_CLK_SRC_CLKIN_DIFF
@ CDCE906_CLK_SRC_CLKIN_DIFF
Definition
cdce906.h:40
CDCE906_Yx_SLEW_CFG_NOMINAL_1NS
@ CDCE906_Yx_SLEW_CFG_NOMINAL_1NS
Definition
cdce906.h:86
CDCE906_SSC_MOD_AMOUNT_OFF
@ CDCE906_SSC_MOD_AMOUNT_OFF
Definition
cdce906.h:102
CDCE906_S0_CFG_POWER_DOWN_CTRL
@ CDCE906_S0_CFG_POWER_DOWN_CTRL
Definition
cdce906.h:55
CDCE906_SSC_MOD_FREQ_3286
@ CDCE906_SSC_MOD_FREQ_3286
Definition
cdce906.h:122
CDCE906_Yx_OUT_CFG_DIS_HIGH
@ CDCE906_Yx_OUT_CFG_DIS_HIGH
Definition
cdce906.h:81
CDCE906_Yx_OUT_CFG_EN
@ CDCE906_Yx_OUT_CFG_EN
Definition
cdce906.h:78
CDCE906_Yx_OUT_CFG_DIS_LOW
@ CDCE906_Yx_OUT_CFG_DIS_LOW
Definition
cdce906.h:80
CDCE906_Px_PLL_SEL_PLL1
@ CDCE906_Px_PLL_SEL_PLL1
Definition
cdce906.h:70
CDCE906_Px_PLL_SEL_BYPASS
@ CDCE906_Px_PLL_SEL_BYPASS
Definition
cdce906.h:69
cdce906_cfg
Definition
cdce906.h:131
port
board
rtm-lamp
cdce906_config.h
Generated on Wed May 28 2025 09:00:01 for openMMC by
1.13.2