The DlnSpiMasterGetFrameSize() function retrieves the current size setting for SPI data frame.
DlnSpiMasterGetFrameSize()
DLN_RESULT DlnSpiMasterGetFrameSize( HDLN handle, uint8_t port, uint8_t* frameSize );
A handle to the DLN-series adapter.
A number of the SPI master port.
A number of bits to be transmitted in a single frame. The DLN-series adapters support 8 to 16 bits per transmission.
The function successfully retrieved the SPI data frame size.
The port number is not valid. Use the DlnSpiMasterGetPortCount() [1] function to find the maximum possible port number.
The DlnSpiMasterGetFrameSize() function is defined in the dln_spi_master.h file.
dln_spi_master.h
Links:[1] http://dlnware.com/dll/DlnSpiMasterGetPortCount