Struct ch32v3::ch32v30x::usb_otg_fs::uep5_6_mod::W
source · pub struct W(_);
Expand description
Register UEP5_6_MOD
writer
Implementations§
source§impl W
impl W
sourcepub fn uep5_buf_mod(&mut self) -> UEP5_BUF_MOD_W<'_, 0>
pub fn uep5_buf_mod(&mut self) -> UEP5_BUF_MOD_W<'_, 0>
Bit 0 - buffer mode of USB endpoint 5
sourcepub fn uep5_tx_en(&mut self) -> UEP5_TX_EN_W<'_, 2>
pub fn uep5_tx_en(&mut self) -> UEP5_TX_EN_W<'_, 2>
Bit 2 - enable USB endpoint 5 transmittal (IN)
sourcepub fn uep5_rx_en(&mut self) -> UEP5_RX_EN_W<'_, 3>
pub fn uep5_rx_en(&mut self) -> UEP5_RX_EN_W<'_, 3>
Bit 3 - enable USB endpoint 5 receiving (OUT)
sourcepub fn uep6_buf_mod(&mut self) -> UEP6_BUF_MOD_W<'_, 4>
pub fn uep6_buf_mod(&mut self) -> UEP6_BUF_MOD_W<'_, 4>
Bit 4 - buffer mode of USB endpoint 6
sourcepub fn uep6_tx_en(&mut self) -> UEP6_TX_EN_W<'_, 6>
pub fn uep6_tx_en(&mut self) -> UEP6_TX_EN_W<'_, 6>
Bit 6 - enable USB endpoint 6 transmittal (IN)
sourcepub fn uep3_rx_en(&mut self) -> UEP3_RX_EN_W<'_, 7>
pub fn uep3_rx_en(&mut self) -> UEP3_RX_EN_W<'_, 7>
Bit 7 - enable USB endpoint 6 receiving (OUT)