pub type W = W<DOEPTSIZ0_SPEC>;
Expand description
Register DOEPTSIZ0
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn xfer_size(&mut self) -> XFER_SIZE_W<'_, DOEPTSIZ0_SPEC>
pub fn xfer_size(&mut self) -> XFER_SIZE_W<'_, DOEPTSIZ0_SPEC>
Bits 0:6 - Transfer Size
sourcepub fn pkt_cnt(&mut self) -> PKT_CNT_W<'_, DOEPTSIZ0_SPEC>
pub fn pkt_cnt(&mut self) -> PKT_CNT_W<'_, DOEPTSIZ0_SPEC>
Bits 19:20 - Packet Count
sourcepub fn supcnt(&mut self) -> SUPCNT_W<'_, DOEPTSIZ0_SPEC>
pub fn supcnt(&mut self) -> SUPCNT_W<'_, DOEPTSIZ0_SPEC>
Bits 29:30 - SETUP Packet Count