Type Alias gd32e1::gd32e103::usbfs_device::doep0len::W

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

Register DOEP0LEN writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tlen(&mut self) -> TlenW<'_, Doep0lenSpec>

Bits 0:6 - Transfer length

source

pub fn pcnt(&mut self) -> PcntW<'_, Doep0lenSpec>

Bit 19 - Packet count

source

pub fn stpcnt(&mut self) -> StpcntW<'_, Doep0lenSpec>

Bits 29:30 - SETUP packet count