The DlnSpiMasterGetSSCount() function returns the available number of SS lines.
DlnSpiMasterGetSSCount()
DLN_RESULT DlnSpiMasterGetSSCount( HDLN handle, uint8_t port, uint16_t *count );
A handle to the DLN-series adapter.
A number of the SPI master port.
The pointer to uint16_t type variable that receives the number of available SS lines.
uint16_t
The function successfully retrieved the number of SS lines.
The port number is not valid. Use the DlnSpiMasterGetPortCount() function to find the maximum possible port number.
The DlnSpiMasterGetSSCount() function is defined in the dln_spi_master.h file.
dln_spi_master.h