DlnSpiMasterSetDelayAfterSS() Function

 DLN_RESULT DlnSpiMasterSetDelayAfterSS(
    HDLN handle,
    uint8_t port,
    uint32_t delayAfterSS,
    uint32_t* actualDelayAfterSS
 );

The DlnSpiMasterSetDelayAfterSS() function sets a delay duration between assertion of an SS line and first data frame.

Parameters:

handle
A handle to the DLN-series adapter.
port
A number of the SPI master port to be configured.
delayAfterSS

The delay value in nanoseconds. In case a user specifies an unsupported value, it will be approximated as the closest higher supported value.

In case a user sets a 0ns delay time, the actual delay will be equal to 1/2 of the SPI clock frequency, specified using the DlnSpiMasterSetFrequency() function.

actualDelayAfterSS
Actual set delay value in nanoseconds.

This function is defined in the dln_spi_master.h file.