pub type W = W<Hch11ctlSpec>;
Expand description
Register HCH11CTL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn mpl(&mut self) -> MplW<'_, Hch11ctlSpec>
pub fn mpl(&mut self) -> MplW<'_, Hch11ctlSpec>
Bits 0:10 - Maximum packet size
sourcepub fn epnum(&mut self) -> EpnumW<'_, Hch11ctlSpec>
pub fn epnum(&mut self) -> EpnumW<'_, Hch11ctlSpec>
Bits 11:14 - Endpoint number
sourcepub fn epdir(&mut self) -> EpdirW<'_, Hch11ctlSpec>
pub fn epdir(&mut self) -> EpdirW<'_, Hch11ctlSpec>
Bit 15 - Endpoint direction
sourcepub fn lsd(&mut self) -> LsdW<'_, Hch11ctlSpec>
pub fn lsd(&mut self) -> LsdW<'_, Hch11ctlSpec>
Bit 17 - Low-speed device
sourcepub fn eptype(&mut self) -> EptypeW<'_, Hch11ctlSpec>
pub fn eptype(&mut self) -> EptypeW<'_, Hch11ctlSpec>
Bits 18:19 - Endpoint type
sourcepub fn mpc(&mut self) -> MpcW<'_, Hch11ctlSpec>
pub fn mpc(&mut self) -> MpcW<'_, Hch11ctlSpec>
Bits 20:21 - Multiple Packet Count
sourcepub fn dar(&mut self) -> DarW<'_, Hch11ctlSpec>
pub fn dar(&mut self) -> DarW<'_, Hch11ctlSpec>
Bits 22:28 - Device address
sourcepub fn oddfrm(&mut self) -> OddfrmW<'_, Hch11ctlSpec>
pub fn oddfrm(&mut self) -> OddfrmW<'_, Hch11ctlSpec>
Bit 29 - Odd frame
sourcepub fn cdis(&mut self) -> CdisW<'_, Hch11ctlSpec>
pub fn cdis(&mut self) -> CdisW<'_, Hch11ctlSpec>
Bit 30 - Channel disable
sourcepub fn cen(&mut self) -> CenW<'_, Hch11ctlSpec>
pub fn cen(&mut self) -> CenW<'_, Hch11ctlSpec>
Bit 31 - Channel enable