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