SetClkFreq() - SPI BSP
void FSDev_BSP_SPI_SetClkFreq (FS_QTY unit_nbr,
CPU_INT32U freq);
File | Called from | Code enabled by |
---|---|---|
| Device driver | N/A |
Set SPI clock frequency.
Arguments
unit_nbr
Unit number of device.
Returned Value
None.
Notes/Warnings
- 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.