Type Alias R

Source
pub type R = R<TEST_SPEC>;
Expand description

Register TEST reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn enable(&self) -> ENABLE_R

Bit 0 - Enable test of the USB pad

Source

pub fn usb_oe(&self) -> USB_OE_R

Bit 1 - USB pad oen in test

Source

pub fn tx_dp(&self) -> TX_DP_R

Bit 2 - USB D+ tx value in test

Source

pub fn tx_dm(&self) -> TX_DM_R

Bit 3 - USB D- tx value in test

Source

pub fn rx_rcv(&self) -> RX_RCV_R

Bit 4 - USB RCV value in test

Source

pub fn rx_dp(&self) -> RX_DP_R

Bit 5 - USB D+ rx value in test

Source

pub fn rx_dm(&self) -> RX_DM_R

Bit 6 - USB D- rx value in test