Type Alias gd32e1::gd32e103::usbfs_host::hch0ctl::R

source ·
pub type R = R<Hch0ctlSpec>;
Expand description

Register HCH0CTL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn mpl(&self) -> MplR

Bits 0:10 - Maximum packet size

source

pub fn epnum(&self) -> EpnumR

Bits 11:14 - Endpoint number

source

pub fn epdir(&self) -> EpdirR

Bit 15 - Endpoint direction

source

pub fn lsd(&self) -> LsdR

Bit 17 - Low-speed device

source

pub fn eptype(&self) -> EptypeR

Bits 18:19 - Endpoint type

source

pub fn dar(&self) -> DarR

Bits 22:28 - Device address

source

pub fn oddfrm(&self) -> OddfrmR

Bit 29 - Odd frame

source

pub fn cdis(&self) -> CdisR

Bit 30 - Channel disable

source

pub fn cen(&self) -> CenR

Bit 31 - Channel enable