#[repr(transparent)]pub struct UsbMuxing(pub u32);
Expand description
Where to connect the USB controller. Should be to_phy by default.
Tuple Fields§
§0: u32
Implementations§
source§impl UsbMuxing
impl UsbMuxing
pub const fn to_phy(&self) -> bool
pub fn set_to_phy(&mut self, val: bool)
pub const fn to_extphy(&self) -> bool
pub fn set_to_extphy(&mut self, val: bool)
pub const fn to_digital_pad(&self) -> bool
pub fn set_to_digital_pad(&mut self, val: bool)
pub const fn softcon(&self) -> bool
pub fn set_softcon(&mut self, val: bool)
Trait Implementations§
impl Copy for UsbMuxing
impl Eq for UsbMuxing
impl StructuralPartialEq for UsbMuxing
Auto Trait Implementations§
impl Freeze for UsbMuxing
impl RefUnwindSafe for UsbMuxing
impl Send for UsbMuxing
impl Sync for UsbMuxing
impl Unpin for UsbMuxing
impl UnwindSafe for UsbMuxing
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)