Struct lpc55_hal::peripherals::usbhs::Usbhs [−][src]
Implementations
impl Usbhs
[src]
impl<State: InitState, Mode: UsbhsMode> Usbhs<State, Mode>
[src]
pub fn release(self) -> (USB1, USBHSH)
[src]
pub fn enabled_as_device(
mut self: Self,
anactrl: &mut Anactrl,
pmc: &mut Pmc,
syscon: &mut Syscon,
timer: &mut Timer<impl Ctimer<Enabled>>,
_clocks_token: ClocksSupportUsbhsToken
) -> EnabledUsbhsDevice
[src]
mut self: Self,
anactrl: &mut Anactrl,
pmc: &mut Pmc,
syscon: &mut Syscon,
timer: &mut Timer<impl Ctimer<Enabled>>,
_clocks_token: ClocksSupportUsbhsToken
) -> EnabledUsbhsDevice
pub fn borrow<F: Fn(&mut Self)>(&mut self, func: F)
[src]
impl Usbhs<Enabled<()>, Device>
[src]
pub fn info(&self) -> UsbHsDevInfo
[src]
pub fn disable_high_speed(&mut self)
[src]
impl<State: InitState> Usbhs<State, Device>
[src]
pub fn disabled(
mut self: Self,
pmc: &mut Pmc,
syscon: &mut Syscon
) -> Usbhs<Disabled, Device>
[src]
mut self: Self,
pmc: &mut Pmc,
syscon: &mut Syscon
) -> Usbhs<Disabled, Device>
Disables the USB HS peripheral, assumed in device mode
Trait Implementations
Auto Trait Implementations
impl<State, Mode> Send for Usbhs<State, Mode> where
Mode: Send,
State: Send,
[src]
Mode: Send,
State: Send,
impl<State = Unknown, Mode = Unknown> !Sync for Usbhs<State, Mode>
[src]
impl<State, Mode> Unpin for Usbhs<State, Mode> where
Mode: Unpin,
State: Unpin,
[src]
Mode: Unpin,
State: Unpin,
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>,