stm32/eth: make "ethmac" vs "eth" consistent in RCC regs.
This commit is contained in:
parent
bb2db2b7be
commit
804b20c5af
@ -117,9 +117,9 @@ impl<'d, T: Instance, P: PHY, const TX: usize, const RX: usize> Ethernet<'d, T,
|
|||||||
AFIO.mapr().modify(|w| w.set_mii_rmii_sel(true));
|
AFIO.mapr().modify(|w| w.set_mii_rmii_sel(true));
|
||||||
|
|
||||||
RCC.ahbenr().modify(|w| {
|
RCC.ahbenr().modify(|w| {
|
||||||
w.set_ethmacen(true);
|
w.set_ethen(true);
|
||||||
w.set_ethmactxen(true);
|
w.set_ethtxen(true);
|
||||||
w.set_ethmacrxen(true);
|
w.set_ethrxen(true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user