Type Alias rp2040_pac::usbctrl_regs::host_addr_endp::R
source · pub type R = R<HOST_ADDR_ENDP_SPEC>;
Expand description
Register HOST_ADDR_ENDP%s
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn endpoint(&self) -> ENDPOINT_R
pub fn endpoint(&self) -> ENDPOINT_R
Bits 16:19 - Endpoint number of the interrupt endpoint
sourcepub fn intep_dir(&self) -> INTEP_DIR_R
pub fn intep_dir(&self) -> INTEP_DIR_R
Bit 25 - Direction of the interrupt endpoint. In=0, Out=1
sourcepub fn intep_preamble(&self) -> INTEP_PREAMBLE_R
pub fn intep_preamble(&self) -> INTEP_PREAMBLE_R
Bit 26 - Interrupt EP requires preamble (is a low speed device on a full speed hub)