Struct Apb1rstr
#[repr(transparent)]pub struct Apb1rstr(pub u32);Expand description
APB1RSTR register.
Tuple Fields§
§0: u32Implementations§
§impl Apb1rstr
impl Apb1rstr
pub fn set_spi1rst(&mut self, val: bool)
pub fn set_spi1rst(&mut self, val: bool)
SPI1 reset.
pub fn set_adcrst(&mut self, val: bool)
pub fn set_adcrst(&mut self, val: bool)
ADC reset.
pub const fn auxadcrst(&self) -> bool
pub const fn auxadcrst(&self) -> bool
AUXADC reset for Aux-ADC digital clock Set and reset by software.
pub fn set_auxadcrst(&mut self, val: bool)
pub fn set_auxadcrst(&mut self, val: bool)
AUXADC reset for Aux-ADC digital clock Set and reset by software.
pub fn set_lpuartrst(&mut self, val: bool)
pub fn set_lpuartrst(&mut self, val: bool)
LPUART reset Set and reset by software.
pub fn set_usartrst(&mut self, val: bool)
pub fn set_usartrst(&mut self, val: bool)
USART reset Set and reset by software.
pub fn set_spi2rst(&mut self, val: bool)
pub fn set_spi2rst(&mut self, val: bool)
SPI2 reset.
pub fn set_spi3rst(&mut self, val: bool)
pub fn set_spi3rst(&mut self, val: bool)
SPI3 reset Set and reset by software.
pub fn set_i2c1rst(&mut self, val: bool)
pub fn set_i2c1rst(&mut self, val: bool)
I2C1 reset Set and reset by software.
pub fn set_i2c21rst(&mut self, val: bool)
pub fn set_i2c21rst(&mut self, val: bool)
I2C1 reset Set and reset by software.
pub fn set_i2c2rst(&mut self, val: bool)
pub fn set_i2c2rst(&mut self, val: bool)
2C2 reset.
Trait Implementations§
impl Copy for Apb1rstr
impl Eq for Apb1rstr
impl StructuralPartialEq for Apb1rstr
Auto Trait Implementations§
impl Freeze for Apb1rstr
impl RefUnwindSafe for Apb1rstr
impl Send for Apb1rstr
impl Sync for Apb1rstr
impl Unpin for Apb1rstr
impl UnwindSafe for Apb1rstr
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