Struct ch32v3::ch32v30x::usb_otg_fs::uep4_1_mod::W
source · pub struct W(_);
Expand description
Register UEP4_1_MOD
writer
Implementations§
source§impl W
impl W
sourcepub fn uep4_tx_en(&mut self) -> UEP4_TX_EN_W<'_, 2>
pub fn uep4_tx_en(&mut self) -> UEP4_TX_EN_W<'_, 2>
Bit 2 - enable USB endpoint 4 transmittal (IN)
sourcepub fn uep4_rx_en(&mut self) -> UEP4_RX_EN_W<'_, 3>
pub fn uep4_rx_en(&mut self) -> UEP4_RX_EN_W<'_, 3>
Bit 3 - enable USB endpoint 4 receiving (OUT)
sourcepub fn uep1_buf_mod(&mut self) -> UEP1_BUF_MOD_W<'_, 4>
pub fn uep1_buf_mod(&mut self) -> UEP1_BUF_MOD_W<'_, 4>
Bit 4 - buffer mode of USB endpoint 1
sourcepub fn uep1_tx_en(&mut self) -> UEP1_TX_EN_W<'_, 6>
pub fn uep1_tx_en(&mut self) -> UEP1_TX_EN_W<'_, 6>
Bit 6 - enable USB endpoint 1 transmittal (IN)
sourcepub fn uep1_rx_en(&mut self) -> UEP1_RX_EN_W<'_, 7>
pub fn uep1_rx_en(&mut self) -> UEP1_RX_EN_W<'_, 7>
Bit 7 - enable USB endpoint 1 receiving (OUT)