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

source

pub fn xfer_size(&mut self) -> XFER_SIZE_W<'_, DOEPTSIZ_CONTROL_SPEC>

Bits 0:18 - Transfer Size

source

pub fn pkt_cnt(&mut self) -> PKT_CNT_W<'_, DOEPTSIZ_CONTROL_SPEC>

Bits 19:28 - Packet Count

source

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,