DlnI2cSlaveGeneralCallIsEnabled() Function

 DLN_RESULT DlnI2cSlaveGeneralCallIsEnabled(
    HDLN handle,
    uint8_t port,
    uint8_t* enabled
 );

The DlnI2cSlaveGeneralCallIsEnabled() function checks whether I2C general call support is enabled for the specified I2C slave port or not.

Parameters:

handle
A handle to the DLN-series adapter.
port
A number of the I2C slave port to retrieve the general call support information from.
enabled
A pointer to an unsigned 8-bit integer. The integer will be filled with information whether general call support is enabled or not. There are two possible values:
DLN_I2C_SLAVE_GENERAL_CALL_DISABLED (0) I2C slave port will ignore the general call address
DLN_I2C_SLAVE_GENERAL_CALL_ENABLED (1) general call addressing is enabled for the specifies I2C slave port

This function is defined in the dln_i2c_slave.h file.