[−][src]Trait stm32h7_sdmmc::SdmmcExt
Extension trait for SDMMC peripherals
Associated Types
type Rec: ResetEnable
The ResetEnable
singleton for this peripheral
Required methods
fn sdmmc<PINS>(
self,
_pins: PINS,
prec: Self::Rec,
clocks: &CoreClocks
) -> Sdmmc<SDMMC> where
PINS: Pins<SDMMC>,
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>
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.
Implementations on Foreign Types
impl SdmmcExt<SDMMC1> for SDMMC1
[src]
type Rec = Sdmmc1
fn sdmmc<PINS>(
self,
_pins: PINS,
prec: Sdmmc1,
clocks: &CoreClocks
) -> Sdmmc<SDMMC1> where
PINS: Pins<SDMMC1>,
[src]
self,
_pins: PINS,
prec: Sdmmc1,
clocks: &CoreClocks
) -> Sdmmc<SDMMC1> where
PINS: Pins<SDMMC1>,
fn sdmmc_unchecked(
self,
bus_width: BusWidth,
prec: Sdmmc1,
clocks: &CoreClocks
) -> Sdmmc<SDMMC1>
[src]
self,
bus_width: BusWidth,
prec: Sdmmc1,
clocks: &CoreClocks
) -> Sdmmc<SDMMC1>
impl SdmmcExt<SDMMC2> for SDMMC2
[src]
type Rec = Sdmmc2
fn sdmmc<PINS>(
self,
_pins: PINS,
prec: Sdmmc2,
clocks: &CoreClocks
) -> Sdmmc<SDMMC2> where
PINS: Pins<SDMMC2>,
[src]
self,
_pins: PINS,
prec: Sdmmc2,
clocks: &CoreClocks
) -> Sdmmc<SDMMC2> where
PINS: Pins<SDMMC2>,
fn sdmmc_unchecked(
self,
bus_width: BusWidth,
prec: Sdmmc2,
clocks: &CoreClocks
) -> Sdmmc<SDMMC2>
[src]
self,
bus_width: BusWidth,
prec: Sdmmc2,
clocks: &CoreClocks
) -> Sdmmc<SDMMC2>