Struct stm32h7xx_hal::usb_hs::USB1_ULPI [−][src]
Fields
usb_global: OTG1_HS_GLOBAL
usb_device: OTG1_HS_DEVICE
usb_pwrclk: OTG1_HS_PWRCLK
prec: Usb1Otg
hclk: 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]
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
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]
usb_global: OTG1_HS_GLOBAL,
usb_device: OTG1_HS_DEVICE,
usb_pwrclk: OTG1_HS_PWRCLK,
prec: Usb1Otg,
clocks: &CoreClocks
) -> Self
Trait Implementations
impl Sync for USB1_ULPI
[src]
impl UsbPeripheral for USB1_ULPI
[src]
const REGISTERS: *const ()
[src]
const HIGH_SPEED: bool
[src]
const FIFO_DEPTH_WORDS: usize
[src]
const ENDPOINT_COUNT: usize
[src]
fn enable()
[src]
fn ahb_frequency_hz(&self) -> u32
[src]
fn phy_type(&self) -> PhyType
[src]
pub fn setup_internal_hs_phy(&self)
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,