Type Alias gd32e5::gd32e508::usbgs_host::hch11ctl::W

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

Register HCH11CTL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bits 0:10 - Maximum packet size

source

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

Bits 11:14 - Endpoint number

source

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

Bit 15 - Endpoint direction

source

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

Bit 17 - Low-speed device

source

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

Bits 18:19 - Endpoint type

source

pub fn mpc(&mut self) -> MpcW<'_, Hch11ctlSpec>

Bits 20:21 - Multiple Packet Count

source

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

Bits 22:28 - Device address

source

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

Bit 29 - Odd frame

source

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

Bit 30 - Channel disable

source

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

Bit 31 - Channel enable