Struct stm32h7xx_hal::usb_hs::USB1_ULPI[][src]

pub struct USB1_ULPI {
    pub usb_global: OTG1_HS_GLOBAL,
    pub usb_device: OTG1_HS_DEVICE,
    pub usb_pwrclk: OTG1_HS_PWRCLK,
    pub prec: Usb1Otg,
    pub hclk: Hertz,
}

Fields

usb_global: OTG1_HS_GLOBALusb_device: OTG1_HS_DEVICEusb_pwrclk: OTG1_HS_PWRCLKprec: Usb1Otghclk: Hertz

Implementations

impl USB1_ULPI[src]

pub fn new(
    usb_global: OTG1_HS_GLOBAL,
    usb_device: OTG1_HS_DEVICE,
    usb_pwrclk: OTG1_HS_PWRCLK,
    _ulpi_clk: PA5<Alternate<AF10>>,
    _ulpi_dir: impl Into<Usb1UlpiDirPin>,
    _ulpi_nxt: impl Into<Usb1UlpiNxtPin>,
    _ulpi_stp: PC0<Alternate<AF10>>,
    _ulpi_d0: PA3<Alternate<AF10>>,
    _ulpi_d1: PB0<Alternate<AF10>>,
    _ulpi_d2: PB1<Alternate<AF10>>,
    _ulpi_d3: PB10<Alternate<AF10>>,
    _ulpi_d4: PB11<Alternate<AF10>>,
    _ulpi_d5: PB12<Alternate<AF10>>,
    _ulpi_d6: PB13<Alternate<AF10>>,
    _ulpi_d7: PB5<Alternate<AF10>>,
    prec: Usb1Otg,
    clocks: &CoreClocks
) -> Self
[src]

pub fn new_unchecked(
    usb_global: OTG1_HS_GLOBAL,
    usb_device: OTG1_HS_DEVICE,
    usb_pwrclk: OTG1_HS_PWRCLK,
    prec: Usb1Otg,
    clocks: &CoreClocks
) -> Self
[src]

Trait Implementations

impl Sync for USB1_ULPI[src]

impl UsbPeripheral for USB1_ULPI[src]

Auto Trait Implementations

impl Send for USB1_ULPI

impl Unpin for USB1_ULPI

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.