pub struct W(_);
Expand description
Register PORTMODE
writer
Implementations
sourceimpl W
impl W
sourcepub fn dev_enable(&mut self) -> DEV_ENABLE_W<'_>
pub fn dev_enable(&mut self) -> DEV_ENABLE_W<'_>
Bit 16 - If this bit is set to one, one of the ports will behave as a USB device.
sourcepub fn sw_ctrl_pdcom(&mut self) -> SW_CTRL_PDCOM_W<'_>
pub fn sw_ctrl_pdcom(&mut self) -> SW_CTRL_PDCOM_W<'_>
Bit 18 - This bit indicates if the PHY power-down input is controlled by software or by hardware.
sourcepub fn sw_pdcom(&mut self) -> SW_PDCOM_W<'_>
pub fn sw_pdcom(&mut self) -> SW_PDCOM_W<'_>
Bit 19 - This bit is only used when SW_CTRL_PDCOM is set to 1b.
Methods from Deref<Target = W<PORTMODE_SPEC>>
Trait Implementations
sourceimpl From<W<PORTMODE_SPEC>> for W
impl From<W<PORTMODE_SPEC>> for W
sourcefn from(writer: W<PORTMODE_SPEC>) -> Self
fn from(writer: W<PORTMODE_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
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