forked from M-Labs/artiq
Enabled internal pullup for CML SYSREF outputs, otherwise there is no signal on them.
Signed-off-by: Paweł Kulik <pawel.kulik@creotech.pl>
This commit is contained in:
parent
7098854b0f
commit
14e250c78f
|
@ -150,9 +150,9 @@ pub mod hmc7043 {
|
||||||
// enabled, divider, output config, is sysref
|
// enabled, divider, output config, is sysref
|
||||||
const OUTPUT_CONFIG: [(bool, u16, u8, bool); 14] = [
|
const OUTPUT_CONFIG: [(bool, u16, u8, bool); 14] = [
|
||||||
(true, DAC_CLK_DIV, 0x08, false), // 0: DAC1_CLK
|
(true, DAC_CLK_DIV, 0x08, false), // 0: DAC1_CLK
|
||||||
(true, SYSREF_DIV, 0x00, true), // 1: DAC1_SYSREF
|
(true, SYSREF_DIV, 0x01, true), // 1: DAC1_SYSREF
|
||||||
(true, DAC_CLK_DIV, 0x08, false), // 2: DAC0_CLK
|
(true, DAC_CLK_DIV, 0x08, false), // 2: DAC0_CLK
|
||||||
(true, SYSREF_DIV, 0x00, true), // 3: DAC0_SYSREF
|
(true, SYSREF_DIV, 0x01, true), // 3: DAC0_SYSREF
|
||||||
(true, SYSREF_DIV, 0x10, true), // 4: AMC_FPGA_SYSREF0
|
(true, SYSREF_DIV, 0x10, true), // 4: AMC_FPGA_SYSREF0
|
||||||
(true, FPGA_CLK_DIV, 0x10, true), // 5: AMC_FPGA_SYSREF1
|
(true, FPGA_CLK_DIV, 0x10, true), // 5: AMC_FPGA_SYSREF1
|
||||||
(false, 0, 0x10, false), // 6: unused
|
(false, 0, 0x10, false), // 6: unused
|
||||||
|
|
Loading…
Reference in New Issue