Struct 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 reset.
pub fn set_adcrst(&mut self, val: bool)
pub fn set_adcrst(&mut self, val: bool)
ADC reset.
pub fn set_dbgrst(&mut self, val: bool)
pub fn set_dbgrst(&mut self, val: bool)
DBG reset.
pub fn set_tim1rst(&mut self, val: bool)
pub fn set_tim1rst(&mut self, val: bool)
TIM1 reset.
pub fn set_spi1rst(&mut self, val: bool)
pub fn set_spi1rst(&mut self, val: bool)
SPI1 reset.
pub fn set_usart1rst(&mut self, val: bool)
pub fn set_usart1rst(&mut self, val: bool)
USART1 reset.
pub fn set_tim14rst(&mut self, val: bool)
pub fn set_tim14rst(&mut self, val: bool)
TIM14 reset.
pub fn set_tim15rst(&mut self, val: bool)
pub fn set_tim15rst(&mut self, val: bool)
TIM15 reset.
pub fn set_tim16rst(&mut self, val: bool)
pub fn set_tim16rst(&mut self, val: bool)
TIM16 reset.
pub fn set_tim17rst(&mut self, val: bool)
pub fn set_tim17rst(&mut self, val: bool)
TIM17 reset.
pub fn set_comp1rst(&mut self, val: bool)
pub fn set_comp1rst(&mut self, val: bool)
COMP1 reset.
pub fn set_comp2rst(&mut self, val: bool)
pub fn set_comp2rst(&mut self, val: bool)
COMP2 reset.
pub fn set_comp3rst(&mut self, val: bool)
pub fn set_comp3rst(&mut self, val: bool)
COMP3 reset.
pub fn set_lcdrst(&mut self, val: bool)
pub fn set_lcdrst(&mut self, val: bool)
LCD reset.
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