SetClkFreq() - SPI BSP

void  FSDev_BSP_SPI_SetClkFreq (FS_QTY      unit_nbr,
                                CPU_INT32U  freq);

File

Called from

Code enabled by

fs_dev_<dev_name>_bsp.c

Device driver

N/A

Set SPI clock frequency.

Arguments

unit_nbr

Unit number of device.

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.