Struct stm32_metapac::rcc::regs::Apbrstr2
#[repr(transparent)]pub struct Apbrstr2(pub u32);
Expand description
APB peripheral reset register 2.
Tuple Fields§
§0: u32
Implementations§
§impl Apbrstr2
impl Apbrstr2
pub fn set_syscfgrst(&mut self, val: bool)
pub fn set_syscfgrst(&mut self, val: bool)
SYSCFG, COMP and VREFBUF reset Set and cleared by software.
pub fn set_tim1rst(&mut self, val: bool)
pub fn set_tim1rst(&mut self, val: bool)
TIM1 timer reset Set and cleared by software.
pub fn set_spi1rst(&mut self, val: bool)
pub fn set_spi1rst(&mut self, val: bool)
SPI1 reset Set and cleared by software.
pub fn set_usart1rst(&mut self, val: bool)
pub fn set_usart1rst(&mut self, val: bool)
USART1 reset Set and cleared by software.
pub fn set_tim15rst(&mut self, val: bool)
pub fn set_tim15rst(&mut self, val: bool)
TIM15 timer reset Set and cleared by software.
pub fn set_tim16rst(&mut self, val: bool)
pub fn set_tim16rst(&mut self, val: bool)
TIM16 timer reset Set and cleared by software.
pub fn set_adcrst(&mut self, val: bool)
pub fn set_adcrst(&mut self, val: bool)
ADC reset Set and cleared by software.
Trait Implementations§
impl Copy for Apbrstr2
impl Eq for Apbrstr2
impl StructuralPartialEq for Apbrstr2
Auto Trait Implementations§
impl Freeze for Apbrstr2
impl RefUnwindSafe for Apbrstr2
impl Send for Apbrstr2
impl Sync for Apbrstr2
impl Unpin for Apbrstr2
impl UnwindSafe for Apbrstr2
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
)