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