Struct Apb1hfzr
#[repr(transparent)]pub struct Apb1hfzr(pub u32);Expand description
DBGMCU APB1H peripheral freeze register.
Tuple Fields§
§0: u32Implementations§
§impl Apb1hfzr
impl Apb1hfzr
pub const fn i2c4(&self) -> bool
pub const fn i2c4(&self) -> bool
0: normal operation. I2C4 SMBUS timeout continues to operate while CPU is in debug mode. 1: stop in debug. I2C4 SMBUS timeout is frozen while CPU is in debug mode. Only available on STM32U3B5/3C5.
pub const fn set_i2c4(&mut self, val: bool)
pub const fn set_i2c4(&mut self, val: bool)
0: normal operation. I2C4 SMBUS timeout continues to operate while CPU is in debug mode. 1: stop in debug. I2C4 SMBUS timeout is frozen while CPU is in debug mode. Only available on STM32U3B5/3C5.
pub const fn lptim2(&self) -> bool
pub const fn lptim2(&self) -> bool
0: normal operation. LPTIM2 continues to operate while CPU is in debug mode. 1: stop in debug. LPTIM2 is frozen while CPU is in debug mode.
pub const fn set_lptim2(&mut self, val: bool)
pub const fn set_lptim2(&mut self, val: bool)
0: normal operation. LPTIM2 continues to operate while CPU is in debug mode. 1: stop in debug. LPTIM2 is frozen while CPU is in debug mode.
Trait Implementations§
impl Copy for Apb1hfzr
impl Eq for Apb1hfzr
impl StructuralPartialEq for Apb1hfzr
Auto Trait Implementations§
impl Freeze for Apb1hfzr
impl RefUnwindSafe for Apb1hfzr
impl Send for Apb1hfzr
impl Sync for Apb1hfzr
impl Unpin for Apb1hfzr
impl UnsafeUnpin for Apb1hfzr
impl UnwindSafe for Apb1hfzr
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