#[repr(transparent)]pub struct Ahbclkctrl3(pub u32);Expand description
AHB Clock Control 3
Tuple Fields§
§0: u32Implementations§
Source§impl Ahbclkctrl3
impl Ahbclkctrl3
Sourcepub const fn set_coolflux(&mut self, val: bool)
pub const fn set_coolflux(&mut self, val: bool)
Enables the clock for CoolFlux
Sourcepub const fn set_opamp0(&mut self, val: bool)
pub const fn set_opamp0(&mut self, val: bool)
Enables the clock for OPAMP0
Sourcepub const fn set_opamp1(&mut self, val: bool)
pub const fn set_opamp1(&mut self, val: bool)
Enables the clock for OPAMP1
Sourcepub const fn set_opamp2(&mut self, val: bool)
pub const fn set_opamp2(&mut self, val: bool)
Enables the clock for OPAMP2
Sourcepub const fn coolflux_apb(&self) -> bool
pub const fn coolflux_apb(&self) -> bool
Enables the clock for CoolFlux APB
Sourcepub const fn set_coolflux_apb(&mut self, val: bool)
pub const fn set_coolflux_apb(&mut self, val: bool)
Enables the clock for CoolFlux APB
Sourcepub const fn set_sema42(&mut self, val: bool)
pub const fn set_sema42(&mut self, val: bool)
Enables the clock for Semaphore
Trait Implementations§
Source§impl Clone for Ahbclkctrl3
impl Clone for Ahbclkctrl3
Source§fn clone(&self) -> Ahbclkctrl3
fn clone(&self) -> Ahbclkctrl3
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 moreSource§impl Debug for Ahbclkctrl3
impl Debug for Ahbclkctrl3
Source§impl Default for Ahbclkctrl3
impl Default for Ahbclkctrl3
Source§fn default() -> Ahbclkctrl3
fn default() -> Ahbclkctrl3
Returns the “default value” for a type. Read more
Source§impl PartialEq for Ahbclkctrl3
impl PartialEq for Ahbclkctrl3
impl Copy for Ahbclkctrl3
impl Eq for Ahbclkctrl3
impl StructuralPartialEq for Ahbclkctrl3
Auto Trait Implementations§
impl Freeze for Ahbclkctrl3
impl RefUnwindSafe for Ahbclkctrl3
impl Send for Ahbclkctrl3
impl Sync for Ahbclkctrl3
impl Unpin for Ahbclkctrl3
impl UnwindSafe for Ahbclkctrl3
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