Type Alias xmc4300::usb0_ep1::doeptsiz_control::W

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

Register DOEPTSIZ_CONTROL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn xfer_size(&mut self) -> XferSizeW<'_, DoeptsizControlSpec>

Bits 0:18 - Transfer Size

source

pub fn pkt_cnt(&mut self) -> PktCntW<'_, DoeptsizControlSpec>

Bits 19:28 - Packet Count

source

pub fn supcnt(&mut self) -> SupcntW<'_, DoeptsizControlSpec>

Bits 29:30 - SETUP Packet Count: 0b00=1 packet, 0b00=2 packets, 0b00=3 packets,