RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Data Fields
_lpspi_slave_handle Struct Reference

LPSPI slave transfer handle structure used for transactional API. More...

#include <fsl_lpspi.h>

Data Fields

volatile bool isByteSwap
 
volatile uint8_t fifoSize
 
volatile uint8_t rxWatermark
 
volatile uint8_t bytesEachWrite
 
volatile uint8_t bytesEachRead
 
uint8_t *volatile txData
 
uint8_t *volatile rxData
 
volatile size_t txRemainingByteCount
 
volatile size_t rxRemainingByteCount
 
volatile uint32_t writeRegRemainingTimes
 
volatile uint32_t readRegRemainingTimes
 
uint32_t totalByteCount
 
volatile uint8_t state
 
volatile uint32_t errorCount
 
lpspi_slave_transfer_callback_t callback
 
void * userData
 

Detailed Description

LPSPI slave transfer handle structure used for transactional API.

Field Documentation

◆ bytesEachRead

volatile uint8_t _lpspi_slave_handle::bytesEachRead

Bytes for each read RDR.

◆ bytesEachWrite

volatile uint8_t _lpspi_slave_handle::bytesEachWrite

Bytes for each write TDR.

◆ callback

lpspi_slave_transfer_callback_t _lpspi_slave_handle::callback

Completion callback.

◆ errorCount

volatile uint32_t _lpspi_slave_handle::errorCount

Error count for slave transfer.

◆ fifoSize

volatile uint8_t _lpspi_slave_handle::fifoSize

FIFO dataSize.

◆ isByteSwap

volatile bool _lpspi_slave_handle::isByteSwap

A flag that whether should byte swap.

◆ readRegRemainingTimes

volatile uint32_t _lpspi_slave_handle::readRegRemainingTimes

Read RDR register remaining times.

◆ rxData

uint8_t* volatile _lpspi_slave_handle::rxData

Receive buffer.

◆ rxRemainingByteCount

volatile size_t _lpspi_slave_handle::rxRemainingByteCount

Number of bytes remaining to receive.

◆ rxWatermark

volatile uint8_t _lpspi_slave_handle::rxWatermark

Rx watermark.

◆ state

volatile uint8_t _lpspi_slave_handle::state

LPSPI transfer state , _lpspi_transfer_state.

◆ totalByteCount

uint32_t _lpspi_slave_handle::totalByteCount

Number of transfer bytes

◆ txData

uint8_t* volatile _lpspi_slave_handle::txData

Send buffer.

◆ txRemainingByteCount

volatile size_t _lpspi_slave_handle::txRemainingByteCount

Number of bytes remaining to send.

◆ userData

void* _lpspi_slave_handle::userData

Callback user data.

◆ writeRegRemainingTimes

volatile uint32_t _lpspi_slave_handle::writeRegRemainingTimes

Write TDR register remaining times.


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