#[repr(C)]pub struct mss_mmc_cfg {
pub clk_rate: u32,
pub card_type: u8,
pub data_bus_width: u8,
pub bus_speed_mode: u8,
pub bus_voltage: u8,
}Expand description
The mss_mmc_cfg_t type provides the prototype for the configuration values of the MSS eMMC SD driver. The application need to create a record of this type to hold the configuration of the eMMC/SD/SDIO. The MSS_MMC_init() function initializes the MSS eMMC SD using this structure. A pointer to an initialized of this structure should be passed as the first parameter to the MSS_MMC_init() function.
Fields§
§clk_rate: u32§card_type: u8§data_bus_width: u8§bus_speed_mode: u8§bus_voltage: u8Trait Implementations§
Source§impl Clone for mss_mmc_cfg
impl Clone for mss_mmc_cfg
Source§fn clone(&self) -> mss_mmc_cfg
fn clone(&self) -> mss_mmc_cfg
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 mss_mmc_cfg
impl Debug for mss_mmc_cfg
impl Copy for mss_mmc_cfg
Auto Trait Implementations§
impl Freeze for mss_mmc_cfg
impl RefUnwindSafe for mss_mmc_cfg
impl Send for mss_mmc_cfg
impl Sync for mss_mmc_cfg
impl Unpin for mss_mmc_cfg
impl UnwindSafe for mss_mmc_cfg
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