The DlnSpiMasterGetPortCount() function retrieves the total number of SPI master ports available in your DLN-series adapter.
A handle to the DLN-series adapter.
A pointer to an unsigned 8-bit integer that receives the number of available SPI master ports.
The operation completed successfully and total number of SPI master ports were retrieved.
The DlnSpiMasterGetPortCount() function is defined in the dln_spi_master.h file.