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 Copy for Grstctl
impl Eq for Grstctl
impl StructuralPartialEq for Grstctl
Auto Trait Implementations§
impl Freeze for Grstctl
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)