[][src]Struct lpc55s6x_pac::usbhsd::devcmdstat::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 dev_addr(&mut self) -> _DEV_ADDRW[src]

Bits 0:6 - USB device address.

pub fn dev_en(&mut self) -> _DEV_ENW[src]

Bit 7 - USB device enable.

pub fn setup(&mut self) -> _SETUPW[src]

Bit 8 - SETUP token received.

pub fn force_needclk(&mut self) -> _FORCE_NEEDCLKW[src]

Bit 9 - Forces the NEEDCLK output to always be on:.

pub fn force_vbus(&mut self) -> _FORCE_VBUSW[src]

Bit 10 - If this bit is set to 1, the VBUS voltage indicators from the PHY are overruled.

pub fn lpm_sup(&mut self) -> _LPM_SUPW[src]

Bit 11 - LPM Supported:.

pub fn intonnak_ao(&mut self) -> _INTONNAK_AOW[src]

Bit 12 - Interrupt on NAK for interrupt and bulk OUT EP:.

pub fn intonnak_ai(&mut self) -> _INTONNAK_AIW[src]

Bit 13 - Interrupt on NAK for interrupt and bulk IN EP:.

pub fn intonnak_co(&mut self) -> _INTONNAK_COW[src]

Bit 14 - Interrupt on NAK for control OUT EP:.

pub fn intonnak_ci(&mut self) -> _INTONNAK_CIW[src]

Bit 15 - Interrupt on NAK for control IN EP:.

pub fn dcon(&mut self) -> _DCONW[src]

Bit 16 - Device status - connect.

pub fn dsus(&mut self) -> _DSUSW[src]

Bit 17 - Device status - suspend.

pub fn lpm_sus(&mut self) -> _LPM_SUSW[src]

Bit 19 - Device status - LPM Suspend.

pub fn dcon_c(&mut self) -> _DCON_CW[src]

Bit 24 - Device status - connect change.

pub fn dsus_c(&mut self) -> _DSUS_CW[src]

Bit 25 - Device status - suspend change.

pub fn dres_c(&mut self) -> _DRES_CW[src]

Bit 26 - Device status - reset change.

pub fn phy_test_mode(&mut self) -> _PHY_TEST_MODEW[src]

Bits 29:31 - This field is written by firmware to put the PHY into a test mode as defined by the USB2.

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