The DlnSpiSlaveGetFrameSize() function retrieves the current size setting for SPI data frames.
DlnSpiSlaveGetFrameSize()
DLN_RESULT DlnSpiSlaveGetFrameSize( HDLN handle, uint8_t port, uint8_t* frameSize );
A handle to the DLN-series adapter.
A number of the SPI slave port.
A pointer to unsigned 8-bit integer that receives the number of bits transmitted in a single frame. The DLN-series adapter supports 8 to 16 bits per frame.
The function successfully retrieved the current frame size.
The port number is not valid. Use the DlnSpiSlaveGetPortCount() function to find the maximum possible port number.
The DlnSpiSlaveGetFrameSize() function is defined in the dln_spi_slave.h file.
dln_spi_slave.h