Type Alias esp32c3::usb_device::test::R

source ·
pub type R = R<TEST_SPEC>;
Expand description

Register TEST reader

Aliased Type§

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