#[repr(transparent)]pub struct Usbctrl(pub u8);Expand description
USB Control
Tuple Fields§
§0: u8Implementations§
Source§impl Usbctrl
impl Usbctrl
Sourcepub const fn dpdm_lane_reverse(&self) -> DpdmLaneReverse
pub const fn dpdm_lane_reverse(&self) -> DpdmLaneReverse
DP and DM Lane Reversal Control
Sourcepub const fn set_dpdm_lane_reverse(&mut self, val: DpdmLaneReverse)
pub const fn set_dpdm_lane_reverse(&mut self, val: DpdmLaneReverse)
DP and DM Lane Reversal Control
Sourcepub const fn host_ls_eop(&self) -> HostLsEop
pub const fn host_ls_eop(&self) -> HostLsEop
Host-Mode-Only Low-Speed Device EOP Signaling
Sourcepub const fn set_host_ls_eop(&mut self, val: HostLsEop)
pub const fn set_host_ls_eop(&mut self, val: HostLsEop)
Host-Mode-Only Low-Speed Device EOP Signaling
Sourcepub const fn set_uartsel(&mut self, val: Uartsel)
pub const fn set_uartsel(&mut self, val: Uartsel)
UART Select
Sourcepub const fn set_uartchls(&mut self, val: Uartchls)
pub const fn set_uartchls(&mut self, val: Uartchls)
UART Signal Channel Select
Trait Implementations§
impl Copy for Usbctrl
impl Eq for Usbctrl
impl StructuralPartialEq for Usbctrl
Auto Trait Implementations§
impl Freeze for Usbctrl
impl RefUnwindSafe for Usbctrl
impl Send for Usbctrl
impl Sync for Usbctrl
impl Unpin for Usbctrl
impl UnwindSafe for Usbctrl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more