Struct rp2040_pac2::usb::regs::UsbMuxing[][src]

#[repr(transparent)]pub struct UsbMuxing(pub u32);

Where to connect the USB controller. Should be to_phy by default.

Implementations

impl UsbMuxing[src]

pub const fn softcon(&self) -> bool[src]

pub fn set_softcon(&mut self, val: bool)[src]

pub const fn to_digital_pad(&self) -> bool[src]

pub fn set_to_digital_pad(&mut self, val: bool)[src]

pub const fn to_extphy(&self) -> bool[src]

pub fn set_to_extphy(&mut self, val: bool)[src]

pub const fn to_phy(&self) -> bool[src]

pub fn set_to_phy(&mut self, val: bool)[src]

Trait Implementations

impl Clone for UsbMuxing[src]

impl Copy for UsbMuxing[src]

impl Default for UsbMuxing[src]

Auto Trait Implementations

impl Send for UsbMuxing

impl Sync for UsbMuxing

impl Unpin for UsbMuxing

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.