forked from M-Labs/zynq-rs
1
0
Fork 0

Update EMIO to Emio

This commit is contained in:
newell 2024-09-27 18:55:32 -07:00
parent 8f2dc94cf8
commit db22dafe28
2 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ impl Clocks {
self.ddr,
slcr::PllSource::IoPll =>
self.io,
slcr::PllSource::EMIO =>
slcr::PllSource::Emio =>
unimplemented!(),
};
pll / u32::from(uart_clk_ctrl.divisor())
@ -119,7 +119,7 @@ impl Clocks {
self.ddr,
slcr::PllSource::IoPll =>
self.io,
slcr::PllSource::EMIO =>
slcr::PllSource::Emio =>
unimplemented!(),
};
pll / u32::from(sdio_clk_ctrl.divisor())

View File

@ -75,7 +75,7 @@ impl Gem for Gem0 {
#[cfg(feature = "target_ebaz4205")]
slcr::GemClkCtrl::zeroed()
.clkact(true)
.srcsel(slcr::PllSource::EMIO)
.srcsel(slcr::PllSource::Emio)
.divisor(divisor0 as u8)
.divisor1(divisor1 as u8)
);