[][src]Struct lpc55s6x_pac::usbphy::ctrl_clr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn enhostdiscondetect(&mut self) -> _ENHOSTDISCONDETECTW[src]

Bit 1 - For host mode, enables high-speed disconnect detector

pub fn hostdiscondetect_irq(&mut self) -> _HOSTDISCONDETECT_IRQW[src]

Bit 3 - Indicates that the device has disconnected in High-Speed mode

pub fn endevplugindet(&mut self) -> _ENDEVPLUGINDETW[src]

Bit 4 - Enables non-standard resistive plugged-in detection This bit field controls connection of nominal 200kohm resistors to both the USB_DP and USB_DM pins as one method of detecting when a USB cable is attached in device mode

pub fn devplugin_irq(&mut self) -> _DEVPLUGIN_IRQW[src]

Bit 12 - Indicates that the device is connected

pub fn enutmilevel2(&mut self) -> _ENUTMILEVEL2W[src]

Bit 14 - Enables UTMI+ Level 2 operation for the USB HS PHY

pub fn enutmilevel3(&mut self) -> _ENUTMILEVEL3W[src]

Bit 15 - Enables UTMI+ Level 3 operation for the USB HS PHY

pub fn autoresume_en(&mut self) -> _AUTORESUME_ENW[src]

Bit 18 - Enable the auto resume feature, when set, HW will use 32KHz clock to send Resume to respond to the device remote wakeup(for host mode only)

pub fn enautoclr_clkgate(&mut self) -> _ENAUTOCLR_CLKGATEW[src]

Bit 19 - Enables the feature to auto-clear the CLKGATE bit if there is wakeup event while USB is suspended

pub fn enautoclr_phy_pwd(&mut self) -> _ENAUTOCLR_PHY_PWDW[src]

Bit 20 - Enables the feature to auto-clear the PWD register bits in PWD if there is wakeup event while USB is suspended

pub fn fsdll_rst_en(&mut self) -> _FSDLL_RST_ENW[src]

Bit 24 - Enables the feature to reset the FSDLL lock detection logic at the end of each TX packet.

pub fn otg_id_value(&mut self) -> _OTG_ID_VALUEW[src]

Bit 27 - Indicates the results of USB_ID pin while monitoring the cable plugged into the Micro- or Mini-AB receptacle

pub fn host_force_ls_se0(&mut self) -> _HOST_FORCE_LS_SE0W[src]

Bit 28 - Forces the next FS packet that is transmitted to have a EOP with low-speed timing

pub fn utmi_suspendm(&mut self) -> _UTMI_SUSPENDMW[src]

Bit 29 - Used by the PHY to indicate a powered-down state

pub fn clkgate(&mut self) -> _CLKGATEW[src]

Bit 30 - Gate UTMI Clocks

pub fn sftrst(&mut self) -> _SFTRSTW[src]

Bit 31 - Writing a 1 to this bit will soft-reset the PWD, TX, RX, and CTRL registers

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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

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

type Output = T

Should always be Self