Struct Apb1rstrR

Source
#[repr(C)]
pub struct Apb1rstrR { /* private fields */ }

Implementations§

Source§

impl Apb1rstrR

Source

pub fn tim2rst(&self) -> bool

Bit 0 - Timer 2 reset

Source

pub fn tim3rst(&self) -> bool

Bit 1 - Timer 3 reset

Source

pub fn tim4rst(&self) -> bool

Bit 2 - Timer 14 reset

Source

pub fn tim6rst(&self) -> bool

Bit 4 - Timer 6 reset

Source

pub fn tim7rst(&self) -> bool

Bit 5 - Timer 7 reset

Source

pub fn wwdgrst(&self) -> bool

Bit 11 - Window watchdog reset

Source

pub fn spi2rst(&self) -> bool

Bit 14 - SPI2 reset

Source

pub fn spi3rst(&self) -> bool

Bit 15 - SPI3 reset

Source

pub fn usart2rst(&self) -> bool

Bit 17 - USART 2 reset

Source

pub fn usart3rst(&self) -> bool

Bit 18 - USART3 reset

Source

pub fn uart4rst(&self) -> bool

Bit 19 - UART 4 reset

Source

pub fn uart5rst(&self) -> bool

Bit 20 - UART 5 reset

Source

pub fn i2c1rst(&self) -> bool

Bit 21 - I2C1 reset

Source

pub fn i2c2rst(&self) -> bool

Bit 22 - I2C2 reset

Source

pub fn usbrst(&self) -> bool

Bit 23 - USB reset

Source

pub fn canrst(&self) -> bool

Bit 25 - CAN reset

Source

pub fn pwrrst(&self) -> bool

Bit 28 - Power interface reset

Source

pub fn dacrst(&self) -> bool

Bit 29 - DAC interface reset

Trait Implementations§

Source§

impl Clone for Apb1rstrR

Source§

fn clone(&self) -> Apb1rstrR

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Apb1rstrR

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.