The DlnSpiSlaveGetEventSize() function retrieves value of current event buffer size.
DlnSpiSlaveGetEventSize()
DLN_RESULT DlnSpiSlaveGetEventSize( HDLN handle, uint8_t port, uint16_t *size );
A handle to the DLN-series adapter.
A number of the SPI slave port to retrieve the SPI buffer size value from.
A pointer to an unsigned 16 bit integer that receives the current event buffer size value. The value varies from 1 to 256.
The function successfully retrieved the current event buffer size.
The port number is not valid. Use the DlnSpiSlaveGetPortCount() function to find the maximum possible port number.
The DlnSpiSlaveGetEventSize() function is defined in dln_spi_slave.h file.
dln_spi_slave.h