[][src]Type Definition lpc55s6x_pac::usbhsd::devcmdstat::W

type W = W<u32, DEVCMDSTAT>;

Writer for register DEVCMDSTAT

Methods

impl W[src]

pub fn dev_addr(&mut self) -> DEV_ADDR_W[src]

Bits 0:6 - USB device address.

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

Bit 7 - USB device enable.

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

Bit 8 - SETUP token received.

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

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

pub fn force_vbus(&mut self) -> FORCE_VBUS_W[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_SUP_W[src]

Bit 11 - LPM Supported:.

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

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

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

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

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

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

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

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

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

Bit 16 - Device status - connect.

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

Bit 17 - Device status - suspend.

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

Bit 19 - Device status - LPM Suspend.

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

Bit 24 - Device status - connect change.

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

Bit 25 - Device status - suspend change.

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

Bit 26 - Device status - reset change.

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

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