RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Data Fields

SPI transfer message. More...

#include <spidev.h>

Data Fields

void * rx_buf
 Buffer for receive data.
 
const void * tx_buf
 Buffer for transmit data.
 
size_t len
 Length of receive and transmit buffers in bytes.
 
uint32_t speed_hz
 Sets the bit-rate of the device.
 
uint16_t delay_usecs
 Sets the delay after a transfer before the chip select status is changed and the next transfer is triggered.
 
uint8_t bits_per_word
 Sets the device wordsize.
 
uint8_t cs_change
 If true, device is deselected after transfer ended and before a new transfer is started.
 
uint8_t rx_nbits
 Amount of bits that are used for reading.
 
uint8_t tx_nbits
 Amount of bits that are used for writing.
 
uint32_t mode
 Sets one of the possible modes that can be used for SPI transfers (dependent on clock phase and polarity).
 
uint8_t cs
 Indicates which device is currently used.
 

Detailed Description

SPI transfer message.


The documentation for this struct was generated from the following file: