Type Alias xmc4800::usb0_ch0::hctsiz_scatgather::W

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

Register HCTSIZ_SCATGATHER writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn sched_info(&mut self) -> SCHED_INFO_W<'_, HCTSIZ_SCATGATHER_SPEC>

Bits 0:7 - Schedule information

source

pub fn ntd(&mut self) -> NTD_W<'_, HCTSIZ_SCATGATHER_SPEC>

Bits 8:15 - Number of Transfer Descriptors: 0=1 descriptor, 63=64 descriptors, 1=2 descriptors, 3=4 descriptors, 7=8 descriptors, 15=16 descriptors, 31=32 descriptors, 63=64 descriptors,

source

pub fn pid(&mut self) -> PID_W<'_, HCTSIZ_SCATGATHER_SPEC>

Bits 29:30 - PID