[][src]Type Definition xmc4100::usb0_ep0::diepctl0::W

type W = W<u32, DIEPCTL0>;

Writer for register DIEPCTL0

Implementations

impl W[src]

pub fn mps(&mut self) -> MPS_W<'_>[src]

Bits 0:1 - Maximum Packet Size

pub fn stall(&mut self) -> STALL_W<'_>[src]

Bit 21 - STALL Handshake

pub fn tx_fnum(&mut self) -> TXFNUM_W<'_>[src]

Bits 22:25 - TxFIFO Number

pub fn cnak(&mut self) -> CNAK_W<'_>[src]

Bit 26 - Clear NAK

pub fn snak(&mut self) -> SNAK_W<'_>[src]

Bit 27 - Set NAK

pub fn epdis(&mut self) -> EPDIS_W<'_>[src]

Bit 30 - Endpoint Disable

pub fn epena(&mut self) -> EPENA_W<'_>[src]

Bit 31 - Endpoint Enable