Struct stm32h7x3::otg1_hs_host::otg_hs_hcchar11::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
fn reset_value() -> W
[src]
Reset value of the register
unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
fn mpsiz(&mut self) -> _MPSIZW
[src]
Bits 0:10 - Maximum packet size
fn epnum(&mut self) -> _EPNUMW
[src]
Bits 11:14 - Endpoint number
fn epdir(&mut self) -> _EPDIRW
[src]
Bit 15 - Endpoint direction
fn lsdev(&mut self) -> _LSDEVW
[src]
Bit 17 - Low-speed device
fn eptyp(&mut self) -> _EPTYPW
[src]
Bits 18:19 - Endpoint type
fn mc(&mut self) -> _MCW
[src]
Bits 20:21 - Multi Count (MC) / Error Count (EC)
fn dad(&mut self) -> _DADW
[src]
Bits 22:28 - Device address
fn oddfrm(&mut self) -> _ODDFRMW
[src]
Bit 29 - Odd frame
fn chdis(&mut self) -> _CHDISW
[src]
Bit 30 - Channel disable
fn chena(&mut self) -> _CHENAW
[src]
Bit 31 - Channel enable