Struct stm32_metapac::rcc::regs::Apb1hrstr
#[repr(transparent)]pub struct Apb1hrstr(pub u32);
Expand description
RCC APB1 peripheral high reset register
Tuple Fields§
§0: u32
Implementations§
§impl Apb1hrstr
impl Apb1hrstr
pub fn set_dtsrst(&mut self, val: bool)
pub fn set_dtsrst(&mut self, val: bool)
DTS block reset Set and reset by software.
pub fn set_lptim2rst(&mut self, val: bool)
pub fn set_lptim2rst(&mut self, val: bool)
LPTIM2 block reset Set and reset by software.
pub const fn fdcan12rst(&self) -> bool
pub const fn fdcan12rst(&self) -> bool
FDCAN1 block reset Set and reset by software.
pub fn set_fdcan12rst(&mut self, val: bool)
pub fn set_fdcan12rst(&mut self, val: bool)
FDCAN1 block reset Set and reset by software.
Trait Implementations§
impl Copy for Apb1hrstr
impl Eq for Apb1hrstr
impl StructuralPartialEq for Apb1hrstr
Auto Trait Implementations§
impl Freeze for Apb1hrstr
impl RefUnwindSafe for Apb1hrstr
impl Send for Apb1hrstr
impl Sync for Apb1hrstr
impl Unpin for Apb1hrstr
impl UnwindSafe for Apb1hrstr
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
)