Struct esp32s3_hal::otg_fs::USB

source ·
pub struct USB<S, P, M>where
    S: UsbSel + Send + Sync,
    P: UsbDp + Send + Sync,
    M: UsbDm + Send + Sync,
{ /* private fields */ }

Implementations§

Trait Implementations§

Pointer to the register block
true for High Speed variants of the peripheral, false for Full Speed
FIFO size in 32-bit words
Number of (bidirectional) endpoints
Enables USB device on its peripheral bus
AHB frequency in hertz
Returns PHY type that should be used for USB peripheral
Performs initial setup of the internal high-speed PHY Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.