Type Alias rp2040_pac::usbctrl_regs::sie_ctrl::R
source · pub type R = R<SIE_CTRL_SPEC>;
Expand description
Register SIE_CTRL
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn start_trans(&self) -> START_TRANS_R
pub fn start_trans(&self) -> START_TRANS_R
Bit 0 - Host: Start transaction
sourcepub fn send_setup(&self) -> SEND_SETUP_R
pub fn send_setup(&self) -> SEND_SETUP_R
Bit 1 - Host: Send Setup packet
sourcepub fn send_data(&self) -> SEND_DATA_R
pub fn send_data(&self) -> SEND_DATA_R
Bit 2 - Host: Send transaction (OUT from host)
sourcepub fn receive_data(&self) -> RECEIVE_DATA_R
pub fn receive_data(&self) -> RECEIVE_DATA_R
Bit 3 - Host: Receive transaction (IN to host)
sourcepub fn stop_trans(&self) -> STOP_TRANS_R
pub fn stop_trans(&self) -> STOP_TRANS_R
Bit 4 - Host: Stop transaction
sourcepub fn preamble_en(&self) -> PREAMBLE_EN_R
pub fn preamble_en(&self) -> PREAMBLE_EN_R
Bit 6 - Host: Preable enable for LS device on FS hub
sourcepub fn sof_sync(&self) -> SOF_SYNC_R
pub fn sof_sync(&self) -> SOF_SYNC_R
Bit 8 - Host: Delay packet(s) until after SOF
sourcepub fn keep_alive_en(&self) -> KEEP_ALIVE_EN_R
pub fn keep_alive_en(&self) -> KEEP_ALIVE_EN_R
Bit 10 - Host: Enable keep alive packet (for low speed bus)
sourcepub fn resume(&self) -> RESUME_R
pub fn resume(&self) -> RESUME_R
Bit 12 - Device: Remote wakeup. Device can initiate its own resume after suspend.
sourcepub fn reset_bus(&self) -> RESET_BUS_R
pub fn reset_bus(&self) -> RESET_BUS_R
Bit 13 - Host: Reset bus
sourcepub fn pulldown_en(&self) -> PULLDOWN_EN_R
pub fn pulldown_en(&self) -> PULLDOWN_EN_R
Bit 15 - Host: Enable pull down resistors
sourcepub fn pullup_en(&self) -> PULLUP_EN_R
pub fn pullup_en(&self) -> PULLUP_EN_R
Bit 16 - Device: Enable pull up resistor
sourcepub fn transceiver_pd(&self) -> TRANSCEIVER_PD_R
pub fn transceiver_pd(&self) -> TRANSCEIVER_PD_R
Bit 18 - Power down bus transceiver
sourcepub fn direct_dm(&self) -> DIRECT_DM_R
pub fn direct_dm(&self) -> DIRECT_DM_R
Bit 24 - Direct control of DM
sourcepub fn direct_dp(&self) -> DIRECT_DP_R
pub fn direct_dp(&self) -> DIRECT_DP_R
Bit 25 - Direct control of DP
sourcepub fn direct_en(&self) -> DIRECT_EN_R
pub fn direct_en(&self) -> DIRECT_EN_R
Bit 26 - Direct bus drive enable
sourcepub fn ep0_int_nak(&self) -> EP0_INT_NAK_R
pub fn ep0_int_nak(&self) -> EP0_INT_NAK_R
Bit 27 - Device: Set bit in EP_STATUS_STALL_NAK when EP0 sends a NAK
sourcepub fn ep0_int_2buf(&self) -> EP0_INT_2BUF_R
pub fn ep0_int_2buf(&self) -> EP0_INT_2BUF_R
Bit 28 - Device: Set bit in BUFF_STATUS for every 2 buffers completed on EP0
sourcepub fn ep0_int_1buf(&self) -> EP0_INT_1BUF_R
pub fn ep0_int_1buf(&self) -> EP0_INT_1BUF_R
Bit 29 - Device: Set bit in BUFF_STATUS for every buffer completed on EP0
sourcepub fn ep0_double_buf(&self) -> EP0_DOUBLE_BUF_R
pub fn ep0_double_buf(&self) -> EP0_DOUBLE_BUF_R
Bit 30 - Device: EP0 single buffered = 0, double buffered = 1
sourcepub fn ep0_int_stall(&self) -> EP0_INT_STALL_R
pub fn ep0_int_stall(&self) -> EP0_INT_STALL_R
Bit 31 - Device: Set bit in EP_STATUS_STALL_NAK when EP0 sends a STALL