[][src]Type Definition mk66f18::usbphy::usb1_loopback_tog::W

type W = W<u32, USB1_LOOPBACK_TOG>;

Writer for register USB1_LOOPBACK_TOG

Methods

impl W[src]

pub fn utmi_teststart(&mut self) -> UTMI_TESTSTART_W[src]

Bit 0 - This bit enables the USB loopback test.

pub fn utmi_dig_tst0(&mut self) -> UTMI_DIG_TST0_W[src]

Bit 1 - Mode control for USB loopback test

pub fn utmi_dig_tst1(&mut self) -> UTMI_DIG_TST1_W[src]

Bit 2 - Mode control for USB loopback test

pub fn tsti_tx_hs_mode(&mut self) -> TSTI_TX_HS_MODE_W[src]

Bit 3 - Select HS or FS mode for USB loopback testing

pub fn tsti_tx_ls_mode(&mut self) -> TSTI_TX_LS_MODE_W[src]

Bit 4 - Set to value 1'b1 to choose LS for USB loopback testing, set to value 1'b0 to choose HS or FS mode which is defined by TSTI1_TX_HS

pub fn tsti_tx_en(&mut self) -> TSTI_TX_EN_W[src]

Bit 5 - Enable TX for USB loopback test.

pub fn tsti_tx_hiz(&mut self) -> TSTI_TX_HIZ_W[src]

Bit 6 - Sets TX Hi-Z for USB loopback test.

pub fn tsti_hsfs_mode_en(&mut self) -> TSTI_HSFS_MODE_EN_W[src]

Bit 15 - Setting this bit field to value 1'b1 will enable the loopback test to dynamically change the packet speed

pub fn tstpkt(&mut self) -> TSTPKT_W[src]

Bits 16:23 - Selects the packet data byte used for USB loopback testing in Pulse mode