Module stm32_hal2::usb [−][src]
Expand description
USB support, including for simulated COM ports. This module is a thin wrapper required to work with
the stm32_usbd
crate.
Requires the usb
feature.
Used on F303, L4x2, L4x3, L5, G0, and G4. F4, L4x5, L4x6 and H7 use USB use the usb_otg
module.
For G0 series, only available on G0B0, G0B1, G0C1, which the PAC doesn’t yet differentiate.
Structs
Peripheral | Represents a Universal Serial Bus (USB) peripheral. |
UsbBus | USB peripheral driver for STM32 microcontrollers. |
Functions
enable_usb_pwr | Enables the Vdd USB power supply. Note that we also need to enable |
Type Definitions
UsbBusType | Type of the UsbBus |