Struct Ahb2enr2
#[repr(transparent)]pub struct Ahb2enr2(pub u32);
Expand description
RCC AHB2 peripheral clock enable register 2
Tuple Fields§
§0: u32
Implementations§
§impl Ahb2enr2
impl Ahb2enr2
pub fn set_fsmcen(&mut self, val: bool)
pub fn set_fsmcen(&mut self, val: bool)
FSMC clock enable Set and cleared by software.
pub const fn octospi1en(&self) -> bool
pub const fn octospi1en(&self) -> bool
OCTOSPI1 clock enable Set and cleared by software.
pub fn set_octospi1en(&mut self, val: bool)
pub fn set_octospi1en(&mut self, val: bool)
OCTOSPI1 clock enable Set and cleared by software.
pub const fn octospi2en(&self) -> bool
pub const fn octospi2en(&self) -> bool
OCTOSPI2 clock enable Set and cleared by software.
pub fn set_octospi2en(&mut self, val: bool)
pub fn set_octospi2en(&mut self, val: bool)
OCTOSPI2 clock enable Set and cleared by software.
Trait Implementations§
impl Copy for Ahb2enr2
impl Eq for Ahb2enr2
impl StructuralPartialEq for Ahb2enr2
Auto Trait Implementations§
impl Freeze for Ahb2enr2
impl RefUnwindSafe for Ahb2enr2
impl Send for Ahb2enr2
impl Sync for Ahb2enr2
impl Unpin for Ahb2enr2
impl UnwindSafe for Ahb2enr2
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