Type Alias xmc4800::usb0::dcfg::W

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

Register DCFG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn dev_spd(&mut self) -> DevSpdW<'_, DcfgSpec>

Bits 0:1 - Device Speed

source

pub fn nzsts_outhshk(&mut self) -> NzstsOuthshkW<'_, DcfgSpec>

Bit 2 - Non-Zero-Length Status OUT Handshake

source

pub fn dev_addr(&mut self) -> DevAddrW<'_, DcfgSpec>

Bits 4:10 - Device Address

source

pub fn per_fr_int(&mut self) -> PerFrIntW<'_, DcfgSpec>

Bits 11:12 - Periodic Frame Interval

source

pub fn desc_dma(&mut self) -> DescDmaW<'_, DcfgSpec>

Bit 23 - Enable Scatter/Gather DMA in Device mode.

source

pub fn per_sch_intvl(&mut self) -> PerSchIntvlW<'_, DcfgSpec>

Bits 24:25 - Periodic Scheduling Interval