#[repr(transparent)]pub struct Ahbclkctrl0(pub u32);Expand description
AHB Clock control 0
Tuple Fields§
§0: u32Implementations§
Source§impl Ahbclkctrl0
impl Ahbclkctrl0
Sourcepub const fn sram_ctrl1(&self) -> bool
pub const fn sram_ctrl1(&self) -> bool
Enables the clock for the SRAM Controller 1.
Sourcepub const fn set_sram_ctrl1(&mut self, val: bool)
pub const fn set_sram_ctrl1(&mut self, val: bool)
Enables the clock for the SRAM Controller 1.
Sourcepub const fn sram_ctrl2(&self) -> bool
pub const fn sram_ctrl2(&self) -> bool
Enables the clock for the SRAM Controller 2.
Sourcepub const fn set_sram_ctrl2(&mut self, val: bool)
pub const fn set_sram_ctrl2(&mut self, val: bool)
Enables the clock for the SRAM Controller 2.
Sourcepub const fn sram_ctrl3(&self) -> bool
pub const fn sram_ctrl3(&self) -> bool
Enables the clock for the SRAM Controller 3.
Sourcepub const fn set_sram_ctrl3(&mut self, val: bool)
pub const fn set_sram_ctrl3(&mut self, val: bool)
Enables the clock for the SRAM Controller 3.
Sourcepub const fn sram_ctrl4(&self) -> bool
pub const fn sram_ctrl4(&self) -> bool
Enables the clock for the SRAM Controller 4.
Sourcepub const fn set_sram_ctrl4(&mut self, val: bool)
pub const fn set_sram_ctrl4(&mut self, val: bool)
Enables the clock for the SRAM Controller 4.
Sourcepub const fn set_crcgen(&mut self, val: bool)
pub const fn set_crcgen(&mut self, val: bool)
Enables the clock for the CRCGEN.
Sourcepub const fn set_mailbox(&mut self, val: bool)
pub const fn set_mailbox(&mut self, val: bool)
Enables the clock for the Inter CPU communication Mailbox.
Trait Implementations§
Source§impl Clone for Ahbclkctrl0
impl Clone for Ahbclkctrl0
Source§fn clone(&self) -> Ahbclkctrl0
fn clone(&self) -> Ahbclkctrl0
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 Ahbclkctrl0
impl Debug for Ahbclkctrl0
Source§impl Default for Ahbclkctrl0
impl Default for Ahbclkctrl0
Source§fn default() -> Ahbclkctrl0
fn default() -> Ahbclkctrl0
Returns the “default value” for a type. Read more
Source§impl PartialEq for Ahbclkctrl0
impl PartialEq for Ahbclkctrl0
impl Copy for Ahbclkctrl0
impl Eq for Ahbclkctrl0
impl StructuralPartialEq for Ahbclkctrl0
Auto Trait Implementations§
impl Freeze for Ahbclkctrl0
impl RefUnwindSafe for Ahbclkctrl0
impl Send for Ahbclkctrl0
impl Sync for Ahbclkctrl0
impl Unpin for Ahbclkctrl0
impl UnwindSafe for Ahbclkctrl0
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