DlnI2cSlaveGetPortCount() Function

 DLN_RESULT DlnI2cSlaveGetPortCount(
    HDLN handle,
    uint8_t* count
 );

The DlnI2cSlaveGetPortCount() function retrieves the total number of I2C slave ports available in your DLN-series adapter.

Parameters:

handle
A handle to the DLN-series adapter.
count
A pointer to an unsigned 8-bit integer. This integer will be filled with the number of available I2C slave ports after the function execution.

This function is defined in the dln_i2c_slave.h file.