Struct Apb4rstr
#[repr(transparent)]pub struct Apb4rstr(pub u32);Expand description
RCC APB4 peripheral reset register.
Tuple Fields§
§0: u32Implementations§
§impl Apb4rstr
impl Apb4rstr
pub const fn set_sbsrst(&mut self, val: bool)
pub const fn set_sbsrst(&mut self, val: bool)
SBS block reset.
pub const fn lpuart1rst(&self) -> bool
pub const fn lpuart1rst(&self) -> bool
LPUART1 block reset.
pub const fn set_lpuart1rst(&mut self, val: bool)
pub const fn set_lpuart1rst(&mut self, val: bool)
LPUART1 block reset.
pub const fn set_spi6rst(&mut self, val: bool)
pub const fn set_spi6rst(&mut self, val: bool)
SPI/I2S6 block reset.
pub const fn set_lptim2rst(&mut self, val: bool)
pub const fn set_lptim2rst(&mut self, val: bool)
LPTIM2 block reset.
pub const fn set_lptim3rst(&mut self, val: bool)
pub const fn set_lptim3rst(&mut self, val: bool)
LPTIM3 block reset.
pub const fn set_lptim4rst(&mut self, val: bool)
pub const fn set_lptim4rst(&mut self, val: bool)
LPTIM4 block reset.
pub const fn set_lptim5rst(&mut self, val: bool)
pub const fn set_lptim5rst(&mut self, val: bool)
LPTIM5 block reset.
pub const fn set_vrefrst(&mut self, val: bool)
pub const fn set_vrefrst(&mut self, val: bool)
VREF block reset.
pub const fn set_dtsrst(&mut self, val: bool)
pub const fn set_dtsrst(&mut self, val: bool)
DTS block reset.
pub const fn set_comp12rst(&mut self, val: bool)
pub const fn set_comp12rst(&mut self, val: bool)
COMP512 block reset.
pub const fn set_comp34rst(&mut self, val: bool)
pub const fn set_comp34rst(&mut self, val: bool)
COMP34 block reset.
pub const fn set_comp56rst(&mut self, val: bool)
pub const fn set_comp56rst(&mut self, val: bool)
COMP56 block reset.
pub const fn set_comp78rst(&mut self, val: bool)
pub const fn set_comp78rst(&mut self, val: bool)
COMP78 block reset.
Trait Implementations§
impl Copy for Apb4rstr
impl Eq for Apb4rstr
impl StructuralPartialEq for Apb4rstr
Auto Trait Implementations§
impl Freeze for Apb4rstr
impl RefUnwindSafe for Apb4rstr
impl Send for Apb4rstr
impl Sync for Apb4rstr
impl Unpin for Apb4rstr
impl UnsafeUnpin for Apb4rstr
impl UnwindSafe for Apb4rstr
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