Struct ch32v3::ch32v30x::usb_otg_fs::uep2_3_mod__r8_uh_ep_mod::R
source · pub struct R(_);
Expand description
Register UEP2_3_MOD__R8_UH_EP_MOD
reader
Implementations§
source§impl R
impl R
sourcepub fn uep2_buf_mod__rb_uh_ep_rbuf_mod(
&self
) -> UEP2_BUF_MOD__RB_UH_EP_RBUF_MOD_R
pub fn uep2_buf_mod__rb_uh_ep_rbuf_mod( &self ) -> UEP2_BUF_MOD__RB_UH_EP_RBUF_MOD_R
Bit 0 - buffer mode of USB endpoint 2;buffer mode of USB host IN endpoint
sourcepub fn uep2_tx_en(&self) -> UEP2_TX_EN_R
pub fn uep2_tx_en(&self) -> UEP2_TX_EN_R
Bit 2 - enable USB endpoint 2 transmittal (IN)
sourcepub fn uep2_rx_en__rb_uh_ep_rx_en(&self) -> UEP2_RX_EN__RB_UH_EP_RX_EN_R
pub fn uep2_rx_en__rb_uh_ep_rx_en(&self) -> UEP2_RX_EN__RB_UH_EP_RX_EN_R
Bit 3 - enable USB endpoint 2 receiving (OUT);enable USB host IN endpoint receiving
sourcepub fn uep3_buf_mod__rb_uh_ep_tbuf_mod(
&self
) -> UEP3_BUF_MOD__RB_UH_EP_TBUF_MOD_R
pub fn uep3_buf_mod__rb_uh_ep_tbuf_mod( &self ) -> UEP3_BUF_MOD__RB_UH_EP_TBUF_MOD_R
Bit 4 - buffer mode of USB endpoint 3;buffer mode of USB host OUT endpoint
sourcepub fn uep3_tx_en__rb_uh_ep_tx_en(&self) -> UEP3_TX_EN__RB_UH_EP_TX_EN_R
pub fn uep3_tx_en__rb_uh_ep_tx_en(&self) -> UEP3_TX_EN__RB_UH_EP_TX_EN_R
Bit 6 - enable USB endpoint 3 transmittal (IN);enable USB host OUT endpoint transmittal
sourcepub fn uep3_rx_en(&self) -> UEP3_RX_EN_R
pub fn uep3_rx_en(&self) -> UEP3_RX_EN_R
Bit 7 - enable USB endpoint 3 receiving (OUT)