Struct stm32_metapac::rcc::regs::Assr
#[repr(transparent)]pub struct Assr(pub u32);
Expand description
RCC audio synchronization status register
Tuple Fields§
§0: u32
Implementations§
§impl Assr
impl Assr
pub const fn caf(&self) -> bool
pub const fn caf(&self) -> bool
Capture trigger interrupt flag This field is set by hardware, only when CAIE is enabled. This bit is cleared by software by writing it to 0 or masked when CAIE is 0.
pub fn set_caf(&mut self, val: bool)
pub fn set_caf(&mut self, val: bool)
Capture trigger interrupt flag This field is set by hardware, only when CAIE is enabled. This bit is cleared by software by writing it to 0 or masked when CAIE is 0.
pub const fn cof(&self) -> bool
pub const fn cof(&self) -> bool
Comparer interrupt flag This field is set by hardware, only when COIE is enabled. This bit is cleared by software by writing it to 0 or masked when COIE is 0.
pub fn set_cof(&mut self, val: bool)
pub fn set_cof(&mut self, val: bool)
Comparer interrupt flag This field is set by hardware, only when COIE is enabled. This bit is cleared by software by writing it to 0 or masked when COIE is 0.
Trait Implementations§
impl Copy for Assr
impl Eq for Assr
impl StructuralPartialEq for Assr
Auto Trait Implementations§
impl Freeze for Assr
impl RefUnwindSafe for Assr
impl Send for Assr
impl Sync for Assr
impl Unpin for Assr
impl UnwindSafe for Assr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)