Type Alias xmc4300::usb0::gusbcfg::W

source ·
pub type W = W<GUSBCFG_SPEC>;
Expand description

Register GUSBCFG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tout_cal(&mut self) -> TOUT_CAL_W<'_, GUSBCFG_SPEC>

Bits 0:2 - FS Timeout Calibration

source

pub fn srpcap(&mut self) -> SRPCAP_W<'_, GUSBCFG_SPEC>

Bit 8 - SRP-Capable

source

pub fn hnpcap(&mut self) -> HNPCAP_W<'_, GUSBCFG_SPEC>

Bit 9 - HNP-Capable

source

pub fn usbtrd_tim(&mut self) -> USBTRD_TIM_W<'_, GUSBCFG_SPEC>

Bits 10:13 - USB Turnaround Time

source

pub fn otg_i2csel(&mut self) -> OTG_I2CSEL_W<'_, GUSBCFG_SPEC>

Bit 16 - UTMIFS Interface Select

source

pub fn tx_end_delay(&mut self) -> TX_END_DELAY_W<'_, GUSBCFG_SPEC>

Bit 28 - Tx End Delay

source

pub fn force_hst_mode(&mut self) -> FORCE_HST_MODE_W<'_, GUSBCFG_SPEC>

Bit 29 - Force Host Mode

source

pub fn force_dev_mode(&mut self) -> FORCE_DEV_MODE_W<'_, GUSBCFG_SPEC>

Bit 30 - Force Device Mode

source

pub fn ctp(&mut self) -> CTP_W<'_, GUSBCFG_SPEC>

Bit 31 - Corrupt Tx packet