[−]Struct stm32f072b_disco::stm32f0::stm32f0x2::rcc::apb1rstr::R
Value read from the register
Methods
impl R
pub fn bits(&self) -> u32
Value of the register as raw bits
pub fn tim2rst(&self) -> TIM2RSTR
Bit 0 - Timer 2 reset
pub fn tim3rst(&self) -> TIM2RSTR
Bit 1 - Timer 3 reset
pub fn tim6rst(&self) -> TIM2RSTR
Bit 4 - Timer 6 reset
pub fn tim7rst(&self) -> TIM2RSTR
Bit 5 - TIM7 timer reset
pub fn tim14rst(&self) -> TIM2RSTR
Bit 8 - Timer 14 reset
pub fn wwdgrst(&self) -> TIM2RSTR
Bit 11 - Window watchdog reset
pub fn spi2rst(&self) -> TIM2RSTR
Bit 14 - SPI2 reset
pub fn usart2rst(&self) -> TIM2RSTR
Bit 17 - USART 2 reset
pub fn usart3rst(&self) -> TIM2RSTR
Bit 18 - USART3 reset
pub fn usart4rst(&self) -> TIM2RSTR
Bit 19 - USART4 reset
pub fn i2c1rst(&self) -> TIM2RSTR
Bit 21 - I2C1 reset
pub fn i2c2rst(&self) -> TIM2RSTR
Bit 22 - I2C2 reset
pub fn usbrst(&self) -> TIM2RSTR
Bit 23 - USB interface reset
pub fn canrst(&self) -> TIM2RSTR
Bit 25 - CAN interface reset
pub fn crsrst(&self) -> TIM2RSTR
Bit 27 - Clock Recovery System interface reset
pub fn pwrrst(&self) -> TIM2RSTR
Bit 28 - Power interface reset
pub fn dacrst(&self) -> TIM2RSTR
Bit 29 - DAC interface reset
pub fn cecrst(&self) -> TIM2RSTR
Bit 30 - HDMI CEC reset
pub fn usart5rst(&self) -> TIM2RSTR
Bit 20 - USART5 reset
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> From for T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self