DlnSpiMasterSetSS() Function
DLN_RESULT DlnSpiMasterSetSS(
HDLN handle,
uint8_t port,
uint8_t ss
);
The DlnSpiMasterSetSS() function selects a Slave Select (SS) line.
Parameters:
- handle
- A handle to the DLN-series adapter.
- port
- A number of the SPI master port to be configured.
- ss
-
The value on the SS lines. The bits 4-7 are reserved and must be set to 1. See SS Line Decoding for details.
If you expect slaves to output data, you must ensure that only one slave is activated. If several slaves start outputting data simultaneously, the equipment can be damaged.
This function is defined in the dln_spi_master.h file.
2006-2012