Struct stm32f7x5::otg_hs_device::otg_hs_diepctl2::R
[−]
[src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn mpsiz(&self) -> MPSIZR
[src]
Bits 0:10 - Maximum packet size
pub fn usbaep(&self) -> USBAEPR
[src]
Bit 15 - USB active endpoint
pub fn eonum_dpid(&self) -> EONUM_DPIDR
[src]
Bit 16 - Even/odd frame
pub fn naksts(&self) -> NAKSTSR
[src]
Bit 17 - NAK status
pub fn eptyp(&self) -> EPTYPR
[src]
Bits 18:19 - Endpoint type
pub fn stall(&self) -> STALLR
[src]
Bit 21 - STALL handshake
pub fn txfnum(&self) -> TXFNUMR
[src]
Bits 22:25 - TxFIFO number
pub fn epdis(&self) -> EPDISR
[src]
Bit 30 - Endpoint disable
pub fn epena(&self) -> EPENAR
[src]
Bit 31 - Endpoint enable