The DlnSpiFlashGetFrequency() function retrieves the current setting for SPI clock frequency.
DlnSpiFlashGetFrequency()
DLN_RESULT DlnSpiFlashGetFrequency( HDLN handle, uint8_t port, uint32_t *frequency );
A handle to the DLN-series adapter.
A number of the SPI flash port.
A pointer to an unsigned 32-bit integer that receives the current SPI clock frequency value in Hz.
The function successfully retrieved the current clock frequency.
The port number is not valid. Use the DlnSpiFlashGetPortCount() function to find the maximum possible port number.
The DlnSpiFlashGetFrequency() function is defined in the dln_spi_flash.h file.
dln_spi_flash.h