FSDev_SD_Card_BSP_SetClkFreq()

void  FSDev_SD_Card_BSP_SetClkFreq (FS_QTY      unit_nbr,
                                    CPU_INT32U  freq);

File

Called from

Code enabled by

fs_dev_sd_card_bsp.c

FSDev_SD_Card_Refresh()

N/A

Set clock frequency.

Arguments

unit_nbr

Unit number of SD/MMC card.

freq

Clock frequency, in Hz.

Returned Value

None.

Notes/Warnings

  1. The effective clock frequency must be no more than freq. If the frequency cannot be configured equal to freq, it should be configured less than freq.