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_afiorst(&mut self, val: bool)
pub fn set_afiorst(&mut self, val: bool)
Alternate function I/O reset
pub fn set_gpioarst(&mut self, val: bool)
pub fn set_gpioarst(&mut self, val: bool)
IO port A reset
pub fn set_gpiobrst(&mut self, val: bool)
pub fn set_gpiobrst(&mut self, val: bool)
IO port B reset
pub fn set_gpiocrst(&mut self, val: bool)
pub fn set_gpiocrst(&mut self, val: bool)
IO port C reset
pub fn set_gpiodrst(&mut self, val: bool)
pub fn set_gpiodrst(&mut self, val: bool)
IO port D reset
pub fn set_gpioerst(&mut self, val: bool)
pub fn set_gpioerst(&mut self, val: bool)
IO port E reset
pub fn set_gpiofrst(&mut self, val: bool)
pub fn set_gpiofrst(&mut self, val: bool)
IO port F reset
pub fn set_gpiogrst(&mut self, val: bool)
pub fn set_gpiogrst(&mut self, val: bool)
IO port G reset
pub fn set_adc1rst(&mut self, val: bool)
pub fn set_adc1rst(&mut self, val: bool)
ADC 1 interface reset
pub fn set_adc2rst(&mut self, val: bool)
pub fn set_adc2rst(&mut self, val: bool)
ADC 2 interface 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_adc3rst(&mut self, val: bool)
pub fn set_adc3rst(&mut self, val: bool)
ADC 3 interface reset
pub fn set_tim9rst(&mut self, val: bool)
pub fn set_tim9rst(&mut self, val: bool)
TIM9 timer reset
pub fn set_tim10rst(&mut self, val: bool)
pub fn set_tim10rst(&mut self, val: bool)
TIM10 timer reset
pub fn set_tim11rst(&mut self, val: bool)
pub fn set_tim11rst(&mut self, val: bool)
TIM11 timer 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