stm32: update metapac and remove sbs

This commit is contained in:
xoviat
2023-09-28 19:21:02 -05:00
parent d6654bf8b5
commit 39f1b26a39
3 changed files with 5 additions and 7 deletions

View File

@ -99,9 +99,9 @@ impl<'d, T: Instance, P: PHY> Ethernet<'d, T, P> {
});
// RMII
crate::pac::SBS
crate::pac::SYSCFG
.pmcr()
.modify(|w| w.set_eth_sel_phy(crate::pac::sbs::vals::EthSelPhy::B_0X4));
.modify(|w| w.set_eth_sel_phy(crate::pac::syscfg::vals::EthSelPhy::B_0X4));
});
config_pins!(ref_clk, mdio, mdc, crs, rx_d0, rx_d1, tx_d0, tx_d1, tx_en);