DlnSpiSlaveLoadReply() Function
DLN_RESULT DlnSpiSlaveLoadReply(
HDLN handle,
uint8_t port,
uint16_t size,
uint8_t* buffer
);
The DlnSpiSlaveLoadReply() function loads data to be transferred to an SPI-master device.
Parameters:
- handle
- A handle to the DLN-series adapter.
- port
- A number of the SPI-slave port to be used.
- size
- A size of the message buffer. This parameter is specified in bytes. The maximum value is 256 bytes.
- buffer
- A pointer to an array of unsigned 8-bit integers (max 256-elements array). The buffer must contain the data to be sent to an SPI bus master.
This function is defined in the dln_spi_slave.h file.
2006-2012