Type Alias xmc4800::usb0_ep1::doeptsiz_control::R

source ·
pub type R = R<DOEPTSIZ_CONTROL_SPEC>;
Expand description

Register DOEPTSIZ_CONTROL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn xfer_size(&self) -> XFER_SIZE_R

Bits 0:18 - Transfer Size

source

pub fn pkt_cnt(&self) -> PKT_CNT_R

Bits 19:28 - Packet Count

source

pub fn supcnt(&self) -> SUPCNT_R

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