Struct ch32v3::ch32v30x::usb_otg_fs::usb_int_fg::W
source · pub struct W(_);
Expand description
Register USB_INT_FG
writer
Implementations§
source§impl W
impl W
sourcepub fn uif_bus_rst__rb_uif_detect(
&mut self
) -> UIF_BUS_RST__RB_UIF_DETECT_W<'_, 0>
pub fn uif_bus_rst__rb_uif_detect( &mut self ) -> UIF_BUS_RST__RB_UIF_DETECT_W<'_, 0>
Bit 0 - bus reset event interrupt flag for USB device mode, direct bit address clear or write 1 to clear;device detected event interrupt flag for USB host mode, direct bit address clear or write 1 to clear
sourcepub fn uif_transfer(&mut self) -> UIF_TRANSFER_W<'_, 1>
pub fn uif_transfer(&mut self) -> UIF_TRANSFER_W<'_, 1>
Bit 1 - USB transfer completion interrupt flag, direct bit address clear or write 1 to clear
sourcepub fn uif_suspend(&mut self) -> UIF_SUSPEND_W<'_, 2>
pub fn uif_suspend(&mut self) -> UIF_SUSPEND_W<'_, 2>
Bit 2 - USB suspend or resume event interrupt flag, direct bit address clear or write 1 to clear
sourcepub fn uif_hst_sof(&mut self) -> UIF_HST_SOF_W<'_, 3>
pub fn uif_hst_sof(&mut self) -> UIF_HST_SOF_W<'_, 3>
Bit 3 - host SOF timer interrupt flag for USB host, direct bit address clear or write 1 to clear
sourcepub fn uif_fifo_ov(&mut self) -> UIF_FIFO_OV_W<'_, 4>
pub fn uif_fifo_ov(&mut self) -> UIF_FIFO_OV_W<'_, 4>
Bit 4 - FIFO overflow interrupt flag for USB, direct bit address clear or write 1 to clear