The DlnSpiFlashSetFrequency() function sets the clock frequency on the SCK line.
DlnSpiFlashSetFrequency()
DLN_RESULT DlnSpiFlashSetFrequency( HDLN handle, uint8_t port, uint32_t frequency );
A handle to the DLN-series adapter.
A number of the SPI flash port.
SCK line frequency value, specified in Hz. You can specify any value within the range, supported by the DLN-series adapter.
The function successfully configured the clock frequency.
The port number is not valid. Use the DlnSpiFlashGetPortCount() function to find the maximum possible port number.
The DlnSpiFlashSetFrequency() function is defined in dln_spi_flash.h file.
dln_spi_flash.h