Struct ch32v3::ch32v30x::usb_otg_fs::uep4_1_mod::R
source · pub struct R(_);
Expand description
Register UEP4_1_MOD
reader
Implementations§
source§impl R
impl R
sourcepub fn uep4_tx_en(&self) -> UEP4_TX_EN_R
pub fn uep4_tx_en(&self) -> UEP4_TX_EN_R
Bit 2 - enable USB endpoint 4 transmittal (IN)
sourcepub fn uep4_rx_en(&self) -> UEP4_RX_EN_R
pub fn uep4_rx_en(&self) -> UEP4_RX_EN_R
Bit 3 - enable USB endpoint 4 receiving (OUT)
sourcepub fn uep1_buf_mod(&self) -> UEP1_BUF_MOD_R
pub fn uep1_buf_mod(&self) -> UEP1_BUF_MOD_R
Bit 4 - buffer mode of USB endpoint 1
sourcepub fn uep1_tx_en(&self) -> UEP1_TX_EN_R
pub fn uep1_tx_en(&self) -> UEP1_TX_EN_R
Bit 6 - enable USB endpoint 1 transmittal (IN)
sourcepub fn uep1_rx_en(&self) -> UEP1_RX_EN_R
pub fn uep1_rx_en(&self) -> UEP1_RX_EN_R
Bit 7 - enable USB endpoint 1 receiving (OUT)