Changes

Jump to: navigation, search

SBCX-TN-001: Android Things and SPI bus

1 byte removed, 13:21, 11 April 2018
Transferring data
To communicate with the device the following methods are available
*<code> void WriteByte(byte symbol)</code> For : to transfer a byte without reading the response from the device.*<code> void WriteBuffer(byte[] data, int len)</code> For : to transfer a buffer to the device without processing the response.*<code> void Transfer(byte[] tx_data, byte[] rx_data, int len)</code> For : to transfer a buffer smaller than the length of the receiving one.*<code> void Transfer(byte[] tx_data, byte[] rx_data) </code> For : to transfer and read a buffer with the same length.*<code> void Transfer(byte symbol, byte[] rx_data, int len)</code> For : to transfer a byte and read a buffer of length ''len''.
<pre>
4,650
edits

Navigation menu