#[repr(transparent)]pub struct Clkena(pub u32);Expand description
Clock Enable register
Tuple Fields§
§0: u32Implementations§
Source§impl Clkena
impl Clkena
Sourcepub const fn cclk0_enable(&self) -> bool
pub const fn cclk0_enable(&self) -> bool
Clock-enable control for SD card 0 clock.
Sourcepub const fn set_cclk0_enable(&mut self, val: bool)
pub const fn set_cclk0_enable(&mut self, val: bool)
Clock-enable control for SD card 0 clock.
Sourcepub const fn cclk1_enable(&self) -> bool
pub const fn cclk1_enable(&self) -> bool
Clock-enable control for SD card 1 clock.
Sourcepub const fn set_cclk1_enable(&mut self, val: bool)
pub const fn set_cclk1_enable(&mut self, val: bool)
Clock-enable control for SD card 1 clock.
Sourcepub const fn cclk0_low_power(&self) -> bool
pub const fn cclk0_low_power(&self) -> bool
Low-power control for SD card 0 clock.
Sourcepub const fn set_cclk0_low_power(&mut self, val: bool)
pub const fn set_cclk0_low_power(&mut self, val: bool)
Low-power control for SD card 0 clock.
Sourcepub const fn cclk1_low_power(&self) -> bool
pub const fn cclk1_low_power(&self) -> bool
Low-power control for SD card 1 clock.
Sourcepub const fn set_cclk1_low_power(&mut self, val: bool)
pub const fn set_cclk1_low_power(&mut self, val: bool)
Low-power control for SD card 1 clock.
Trait Implementations§
impl Copy for Clkena
impl Eq for Clkena
impl StructuralPartialEq for Clkena
Auto Trait Implementations§
impl Freeze for Clkena
impl RefUnwindSafe for Clkena
impl Send for Clkena
impl Sync for Clkena
impl Unpin for Clkena
impl UnwindSafe for Clkena
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