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