From 0c48dd934eb65e1cbd0124200ae2e08c7049c903 Mon Sep 17 00:00:00 2001 From: Astro Date: Sun, 10 May 2020 22:14:55 +0200 Subject: [PATCH] libboard_zynq: fix sclr::ddriob_ddr_ctrl vref_int_en --- libboard_zynq/src/slcr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libboard_zynq/src/slcr.rs b/libboard_zynq/src/slcr.rs index 98c0a95..c037def 100644 --- a/libboard_zynq/src/slcr.rs +++ b/libboard_zynq/src/slcr.rs @@ -618,7 +618,7 @@ register_bits_typed!(ddriob_config, output_en, u8, DdriobOutputEn, 9, 10); register_bit!(ddriob_config, pullup_en, 11); register!(ddriob_ddr_ctrl, DdriobDdrCtrl, RW, u32); -register_bit!(ddriob_ddr_ctrl, vref_int_en, 1); +register_bit!(ddriob_ddr_ctrl, vref_int_en, 0); register_bits_typed!(ddriob_ddr_ctrl, vref_sel, u8, DdriobVrefSel, 1, 4); register_bit!(ddriob_ddr_ctrl, vref_ext_en_lower, 5); register_bit!(ddriob_ddr_ctrl, vref_ext_en_upper, 6);