1.32.25.18 SDHCx_BusWidthSet Function
C
/* x = SDHC instance number (x is applicable only on devices with more than one instances of SDHC) */ void SDHCx_BusWidthSet ( SDHC_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
SDHCx_Initialize() must have been called first for the associated instance.
Parameters
Param | Description |
---|---|
busWidth | Width of the data bus as defined by the SDHC_BUS_WIDTH enum |
Returns
None.
Example
SDHC1_BusWidthSet(SDHC_BUS_WIDTH_4_BIT);
Remarks
None.