Type Alias xmc4800::usb0_ep1::doeptsiz_control::W
source · pub type W = W<DOEPTSIZ_CONTROL_SPEC>;
Expand description
Register DOEPTSIZ_CONTROL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn xfer_size(&mut self) -> XFER_SIZE_W<'_, DOEPTSIZ_CONTROL_SPEC>
pub fn xfer_size(&mut self) -> XFER_SIZE_W<'_, DOEPTSIZ_CONTROL_SPEC>
Bits 0:18 - Transfer Size
sourcepub fn pkt_cnt(&mut self) -> PKT_CNT_W<'_, DOEPTSIZ_CONTROL_SPEC>
pub fn pkt_cnt(&mut self) -> PKT_CNT_W<'_, DOEPTSIZ_CONTROL_SPEC>
Bits 19:28 - Packet Count
sourcepub fn supcnt(&mut self) -> SUPCNT_W<'_, DOEPTSIZ_CONTROL_SPEC>
pub fn supcnt(&mut self) -> SUPCNT_W<'_, DOEPTSIZ_CONTROL_SPEC>
Bits 29:30 - SETUP Packet Count: 0b00=1 packet, 0b00=2 packets, 0b00=3 packets,