DlnI2cMasterGetFrequency() Function

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

The DlnI2cMasterGetFrequency() function retrieves current I2C bus clock frequency.

Parameters:

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

This function is defined in the dln_i2c_master.h file.