1.28.22.18 SDMMCx_BusWidthSet Function
C
/* x = SDMMC instance number */ void SDMMCx_BusWidthSet ( SDMMC_BUS_WIDTH busWidth )
Summary
Configures the width of the data bus.
Description
This function configures the data bus width to either 1 bit or 4 bit mode.
Precondition
SDMMCx_Initialize() must have been called first for the associated instance.
Parameters
Param | Description |
---|---|
busWidth | Width of the data bus as defined by the SDMMC_BUS_WIDTH enum |
Returns
None.
Example
SDMMC1_BusWidthSet(SDMMC_BUS_WIDTH_4_BIT);
Remarks
None.