[][src]Struct stm32_usbd::bus::UsbBus

pub struct UsbBus { /* fields omitted */ }

USB peripheral driver for STM32 microcontrollers.

Methods

impl UsbBus[src]

pub fn usb(regs: USB) -> UsbBusAllocator<Self>[src]

Constructs a new USB peripheral driver.

pub fn usb_with_reset(
    regs: USB,
    clocks: &Clocks,
    reset_pin: ResetPin
) -> UsbBusAllocator<Self>
[src]

Constructs a new USB peripheral driver with the "reset" method enabled.

Trait Implementations

impl UsbBus for UsbBus[src]

Auto Trait Implementations

impl Send for UsbBus

impl Sync for UsbBus

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self