Struct stm32_metapac::rcc::regs::Apb2rstr
#[repr(transparent)]pub struct Apb2rstr(pub u32);
Expand description
APB2 peripheral reset register (RCC_APB2RSTR)
Tuple Fields§
§0: u32
Implementations§
§impl Apb2rstr
impl Apb2rstr
pub fn set_syscfgrst(&mut self, val: bool)
pub fn set_syscfgrst(&mut self, val: bool)
SYSCFG and COMP reset
pub fn set_tim1rst(&mut self, val: bool)
pub fn set_tim1rst(&mut self, val: bool)
TIM1 timer reset
pub fn set_spi1rst(&mut self, val: bool)
pub fn set_spi1rst(&mut self, val: bool)
SPI 1 reset
pub fn set_tim8rst(&mut self, val: bool)
pub fn set_tim8rst(&mut self, val: bool)
TIM8 timer reset
pub fn set_usart1rst(&mut self, val: bool)
pub fn set_usart1rst(&mut self, val: bool)
USART1 reset
pub fn set_spi4rst(&mut self, val: bool)
pub fn set_spi4rst(&mut self, val: bool)
SPI4 reset
pub fn set_tim15rst(&mut self, val: bool)
pub fn set_tim15rst(&mut self, val: bool)
TIM15 timer reset
pub fn set_tim16rst(&mut self, val: bool)
pub fn set_tim16rst(&mut self, val: bool)
TIM16 timer reset
pub fn set_tim17rst(&mut self, val: bool)
pub fn set_tim17rst(&mut self, val: bool)
TIM17 timer reset
pub fn set_tim19rst(&mut self, val: bool)
pub fn set_tim19rst(&mut self, val: bool)
TIM19 timer reset
pub fn set_tim20rst(&mut self, val: bool)
pub fn set_tim20rst(&mut self, val: bool)
TIM20 timer reset
pub fn set_dbgmcurst(&mut self, val: bool)
pub fn set_dbgmcurst(&mut self, val: bool)
Debug MCU reset
pub fn set_hrtim1rst(&mut self, val: bool)
pub fn set_hrtim1rst(&mut self, val: bool)
High Resolution Timer1 reset
Trait Implementations§
impl Copy for Apb2rstr
impl Eq for Apb2rstr
impl StructuralPartialEq for Apb2rstr
Auto Trait Implementations§
impl Freeze for Apb2rstr
impl RefUnwindSafe for Apb2rstr
impl Send for Apb2rstr
impl Sync for Apb2rstr
impl Unpin for Apb2rstr
impl UnwindSafe for Apb2rstr
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
)