Struct stm32_metapac::otg::regs::Grstctl
#[repr(transparent)]pub struct Grstctl(pub u32);
Expand description
Reset register
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Grstctl
impl Grstctl
pub fn set_rxfflsh(&mut self, val: bool)
pub fn set_rxfflsh(&mut self, val: bool)
RxFIFO flush
pub fn set_txfflsh(&mut self, val: bool)
pub fn set_txfflsh(&mut self, val: bool)
TxFIFO flush
pub fn set_txfnum(&mut self, val: u8)
pub fn set_txfnum(&mut self, val: u8)
TxFIFO number
pub fn set_dmareq(&mut self, val: bool)
pub fn set_dmareq(&mut self, val: bool)
DMA request signal enabled for USB OTG HS
pub fn set_ahbidl(&mut self, val: bool)
pub fn set_ahbidl(&mut self, val: bool)
AHB master idle
Trait Implementationsยง
ยงimpl PartialEq for Grstctl
impl PartialEq for Grstctl
impl Copy for Grstctl
impl Eq for Grstctl
impl StructuralEq for Grstctl
impl StructuralPartialEq for Grstctl
Auto Trait Implementationsยง
impl RefUnwindSafe for Grstctl
impl Send for Grstctl
impl Sync for Grstctl
impl Unpin for Grstctl
impl UnwindSafe for Grstctl
Blanket Implementationsยง
sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more