DlnSpiMasterGetMode() Function
DLN_RESULT DlnSpiMasterGetMode(
HDLN handle,
uint8_t port,
uint8_t* mode
);
The DlnSpiMasterGetMode() function retrieves current configuration of the specified SPI master port.
Parameters:
- handle
- A handle to the DLN-series adapter.
- port
- A number of the SPI master port to retrieve the information from.
- mode
- A pointer to an unsigned 8 bit integer. This integer will be filled with the SPI mode description after the function execution. See DlnSpiMasterSetMode() for details.
This function is defined in the dln_spi_master.h file.
2006-2012