[][src]Trait stm32h7_sdmmc::SdmmcExt

pub trait SdmmcExt<SDMMC>: Sized {
    type Rec: ResetEnable;
    fn sdmmc<PINS>(
        self,
        _pins: PINS,
        prec: Self::Rec,
        clocks: &CoreClocks
    ) -> Sdmmc<SDMMC>
    where
        PINS: Pins<SDMMC>
;
fn sdmmc_unchecked(
        self,
        bus_width: BusWidth,
        prec: Self::Rec,
        clocks: &CoreClocks
    ) -> Sdmmc<SDMMC>; }

Extension trait for SDMMC peripherals

Associated Types

type Rec: ResetEnable

The ResetEnable singleton for this peripheral

Loading content...

Required methods

fn sdmmc<PINS>(
    self,
    _pins: PINS,
    prec: Self::Rec,
    clocks: &CoreClocks
) -> Sdmmc<SDMMC> where
    PINS: Pins<SDMMC>, 

Create and enable the Sdmmc device. Initially the bus is clocked at <400kHz, so that SD cards can be initialised.

fn sdmmc_unchecked(
    self,
    bus_width: BusWidth,
    prec: Self::Rec,
    clocks: &CoreClocks
) -> Sdmmc<SDMMC>

Create and enable the Sdmmc device. Initially the bus is clocked <400kHz, so that SD cards can be initialised. bus_width is the bus width to configure on this interface.

Loading content...

Implementations on Foreign Types

impl SdmmcExt<SDMMC1> for SDMMC1[src]

type Rec = Sdmmc1

impl SdmmcExt<SDMMC2> for SDMMC2[src]

type Rec = Sdmmc2

Loading content...

Implementors

Loading content...