Struct ch32v3::ch32v30x::usb_otg_fs::uep0_r_ctrl::R
source · pub struct R(_);
Expand description
Register UEP0_R_CTRL
reader
Implementations§
source§impl R
impl R
sourcepub fn mask_uep_r_res(&self) -> MASK_UEP_R_RES_R
pub fn mask_uep_r_res(&self) -> MASK_UEP_R_RES_R
Bits 0:1 - bit mask of handshake response type for USB endpoint X receiving (OUT)
sourcepub fn usbhd_uep_r_tog(&self) -> USBHD_UEP_R_TOG_R
pub fn usbhd_uep_r_tog(&self) -> USBHD_UEP_R_TOG_R
Bit 2 - expected data toggle flag of USB endpoint X receiving (OUT): 0=DATA0, 1=DATA1
sourcepub fn usbhd_uep_auto_tog(&self) -> USBHD_UEP_AUTO_TOG_R
pub fn usbhd_uep_auto_tog(&self) -> USBHD_UEP_AUTO_TOG_R
Bit 3 - enable automatic toggle after successful transfer completion on endpoint 1/2/3: 0=manual toggle, 1=automatic toggle