Struct Ahb2slpenr2
#[repr(transparent)]pub struct Ahb2slpenr2(pub u32);Expand description
RCC AHB2 peripheral clock enable in Sleep mode register 2.
Tuple Fields§
§0: u32Implementations§
§impl Ahb2slpenr2
impl Ahb2slpenr2
pub const fn octospi1slpen(&self) -> bool
pub const fn octospi1slpen(&self) -> bool
OCTOSPI1 clock enable during Sleep mode.
pub fn set_octospi1slpen(&mut self, val: bool)
pub fn set_octospi1slpen(&mut self, val: bool)
OCTOSPI1 clock enable during Sleep mode.
Trait Implementations§
§impl Clone for Ahb2slpenr2
impl Clone for Ahb2slpenr2
§fn clone(&self) -> Ahb2slpenr2
fn clone(&self) -> Ahb2slpenr2
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for Ahb2slpenr2
impl Debug for Ahb2slpenr2
§impl Default for Ahb2slpenr2
impl Default for Ahb2slpenr2
§fn default() -> Ahb2slpenr2
fn default() -> Ahb2slpenr2
Returns the “default value” for a type. Read more
§impl PartialEq for Ahb2slpenr2
impl PartialEq for Ahb2slpenr2
impl Copy for Ahb2slpenr2
impl Eq for Ahb2slpenr2
impl StructuralPartialEq for Ahb2slpenr2
Auto Trait Implementations§
impl Freeze for Ahb2slpenr2
impl RefUnwindSafe for Ahb2slpenr2
impl Send for Ahb2slpenr2
impl Sync for Ahb2slpenr2
impl Unpin for Ahb2slpenr2
impl UnwindSafe for Ahb2slpenr2
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