Struct stm32_metapac::sdmmc::regs::Clkcr
#[repr(transparent)]pub struct Clkcr(pub u32);
Expand description
SDI clock control register
Tuple Fields§
§0: u32
Implementations§
§impl Clkcr
impl Clkcr
pub fn set_clkdiv(&mut self, val: u8)
pub fn set_clkdiv(&mut self, val: u8)
Clock divide factor
pub fn set_pwrsav(&mut self, val: bool)
pub fn set_pwrsav(&mut self, val: bool)
Power saving configuration bit
pub fn set_bypass(&mut self, val: bool)
pub fn set_bypass(&mut self, val: bool)
Clock divider bypass enable bit
pub fn set_widbus(&mut self, val: u8)
pub fn set_widbus(&mut self, val: u8)
Wide bus mode enable bit
pub fn set_negedge(&mut self, val: bool)
pub fn set_negedge(&mut self, val: bool)
SDIO_CK dephasing selection bit
pub fn set_hwfc_en(&mut self, val: bool)
pub 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)