[−]Struct nucleo_f401re::otg_fs_device::doepctl1::R
Value read from the register
Methods
impl R
pub fn bits(&self) -> u32
Value of the register as raw bits
pub fn epena(&self) -> EPENAR
Bit 31 - EPENA
pub fn epdis(&self) -> EPDISR
Bit 30 - EPDIS
pub fn stall(&self) -> STALLR
Bit 21 - Stall
pub fn snpm(&self) -> SNPMR
Bit 20 - SNPM
pub fn eptyp(&self) -> EPTYPR
Bits 18:19 - EPTYP
pub fn naksts(&self) -> NAKSTSR
Bit 17 - NAKSTS
pub fn eonum_dpid(&self) -> EONUM_DPIDR
Bit 16 - EONUM/DPID
pub fn usbaep(&self) -> USBAEPR
Bit 15 - USBAEP
pub fn mpsiz(&self) -> MPSIZR
Bits 0:10 - MPSIZ
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self