Struct stm32_metapac::rcc::regs::Apb1hrstr
#[repr(transparent)]pub struct Apb1hrstr(pub u32);
Expand description
RCC APB1 Peripheral Reset Register
Tuple Fields§
§0: u32
Implementations§
§impl Apb1hrstr
impl Apb1hrstr
pub fn set_crsrst(&mut self, val: bool)
pub fn set_crsrst(&mut self, val: bool)
Clock Recovery System reset
pub fn set_swprst(&mut self, val: bool)
pub fn set_swprst(&mut self, val: bool)
SWPMI block reset
pub fn set_opamprst(&mut self, val: bool)
pub fn set_opamprst(&mut self, val: bool)
OPAMP block reset
pub fn set_mdiosrst(&mut self, val: bool)
pub fn set_mdiosrst(&mut self, val: bool)
MDIOS block reset
pub fn set_fdcanrst(&mut self, val: bool)
pub fn set_fdcanrst(&mut self, val: bool)
FDCAN block reset
pub fn set_tim23rst(&mut self, val: bool)
pub fn set_tim23rst(&mut self, val: bool)
TIM23 block reset
pub fn set_tim24rst(&mut self, val: bool)
pub fn set_tim24rst(&mut self, val: bool)
TIM24 block reset
Trait Implementations§
impl Copy for Apb1hrstr
impl Eq for Apb1hrstr
impl StructuralEq for Apb1hrstr
impl StructuralPartialEq for Apb1hrstr
Auto Trait Implementations§
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