pub struct USB1 {
    pub usb_global: OTG1_HS_GLOBAL,
    pub usb_device: OTG1_HS_DEVICE,
    pub usb_pwrclk: OTG1_HS_PWRCLK,
    pub hclk: u32,
}

Fields

usb_global: OTG1_HS_GLOBALusb_device: OTG1_HS_DEVICEusb_pwrclk: OTG1_HS_PWRCLKhclk: u32

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.