Struct Ahb1rstr
#[repr(transparent)]pub struct Ahb1rstr(pub u32);Expand description
RCC AHB1 peripheral reset register.
Tuple Fields§
§0: u32Implementations§
§impl Ahb1rstr
impl Ahb1rstr
pub const fn set_hsprst(&mut self, val: bool)
pub const fn set_hsprst(&mut self, val: bool)
HSP block reset.
pub const fn set_gpdma1rst(&mut self, val: bool)
pub const fn set_gpdma1rst(&mut self, val: bool)
GPDMA1 blocks reset.
pub const fn set_otgfsrst(&mut self, val: bool)
pub const fn set_otgfsrst(&mut self, val: bool)
OTGFS block reset.
pub const fn set_adf1rst(&mut self, val: bool)
pub const fn set_adf1rst(&mut self, val: bool)
ADF block reset.
Trait Implementations§
impl Copy for Ahb1rstr
impl Eq for Ahb1rstr
impl StructuralPartialEq for Ahb1rstr
Auto Trait Implementations§
impl Freeze for Ahb1rstr
impl RefUnwindSafe for Ahb1rstr
impl Send for Ahb1rstr
impl Sync for Ahb1rstr
impl Unpin for Ahb1rstr
impl UnsafeUnpin for Ahb1rstr
impl UnwindSafe for Ahb1rstr
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