The DlnI2cSlaveGetPortCount() function retrieves the total number of I2C slave ports available in your DLN-series adapter.
DlnI2cSlaveGetPortCount()
DLN_RESULT DlnI2cSlaveGetPortCount( HDLN handle, uint8_t* count );
A handle to the DLN-series adapter.
A pointer to an unsigned 8-bit integer that receives the number of available I2C slave ports.
The function successfully retrieved the number of I2C slave ports.
The DlnI2cSlaveGetPortCount() function is defined in the dln_i2c_slave.h file.
dln_i2c_slave.h