Type Alias esp32c3::usb_device::test::W

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

Register TEST writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn enable(&mut self) -> ENABLE_W<'_, TEST_SPEC>

Bit 0 - Enable test of the USB pad

source

pub fn usb_oe(&mut self) -> USB_OE_W<'_, TEST_SPEC>

Bit 1 - USB pad oen in test

source

pub fn tx_dp(&mut self) -> TX_DP_W<'_, TEST_SPEC>

Bit 2 - USB D+ tx value in test

source

pub fn tx_dm(&mut self) -> TX_DM_W<'_, TEST_SPEC>

Bit 3 - USB D- tx value in test