Struct Apb1fzr
#[repr(transparent)]pub struct Apb1fzr(pub u32);Expand description
DBG APB freeze register 1
Tuple Fields§
§0: u32Implementations§
§impl Apb1fzr
impl Apb1fzr
pub const fn tim4(&self) -> bool
pub const fn tim4(&self) -> bool
TIM4 counter stopped when core is halted (only on devices with TIM4)
pub const fn set_tim4(&mut self, val: bool)
pub const fn set_tim4(&mut self, val: bool)
TIM4 counter stopped when core is halted (only on devices with TIM4)
pub const fn i2c2(&self) -> bool
pub const fn i2c2(&self) -> bool
I2C2 SMBUS timeout mode stopped when core is halted (only on devices with I2C2)
pub const fn set_i2c2(&mut self, val: bool)
pub const fn set_i2c2(&mut self, val: bool)
I2C2 SMBUS timeout mode stopped when core is halted (only on devices with I2C2)
pub const fn set_lptim2(&mut self, val: bool)
pub const fn set_lptim2(&mut self, val: bool)
LPTIM2 counter stopped when core is halted
pub const fn set_lptim1(&mut self, val: bool)
pub const fn set_lptim1(&mut self, val: bool)
LPTIM1 counter stopped when core is halted
Trait Implementations§
impl Copy for Apb1fzr
impl Eq for Apb1fzr
impl StructuralPartialEq for Apb1fzr
Auto Trait Implementations§
impl Freeze for Apb1fzr
impl RefUnwindSafe for Apb1fzr
impl Send for Apb1fzr
impl Sync for Apb1fzr
impl Unpin for Apb1fzr
impl UnsafeUnpin for Apb1fzr
impl UnwindSafe for Apb1fzr
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