FSDev_SD_Card_BSP_GetBusWidthMax()

CPU_INT08U FSDev_SD_Card_BSP_GetBusWidthMax (FS_QTY unit_nbr);

File

Called from

Code enabled by

fs_dev_sd_card_bsp.c

FSDev_SD_Card_Refresh()

N/A

Get maximum bus width, in bits.

Arguments

unit_nbr

Unit number of SD/MMC card.

Returned Value

Maximum bus width.

Notes/Warnings

  1. Legal values are typically 1, 4 and 8.
  2. This function should always return the same value. If hardware constraints change at run-time, the device must be closed and re-opened for any changes to be effective.