Struct stm32h7xx_hal::usb_hs::USB1 [−][src]
Fields
usb_global: OTG1_HS_GLOBAL
usb_device: OTG1_HS_DEVICE
usb_pwrclk: OTG1_HS_PWRCLK
prec: Usb1Otg
hclk: Hertz
Implementations
impl USB1
[src]
pub fn new(
usb_global: OTG1_HS_GLOBAL,
usb_device: OTG1_HS_DEVICE,
usb_pwrclk: OTG1_HS_PWRCLK,
_pin_dm: PB14<Alternate<AF12>>,
_pin_dp: PB15<Alternate<AF12>>,
prec: Usb1Otg,
clocks: &CoreClocks
) -> Self
[src]
usb_global: OTG1_HS_GLOBAL,
usb_device: OTG1_HS_DEVICE,
usb_pwrclk: OTG1_HS_PWRCLK,
_pin_dm: PB14<Alternate<AF12>>,
_pin_dp: PB15<Alternate<AF12>>,
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
[src]
impl UsbPeripheral for USB1
[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]
pub 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>,