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

source

pub fn address(&self) -> ADDRESS_R

Bits 0:6 - Device address

source

pub fn endpoint(&self) -> ENDPOINT_R

Bits 16:19 - Endpoint number of the interrupt endpoint

source

pub fn intep_dir(&self) -> INTEP_DIR_R

Bit 25 - Direction of the interrupt endpoint. In=0, Out=1

source

pub fn intep_preamble(&self) -> INTEP_PREAMBLE_R

Bit 26 - Interrupt EP requires preamble (is a low speed device on a full speed hub)