The DlnI2cSlaveGetSupportedEventTypes() function returns all supported I2C slave event types for opened DLN-series adapter.
DlnI2cSlaveGetSupportedEventTypes()
DLN_RESULT DlnI2cSlaveGetSupportedEventTypes( HDLN handle, uint8_t port, DLN_I2C_SLAVE_EVENT_TYPES *supportedEventTypes );
A handle to the DLN-series adapter.
I2C slave port number.
The pointer to DLN_I2C_SLAVE_EVENT_TYPES structure that receives the supported event types.
DLN_I2C_SLAVE_EVENT_TYPES
The function successfully retrieved the supported I2C slave events.
The port number is not valid. Use the DlnI2cSlaveGetPortCount() function to find the maximum possible port number.
The DlnI2cSlaveGetSupportedEventTypes() function is defined in dln_spi_slave.h file.
dln_spi_slave.h