Struct ch32v3::ch32v30x::usb_otg_fs::uep3_r_ctrl_::W
source · pub struct W(_);
Expand description
Register UEP3_R_CTRL_
writer
Implementations§
source§impl W
impl W
sourcepub fn mask_uep_r_res(&mut self) -> MASK_UEP_R_RES_W<'_, 0>
pub fn mask_uep_r_res(&mut self) -> MASK_UEP_R_RES_W<'_, 0>
Bits 0:1 - bit mask of handshake response type for USB endpoint X receiving (OUT)
sourcepub fn usbhd_uep_r_tog(&mut self) -> USBHD_UEP_R_TOG_W<'_, 2>
pub fn usbhd_uep_r_tog(&mut self) -> USBHD_UEP_R_TOG_W<'_, 2>
Bit 2 - expected data toggle flag of USB endpoint X receiving (OUT): 0=DATA0, 1=DATA1
sourcepub fn usbhd_uep_auto_tog(&mut self) -> USBHD_UEP_AUTO_TOG_W<'_, 3>
pub fn usbhd_uep_auto_tog(&mut self) -> USBHD_UEP_AUTO_TOG_W<'_, 3>
Bit 3 - enable automatic toggle after successful transfer completion on endpoint 1/2/3: 0=manual toggle, 1=automatic toggle