Struct stm32_metapac::adf::regs::Bsmxcr
#[repr(transparent)]pub struct Bsmxcr(pub u32);
Expand description
ADF bitstream matrix control register 0.
Tuple Fields§
§0: u32
Implementations§
§impl Bsmxcr
impl Bsmxcr
pub const fn bsmxactive(&self) -> bool
pub const fn bsmxactive(&self) -> bool
BSMX active flag. This bit is set and cleared by hardware. It is used by the application to check if the BSMX is effectively enabled (active) or not. BSSEL[4:0] can only be updated when BSMXACTIVE is set to 0. This BSMXACTIVE flag cannot go to 0 if DFLT0 is enabled.
pub fn set_bsmxactive(&mut self, val: bool)
pub fn set_bsmxactive(&mut self, val: bool)
BSMX active flag. This bit is set and cleared by hardware. It is used by the application to check if the BSMX is effectively enabled (active) or not. BSSEL[4:0] can only be updated when BSMXACTIVE is set to 0. This BSMXACTIVE flag cannot go to 0 if DFLT0 is enabled.
Trait Implementations§
impl Copy for Bsmxcr
impl Eq for Bsmxcr
impl StructuralPartialEq for Bsmxcr
Auto Trait Implementations§
impl Freeze for Bsmxcr
impl RefUnwindSafe for Bsmxcr
impl Send for Bsmxcr
impl Sync for Bsmxcr
impl Unpin for Bsmxcr
impl UnwindSafe for Bsmxcr
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
)