Struct stm32f40x::otg_hs_device::otg_hs_diepctl1::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
fn reset_value() -> W
Reset value of the register
unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
fn mpsiz(&mut self) -> _MPSIZW
Bits 0:10 - Maximum packet size
fn usbaep(&mut self) -> _USBAEPW
Bit 15 - USB active endpoint
fn eptyp(&mut self) -> _EPTYPW
Bits 18:19 - Endpoint type
fn stall(&mut self) -> _STALLW
Bit 21 - STALL handshake
fn txfnum(&mut self) -> _TXFNUMW
Bits 22:25 - TxFIFO number
fn cnak(&mut self) -> _CNAKW
Bit 26 - Clear NAK
fn snak(&mut self) -> _SNAKW
Bit 27 - Set NAK
fn sd0pid_sevnfrm(&mut self) -> _SD0PID_SEVNFRMW
Bit 28 - Set DATA0 PID
fn soddfrm(&mut self) -> _SODDFRMW
Bit 29 - Set odd frame
fn epdis(&mut self) -> _EPDISW
Bit 30 - Endpoint disable
fn epena(&mut self) -> _EPENAW
Bit 31 - Endpoint enable