Struct ch32v3::ch32v30x::usb_otg_fs::uep2_r_ctrl__usbhd_uh_rx_ctrl::R
source · pub struct R(_);
Expand description
Register UEP2_R_CTRL__USBHD_UH_RX_CTRL
reader
Implementations§
source§impl R
impl R
sourcepub fn mask_uep_r_res___usbhd_uh_r_res(
&self
) -> MASK_UEP_R_RES___USBHD_UH_R_RES_R
pub fn mask_uep_r_res___usbhd_uh_r_res( &self ) -> MASK_UEP_R_RES___USBHD_UH_R_RES_R
Bits 0:1 - bit mask of handshake response type for USB endpoint X receiving (OUT)
sourcepub fn usbhd_uep_r_tog___usbhd_uh_r_tog(
&self
) -> USBHD_UEP_R_TOG___USBHD_UH_R_TOG_R
pub fn usbhd_uep_r_tog___usbhd_uh_r_tog( &self ) -> USBHD_UEP_R_TOG___USBHD_UH_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___usbhd_uh_r_auto_tog(
&self
) -> USBHD_UEP_AUTO_TOG___USBHD_UH_R_AUTO_TOG_R
pub fn usbhd_uep_auto_tog___usbhd_uh_r_auto_tog( &self ) -> USBHD_UEP_AUTO_TOG___USBHD_UH_R_AUTO_TOG_R
Bit 3 - enable automatic toggle after successful transfer completion on endpoint 1/2/3: 0=manual toggle, 1=automatic toggle