FSDev_SD_Card_BSP_SetBusWidth()

void  FSDev_SD_Card_BSP_SetBusWidth (FS_QTY      unit_nbr,
                                     CPU_INT08U  width);

File

Called from

Code enabled by

fs_dev_sd_card_bsp.c

FSDev_SD_Card_Refresh(),

FSDev_SD_Card_SetBusWidth()

N/A

Set bus width.

Arguments

unit_nbr

Unit number of SD/MMC card.

width

Bus width, in bits.

Returned Value

None.

Notes/Warnings

None.

Example

The implementation of FSDev_SD_Card_BSP_SetBusWidth() in the listing below is targeted for the same host controller as the other listings in this chapter; for more information, see FSDev_SD_Card_BSP_CmdStart().