DlnSpiSlaveGetEvent() Function

 DLN_RESULT DlnSpiSlaveGetEvent(
    HDLN handle,
    uint8_t port,
    uint8_t* eventType,
    uint16_t* bufferSize
 );

The DlnSpiSlaveGetEvent() function retrieves event generation conditions for the specified SPI slave port.

Parameters:

handle
A handle to the DLN-series adapter.
port
A number of the SPI slave port to be used.
eventType
A pointer to an unsigned 8-bit integer. The integer will be filled with current event generation conditions for the specified SPI slave port.
bufferSize
A pointer to an unsigned 16-bit integer. The integer will be filled with current buffer size.

This function is defined in the dln_spi_slave.h file.