Struct ch32v3::ch32v30x::usb_otg_fs::usb_int_fg::R
source · pub struct R(_);
Expand description
Register USB_INT_FG
reader
Implementations§
source§impl R
impl R
sourcepub fn uif_bus_rst__rb_uif_detect(&self) -> UIF_BUS_RST__RB_UIF_DETECT_R
pub fn uif_bus_rst__rb_uif_detect(&self) -> UIF_BUS_RST__RB_UIF_DETECT_R
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(&self) -> UIF_TRANSFER_R
pub fn uif_transfer(&self) -> UIF_TRANSFER_R
Bit 1 - USB transfer completion interrupt flag, direct bit address clear or write 1 to clear
sourcepub fn uif_suspend(&self) -> UIF_SUSPEND_R
pub fn uif_suspend(&self) -> UIF_SUSPEND_R
Bit 2 - USB suspend or resume event interrupt flag, direct bit address clear or write 1 to clear
sourcepub fn uif_hst_sof(&self) -> UIF_HST_SOF_R
pub fn uif_hst_sof(&self) -> UIF_HST_SOF_R
Bit 3 - host SOF timer interrupt flag for USB host, direct bit address clear or write 1 to clear
sourcepub fn uif_fifo_ov(&self) -> UIF_FIFO_OV_R
pub fn uif_fifo_ov(&self) -> UIF_FIFO_OV_R
Bit 4 - FIFO overflow interrupt flag for USB, direct bit address clear or write 1 to clear
sourcepub fn u_sie_free(&self) -> U_SIE_FREE_R
pub fn u_sie_free(&self) -> U_SIE_FREE_R
Bit 5 - RO, indicate USB SIE free status
sourcepub fn u_tog_ok(&self) -> U_TOG_OK_R
pub fn u_tog_ok(&self) -> U_TOG_OK_R
Bit 6 - RO, indicate current USB transfer toggle is OK
sourcepub fn u_is_nak(&self) -> U_IS_NAK_R
pub fn u_is_nak(&self) -> U_IS_NAK_R
Bit 7 - RO, indicate current USB transfer is NAK received