Struct stm32_hal2::usb::Peripheral[][src]

pub struct Peripheral {
    pub regs: USB,
}
Expand description

Represents a Universal Serial Bus (USB) peripheral. Functionality is implemented through the implemented stm32_usbd::UsbPeripheral trait.

Fields

regs: USB

USB Register Block

Trait Implementations

Pointer to the register block

Embedded pull-up resistor on USB_DP line

Pointer to the endpoint memory

Endpoint memory size in bytes

Endpoint memory access scheme Read more

Enables USB device on its peripheral bus

Performs a chip specific startup delay 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

Performs the conversion.

Performs the conversion.

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.