Intel® Quark™ Microcontroller Software Interface 1.4.0 Intel® Quark™ Microcontroller BSP

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
qm_ss_spi_transfer_t Struct Reference
SS SPI

SPI synchronous transfer type. More...

`#include <qm_ss_spi.h>`

## Data Fields
void * | tx
| Write data. More...
void * | rx
| Read data. More...
uint16_t | tx_len
| Number of data frames to write. More...
uint16_t | rx_len
| Number of data frames to read. More...

## Detailed Description

SPI synchronous transfer type.

If the frame size is 8 bits or less, 1 byte is needed per data frame. If the frame size is 9-16 bits, 2 bytes are needed per data frame and frames of more than 16 bits require 4 bytes. In each case, the least significant bits are sent while the extra bits are discarded. The most significant bits of the frame are sent first.

Definition at line 185 of file qm_ss_spi.h.

## Field Documentation

void* qm_ss_spi_transfer_t::rx

Read data.

Definition at line 187 of file qm_ss_spi.h.

Referenced by qm_ss_spi_transfer().

uint16_t qm_ss_spi_transfer_t::rx_len

Number of data frames to read.

Definition at line 189 of file qm_ss_spi.h.

Referenced by qm_ss_spi_transfer().

void* qm_ss_spi_transfer_t::tx

Write data.

Definition at line 186 of file qm_ss_spi.h.

Referenced by qm_ss_spi_transfer().

uint16_t qm_ss_spi_transfer_t::tx_len

Number of data frames to write.

Definition at line 188 of file qm_ss_spi.h.

Referenced by qm_ss_spi_transfer().