Struct Clkcr
#[repr(transparent)]pub struct Clkcr(pub u32);Expand description
SDMMC clock control register.
Tuple Fields§
§0: u32Implementations§
§impl Clkcr
impl Clkcr
pub const fn set_clkdiv(&mut self, val: u16)
pub const fn set_clkdiv(&mut self, val: u16)
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_widbus(&mut self, val: Widbus)
pub const fn set_widbus(&mut self, val: Widbus)
Wide bus mode enable bit.
pub const fn set_negedge(&mut self, val: bool)
pub const fn set_negedge(&mut self, val: bool)
SDMMC_CK dephasing selection bit for data and command.
pub const fn set_hwfc_en(&mut self, val: bool)
pub const fn set_hwfc_en(&mut self, val: bool)
Hardware flow control enable.
pub const fn set_busspeed(&mut self, val: bool)
pub const fn set_busspeed(&mut self, val: bool)
Bus speed for selection of SDMMC operating modes.
pub const fn set_selclkrx(&mut self, val: Selclkrx)
pub const fn set_selclkrx(&mut self, val: Selclkrx)
Receive clock selection.
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 UnsafeUnpin 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