Type Alias rp2040_pac::usbctrl_regs::ints::R
source · pub type R = R<INTS_SPEC>;
Expand description
Register INTS
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn host_conn_dis(&self) -> HOST_CONN_DIS_R
pub fn host_conn_dis(&self) -> HOST_CONN_DIS_R
Bit 0 - Host: raised when a device is connected or disconnected (i.e. when SIE_STATUS.SPEED changes). Cleared by writing to SIE_STATUS.SPEED
sourcepub fn host_resume(&self) -> HOST_RESUME_R
pub fn host_resume(&self) -> HOST_RESUME_R
Bit 1 - Host: raised when a device wakes up the host. Cleared by writing to SIE_STATUS.RESUME
sourcepub fn host_sof(&self) -> HOST_SOF_R
pub fn host_sof(&self) -> HOST_SOF_R
Bit 2 - Host: raised every time the host sends a SOF (Start of Frame). Cleared by reading SOF_RD
sourcepub fn trans_complete(&self) -> TRANS_COMPLETE_R
pub fn trans_complete(&self) -> TRANS_COMPLETE_R
Bit 3 - Raised every time SIE_STATUS.TRANS_COMPLETE is set. Clear by writing to this bit.
sourcepub fn buff_status(&self) -> BUFF_STATUS_R
pub fn buff_status(&self) -> BUFF_STATUS_R
Bit 4 - Raised when any bit in BUFF_STATUS is set. Clear by clearing all bits in BUFF_STATUS.
sourcepub fn error_data_seq(&self) -> ERROR_DATA_SEQ_R
pub fn error_data_seq(&self) -> ERROR_DATA_SEQ_R
Bit 5 - Source: SIE_STATUS.DATA_SEQ_ERROR
sourcepub fn error_rx_timeout(&self) -> ERROR_RX_TIMEOUT_R
pub fn error_rx_timeout(&self) -> ERROR_RX_TIMEOUT_R
Bit 6 - Source: SIE_STATUS.RX_TIMEOUT
sourcepub fn error_rx_overflow(&self) -> ERROR_RX_OVERFLOW_R
pub fn error_rx_overflow(&self) -> ERROR_RX_OVERFLOW_R
Bit 7 - Source: SIE_STATUS.RX_OVERFLOW
sourcepub fn error_bit_stuff(&self) -> ERROR_BIT_STUFF_R
pub fn error_bit_stuff(&self) -> ERROR_BIT_STUFF_R
Bit 8 - Source: SIE_STATUS.BIT_STUFF_ERROR
sourcepub fn error_crc(&self) -> ERROR_CRC_R
pub fn error_crc(&self) -> ERROR_CRC_R
Bit 9 - Source: SIE_STATUS.CRC_ERROR
sourcepub fn vbus_detect(&self) -> VBUS_DETECT_R
pub fn vbus_detect(&self) -> VBUS_DETECT_R
Bit 11 - Source: SIE_STATUS.VBUS_DETECTED
sourcepub fn bus_reset(&self) -> BUS_RESET_R
pub fn bus_reset(&self) -> BUS_RESET_R
Bit 12 - Source: SIE_STATUS.BUS_RESET
sourcepub fn dev_conn_dis(&self) -> DEV_CONN_DIS_R
pub fn dev_conn_dis(&self) -> DEV_CONN_DIS_R
Bit 13 - Set when the device connection state changes. Cleared by writing to SIE_STATUS.CONNECTED
sourcepub fn dev_suspend(&self) -> DEV_SUSPEND_R
pub fn dev_suspend(&self) -> DEV_SUSPEND_R
Bit 14 - Set when the device suspend state changes. Cleared by writing to SIE_STATUS.SUSPENDED
sourcepub fn dev_resume_from_host(&self) -> DEV_RESUME_FROM_HOST_R
pub fn dev_resume_from_host(&self) -> DEV_RESUME_FROM_HOST_R
Bit 15 - Set when the device receives a resume from the host. Cleared by writing to SIE_STATUS.RESUME
sourcepub fn setup_req(&self) -> SETUP_REQ_R
pub fn setup_req(&self) -> SETUP_REQ_R
Bit 16 - Device. Source: SIE_STATUS.SETUP_REC
sourcepub fn dev_sof(&self) -> DEV_SOF_R
pub fn dev_sof(&self) -> DEV_SOF_R
Bit 17 - Set every time the device receives a SOF (Start of Frame) packet. Cleared by reading SOF_RD
sourcepub fn abort_done(&self) -> ABORT_DONE_R
pub fn abort_done(&self) -> ABORT_DONE_R
Bit 18 - Raised when any bit in ABORT_DONE is set. Clear by clearing all bits in ABORT_DONE.
sourcepub fn ep_stall_nak(&self) -> EP_STALL_NAK_R
pub fn ep_stall_nak(&self) -> EP_STALL_NAK_R
Bit 19 - Raised when any bit in EP_STATUS_STALL_NAK is set. Clear by clearing all bits in EP_STATUS_STALL_NAK.