DlnSpiMasterGetFrameSize() Function

Syntax

C/C++
 DLN_RESULT DlnSpiMasterGetFrameSize(
    HDLN handle,
    uint8_t port,
    uint8_t* frameSize
 );
     

The DlnSpiMasterGetFrameSize() function retrieves current size setting for SPI data frame.

Parameters:

handle
A handle to the DLN-series adapter.
port
A number of the SPI master port to retrieve the information from.
frameSize
A number of bits to be transferred in a single frame. The DLN-series adapter supports 8 to 16 bits per transfer.

This function is defined in the dln_spi_master.h file.