Type Alias xmc4300::usb0_ep0::doeptsiz0::W

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

Register DOEPTSIZ0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bits 0:6 - Transfer Size

source

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

Bits 19:20 - Packet Count

source

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

Bits 29:30 - SETUP Packet Count