Function stm32_hal2::usb::enable_usb_pwr[][src]

pub fn enable_usb_pwr()
Expand description

Enables the Vdd USB power supply. Note that we also need to enable PWREN in APB1, but we handle this using the RTC setup. Use a raw pointer if doing this without the RTC already set up.