[][src]Type Definition stm32f1::stm32f102::otg_fs_device::fs_diepctl0::W

type W = W<u32, FS_DIEPCTL0>;

Writer for register FS_DIEPCTL0

Methods

impl W[src]

pub fn mpsiz(&mut self) -> MPSIZ_W[src]

Bits 0:1 - Maximum packet size

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