[][src]Struct lpc55s6x_pac::usbphy::ctrl_tog::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

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

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

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

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

pub fn endevplugindet(&self) -> ENDEVPLUGINDETR[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(&self) -> DEVPLUGIN_IRQR[src]

Bit 12 - Indicates that the device is connected

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

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

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

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

pub fn autoresume_en(&self) -> AUTORESUME_ENR[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(&self) -> ENAUTOCLR_CLKGATER[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(&self) -> ENAUTOCLR_PHY_PWDR[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(&self) -> FSDLL_RST_ENR[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(&self) -> OTG_ID_VALUER[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(&self) -> HOST_FORCE_LS_SE0R[src]

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

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

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

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

Bit 30 - Gate UTMI Clocks

pub fn sftrst(&self) -> SFTRSTR[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 R

impl Sync for R

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