[][src]Type Definition gd32vf103_pac::usbfs_device::diep0ctl::W

type W = W<u32, DIEP0CTL>;

Writer for register DIEP0CTL

Implementations

impl W[src]

pub fn mpl(&mut self) -> MPL_W<'_>[src]

Bits 0:1 - Maximum packet length

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

Bit 21 - STALL handshake

pub fn txfnum(&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 epd(&mut self) -> EPD_W<'_>[src]

Bit 30 - Endpoint disable

pub fn epen(&mut self) -> EPEN_W<'_>[src]

Bit 31 - Endpoint enable