Struct Ahbrstr
#[repr(transparent)]pub struct Ahbrstr(pub u32);
Expand description
AHB peripheral reset register.
Tuple Fields§
§0: u32
Implementations§
§impl Ahbrstr
impl Ahbrstr
pub fn set_dmarst(&mut self, val: bool)
pub fn set_dmarst(&mut self, val: bool)
DMA reset.
pub fn set_crcrst(&mut self, val: bool)
pub fn set_crcrst(&mut self, val: bool)
CRC reset.
pub fn set_divrst(&mut self, val: bool)
pub fn set_divrst(&mut self, val: bool)
DIV reset.
Trait Implementations§
impl Copy for Ahbrstr
impl Eq for Ahbrstr
impl StructuralPartialEq for Ahbrstr
Auto Trait Implementations§
impl Freeze for Ahbrstr
impl RefUnwindSafe for Ahbrstr
impl Send for Ahbrstr
impl Sync for Ahbrstr
impl Unpin for Ahbrstr
impl UnwindSafe for Ahbrstr
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