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