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

type R = R<u32, USB1_LOOPBACK_TOG>;

Reader of register USB1_LOOPBACK_TOG

Methods

impl R[src]

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

Bit 0 - This bit enables the USB loopback test.

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

Bit 1 - Mode control for USB loopback test

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

Bit 2 - Mode control for USB loopback test

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

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

pub fn tsti_tx_ls_mode(&self) -> TSTI_TX_LS_MODE_R[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(&self) -> TSTI_TX_EN_R[src]

Bit 5 - Enable TX for USB loopback test.

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

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

pub fn utmo_dig_tst0(&self) -> UTMO_DIG_TST0_R[src]

Bit 7 - This read-only bit is a status bit for USB loopback test results

pub fn utmo_dig_tst1(&self) -> UTMO_DIG_TST1_R[src]

Bit 8 - This read-only bit is a status bit for USB loopback test

pub fn tsti_hsfs_mode_en(&self) -> TSTI_HSFS_MODE_EN_R[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(&self) -> TSTPKT_R[src]

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