<spi_write count="count" radix="radix"> message </spi_write>
Write a stream of bytes to the downstream SPI slave device and read back the full-duplex response.
Parameters
Details
If count is 0, no bytes will be written to the slave. However, the slave select line will be dropped for 5-10 microseconds. This can be useful in sending a signal to a downstream SPI slave without actually sending any bytes. For example, if an SPI slave has tied the slave select to an interrupt line and it sees the line is toggled without any bytes sent, it can interpret the action as a command to prepare its firmware for an subsequent reception of bytes.
Please see the Aardvark I2C/SPI Embedded Systems Interface Datasheet for more information.