The DlnSpiMasterSetCpha() function allows to set clock phase (CPHA) value.
DlnSpiMasterSetCpha()
DLN_RESULT DlnSpiMasterSetCpha( HDLN handle, uint8_t port, uint8_t cpha );
A handle to the DLN-series adapter.
A number of the selected SPI master port.
The clock phase value. Can be 0 or 1.
The function successfully configured the SPI master CPHA value.
The port number is not valid. Use the DlnSpiMasterGetPortCount() [1] function to find the maximum possible port number.
By default, SPI master ports of DLN adapters have CPHA=0 configuration.
The DlnSpiMasterSetCpha() function is defined in the dln_spi_master.h file.
dln_spi_master.h
Links:[1] http://dlnware.com/dll/DlnSpiMasterGetPortCount