Struct stm32mp1::stm32mp157::otg::otg_grxstsp::OTG_GRXSTSP_SPEC
source · [−]pub struct OTG_GRXSTSP_SPEC;
Expand description
This description is for register OTG_GRXSTSP in Device mode. Similarly to OTG_GRXSTSR (receive status debug read register) where a read returns the contents of the top of the receive FIFO, a read to OTG_GRXSTSP (receive status read and pop register) additionally pops the top data entry out of the Rx FIFO. The core ignores the receive status pop/read when the receive FIFO is empty and returns a value of 0x00000000. The application must only pop the receive status FIFO when the receive FIFO non-empty bit of the core interrupt register (RXFLVL bit in OTG_GINTSTS) is asserted.
This register you can read
. See API.
For information about available fields see otg_grxstsp module
Trait Implementations
sourceimpl Readable for OTG_GRXSTSP_SPEC
impl Readable for OTG_GRXSTSP_SPEC
read()
method returns otg_grxstsp::R reader structure
sourceimpl RegisterSpec for OTG_GRXSTSP_SPEC
impl RegisterSpec for OTG_GRXSTSP_SPEC
sourceimpl Resettable for OTG_GRXSTSP_SPEC
impl Resettable for OTG_GRXSTSP_SPEC
reset()
method sets OTG_GRXSTSP to value 0
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
Auto Trait Implementations
impl RefUnwindSafe for OTG_GRXSTSP_SPEC
impl Send for OTG_GRXSTSP_SPEC
impl Sync for OTG_GRXSTSP_SPEC
impl Unpin for OTG_GRXSTSP_SPEC
impl UnwindSafe for OTG_GRXSTSP_SPEC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more