Struct stm32l4xx_hal::usb::Peripheral
source · [−]pub struct Peripheral {
pub usb: USB,
pub pin_dm: PA11<Alternate<PushPull, 10>>,
pub pin_dp: PA12<Alternate<PushPull, 10>>,
}
Fields
usb: USB
pin_dm: PA11<Alternate<PushPull, 10>>
pin_dp: PA12<Alternate<PushPull, 10>>
Trait Implementations
sourceimpl UsbPeripheral for Peripheral
impl UsbPeripheral for Peripheral
sourceconst DP_PULL_UP_FEATURE: bool
const DP_PULL_UP_FEATURE: bool
Embedded pull-up resistor on USB_DP line
sourceconst EP_MEMORY_SIZE: usize
const EP_MEMORY_SIZE: usize
Endpoint memory size in bytes
sourceconst EP_MEMORY_ACCESS_2X16: bool
const EP_MEMORY_ACCESS_2X16: bool
Endpoint memory access scheme Read more
sourcefn startup_delay()
fn startup_delay()
Performs a chip specific startup delay Read more
impl Sync for Peripheral
Auto Trait Implementations
impl RefUnwindSafe for Peripheral
impl Send for Peripheral
impl Unpin for Peripheral
impl UnwindSafe for Peripheral
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more