DlnSpiMasterGetFrequency() Function

 DLN_RESULT DlnSpiMasterGetFrequency(
    HDLN handle,
    uint8_t port,
    uint32_t* frequency
 );

The DlnSpiMasterGetFrequency() function retrieves current setting for SPI clock frequency.

Parameters:

handle
A handle to the DLN-series adapter.
port
A number of the SPI master port to retrieve the information from.
frequency
A pointer to an unsigned 32-bit integer. This integer will be filled with current SPI clock frequency value in Hz after the function execution.

This function is defined in the dln_spi_master.h file.