Type Alias gd32e1::gd32e103::usbfs_host::hch7ctl::W

source ·
pub type W = W<Hch7ctlSpec>;
Expand description

Register HCH7CTL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn mpl(&mut self) -> MplW<'_, Hch7ctlSpec>

Bits 0:10 - Maximum packet size

source

pub fn epnum(&mut self) -> EpnumW<'_, Hch7ctlSpec>

Bits 11:14 - Endpoint number

source

pub fn epdir(&mut self) -> EpdirW<'_, Hch7ctlSpec>

Bit 15 - Endpoint direction

source

pub fn lsd(&mut self) -> LsdW<'_, Hch7ctlSpec>

Bit 17 - Low-speed device

source

pub fn eptype(&mut self) -> EptypeW<'_, Hch7ctlSpec>

Bits 18:19 - Endpoint type

source

pub fn dar(&mut self) -> DarW<'_, Hch7ctlSpec>

Bits 22:28 - Device address

source

pub fn oddfrm(&mut self) -> OddfrmW<'_, Hch7ctlSpec>

Bit 29 - Odd frame

source

pub fn cdis(&mut self) -> CdisW<'_, Hch7ctlSpec>

Bit 30 - Channel disable

source

pub fn cen(&mut self) -> CenW<'_, Hch7ctlSpec>

Bit 31 - Channel enable