Struct Clkcr
#[repr(transparent)]pub struct Clkcr(pub u32);Expand description
SDI clock control register
Tuple Fields§
§0: u32Implementations§
§impl Clkcr
impl Clkcr
pub const fn set_clkdiv(&mut self, val: u8)
pub const fn set_clkdiv(&mut self, val: u8)
Clock divide factor
pub const fn set_pwrsav(&mut self, val: bool)
pub const fn set_pwrsav(&mut self, val: bool)
Power saving configuration bit
pub const fn set_bypass(&mut self, val: bool)
pub const fn set_bypass(&mut self, val: bool)
Clock divider bypass enable bit
pub const fn set_widbus(&mut self, val: u8)
pub const fn set_widbus(&mut self, val: u8)
Wide bus mode enable bit
pub const fn set_negedge(&mut self, val: bool)
pub const fn set_negedge(&mut self, val: bool)
SDIO_CK dephasing selection bit
pub const fn set_hwfc_en(&mut self, val: bool)
pub const fn set_hwfc_en(&mut self, val: bool)
HW Flow Control enable
Trait Implementations§
impl Copy for Clkcr
impl Eq for Clkcr
impl StructuralPartialEq for Clkcr
Auto Trait Implementations§
impl Freeze for Clkcr
impl RefUnwindSafe for Clkcr
impl Send for Clkcr
impl Sync for Clkcr
impl Unpin for Clkcr
impl UnwindSafe for Clkcr
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