[][src]Type Definition stm32f4::stm32f407::otg_hs_device::diepctl0::W

type W = W<u32, DIEPCTL0>;

Writer for register DIEPCTL0

Methods

impl W[src]

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

Bits 0:10 - Maximum packet size

pub fn usbaep(&mut self) -> USBAEP_W[src]

Bit 15 - USB active endpoint

pub fn eptyp(&mut self) -> EPTYP_W[src]

Bits 18:19 - Endpoint type

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 sd0pid_sevnfrm(&mut self) -> SD0PID_SEVNFRM_W[src]

Bit 28 - Set DATA0 PID

pub fn soddfrm(&mut self) -> SODDFRM_W[src]

Bit 29 - Set odd frame

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

Bit 30 - Endpoint disable

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

Bit 31 - Endpoint enable