Struct ch32v3::ch32v30x::usb_otg_fs::uep5_6_mod::R
source · pub struct R(_);
Expand description
Register UEP5_6_MOD
reader
Implementations§
source§impl R
impl R
sourcepub fn uep5_buf_mod(&self) -> UEP5_BUF_MOD_R
pub fn uep5_buf_mod(&self) -> UEP5_BUF_MOD_R
Bit 0 - buffer mode of USB endpoint 5
sourcepub fn uep5_tx_en(&self) -> UEP5_TX_EN_R
pub fn uep5_tx_en(&self) -> UEP5_TX_EN_R
Bit 2 - enable USB endpoint 5 transmittal (IN)
sourcepub fn uep5_rx_en(&self) -> UEP5_RX_EN_R
pub fn uep5_rx_en(&self) -> UEP5_RX_EN_R
Bit 3 - enable USB endpoint 5 receiving (OUT)
sourcepub fn uep6_buf_mod(&self) -> UEP6_BUF_MOD_R
pub fn uep6_buf_mod(&self) -> UEP6_BUF_MOD_R
Bit 4 - buffer mode of USB endpoint 6
sourcepub fn uep6_tx_en(&self) -> UEP6_TX_EN_R
pub fn uep6_tx_en(&self) -> UEP6_TX_EN_R
Bit 6 - enable USB endpoint 6 transmittal (IN)
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 6 receiving (OUT)