Struct ch32v3::ch32v30x::usb_otg_fs::uep4_t_ctrl::R
source · pub struct R(_);
Expand description
Register UEP4_T_CTRL
reader
Implementations§
source§impl R
impl R
sourcepub fn mask_uep_t_res(&self) -> MASK_UEP_T_RES_R
pub fn mask_uep_t_res(&self) -> MASK_UEP_T_RES_R
Bits 0:1 - bit mask of handshake response type for USB endpoint X transmittal (IN)
sourcepub fn usbhd_uep_t_tog___usbhd_uh_t_tog(
&self
) -> USBHD_UEP_T_TOG___USBHD_UH_T_TOG_R
pub fn usbhd_uep_t_tog___usbhd_uh_t_tog( &self ) -> USBHD_UEP_T_TOG___USBHD_UH_T_TOG_R
Bit 2 - prepared data toggle flag of USB endpoint X transmittal (IN): 0=DATA0, 1=DATA1
sourcepub fn usbhd_uep_auto_tog__usbhd_uh_t_auto_tog(
&self
) -> USBHD_UEP_AUTO_TOG__USBHD_UH_T_AUTO_TOG_R
pub fn usbhd_uep_auto_tog__usbhd_uh_t_auto_tog( &self ) -> USBHD_UEP_AUTO_TOG__USBHD_UH_T_AUTO_TOG_R
Bit 3 - enable automatic toggle after successful transfer completion on endpoint 1/2/3: 0=manual toggle, 1=automatic toggle