Struct stm32_metapac::rcc::regs::Apbrstr1
#[repr(transparent)]pub struct Apbrstr1(pub u32);
Expand description
RCC APB peripheral reset register 1
Tuple Fields§
§0: u32
Implementations§
§impl Apbrstr1
impl Apbrstr1
pub fn set_tim3rst(&mut self, val: bool)
pub fn set_tim3rst(&mut self, val: bool)
TIM3 timer reset Set and cleared by software.
pub fn set_usart2rst(&mut self, val: bool)
pub fn set_usart2rst(&mut self, val: bool)
USART2 reset Set and cleared by software.
pub fn set_i2c1rst(&mut self, val: bool)
pub fn set_i2c1rst(&mut self, val: bool)
I2C1 reset Set and cleared by software.
pub fn set_dbgrst(&mut self, val: bool)
pub fn set_dbgrst(&mut self, val: bool)
Debug support reset Set and cleared by software.
pub fn set_pwrrst(&mut self, val: bool)
pub fn set_pwrrst(&mut self, val: bool)
Power interface reset Set and cleared by software.
Trait Implementations§
impl Copy for Apbrstr1
impl Eq for Apbrstr1
impl StructuralPartialEq for Apbrstr1
Auto Trait Implementations§
impl Freeze for Apbrstr1
impl RefUnwindSafe for Apbrstr1
impl Send for Apbrstr1
impl Sync for Apbrstr1
impl Unpin for Apbrstr1
impl UnwindSafe for Apbrstr1
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
)