[][src]Function stm32_eth::setup

pub fn setup(rcc: &RCC, syscfg: &SYSCFG)

Initialize GPIO pins. Enable syscfg and ethernet clocks. Reset the Ethernet MAC.

If supported, you should also call setup_pins().