SPI Slave Commands and Responses
The following commands and responses are used to control and monitor the SPI Slave module of a DLN-series adapter.
| Command/Response | Description |
|---|---|
| DLN_SPI_SLAVE_GET_PORT_COUNT | Retrieves the number of SPI slave ports available in your DLN-series adapter. |
| DLN_SPI_SLAVE_ENABLE | Activates the corresponding SPI slave port of your DLN-series adapter. |
| DLN_SPI_SLAVE_DISABLE | Deactivates the specified SPI slave port of your DLN-series adapter. |
| DLN_SPI_SLAVE_IS_ENABLED | Retrieves information, whether the specified SPI slave port is activated or not. |
| DLN_SPI_SLAVE_SET_MODE | Sets SPI transmission parameters (CPOL and CPHA). |
| DLN_SPI_SLAVE_GET_MODE | Retrieves current configuration of an SPI slave port of the DLN-series adapter. |
| DLN_SPI_SLAVE_SET_FRAME_SIZE | Sets the size of a single portion of data transferred via SPI (SPI frame). |
| DLN_SPI_SLAVE_GET_FRAME_SIZE | Retrieves current size setting for a single portion of data transferred via SPI. |
| DLN_SPI_SLAVE_LOAD_REPLY | Loads information to be transferred to an SPI master device. |
| DLN_SPI_SLAVE_SET_EVENT | Configures the event generation conditions for the SPI-slave module of the DLN-series adapter. |
| DLN_SPI_SLAVE_GET_EVENT | Retrieves currently set event generation conditions for the specified SPI-slave port. |
2006-2012