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

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

Register DOEPTSIZ0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bits 0:6 - Transfer Size

source

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

Bits 19:20 - Packet Count

source

pub fn supcnt(&mut self) -> SUPCNT_W<'_, DOEPTSIZ0_SPEC>

Bits 29:30 - SETUP Packet Count