RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Data Fields
_lpspi_master_handle Struct Reference

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

#include <fsl_lpspi.h>

Data Fields

volatile bool isPcsContinuous
 
volatile bool writeTcrInIsr
 
volatile bool isByteSwap
 
volatile bool isTxMask
 
volatile uint16_t bytesPerFrame
 
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
 
uint32_t txBuffIfNull
 
volatile uint8_t state
 
lpspi_master_transfer_callback_t callback
 
void * userData
 

Detailed Description

LPSPI master transfer handle structure used for transactional API.

Field Documentation

◆ bytesEachRead

volatile uint8_t _lpspi_master_handle::bytesEachRead

Bytes for each read RDR.

◆ bytesEachWrite

volatile uint8_t _lpspi_master_handle::bytesEachWrite

Bytes for each write TDR.

◆ bytesPerFrame

volatile uint16_t _lpspi_master_handle::bytesPerFrame

Number of bytes in each frame

◆ callback

lpspi_master_transfer_callback_t _lpspi_master_handle::callback

Completion callback.

◆ fifoSize

volatile uint8_t _lpspi_master_handle::fifoSize

FIFO dataSize.

◆ isByteSwap

volatile bool _lpspi_master_handle::isByteSwap

A flag that whether should byte swap.

◆ isPcsContinuous

volatile bool _lpspi_master_handle::isPcsContinuous

Is PCS continuous in transfer.

◆ isTxMask

volatile bool _lpspi_master_handle::isTxMask

A flag that whether TCR[TXMSK] is set.

◆ readRegRemainingTimes

volatile uint32_t _lpspi_master_handle::readRegRemainingTimes

Read RDR register remaining times.

◆ rxData

uint8_t* volatile _lpspi_master_handle::rxData

Receive buffer.

◆ rxRemainingByteCount

volatile size_t _lpspi_master_handle::rxRemainingByteCount

Number of bytes remaining to receive.

◆ rxWatermark

volatile uint8_t _lpspi_master_handle::rxWatermark

Rx watermark.

◆ state

volatile uint8_t _lpspi_master_handle::state

LPSPI transfer state , _lpspi_transfer_state.

◆ totalByteCount

uint32_t _lpspi_master_handle::totalByteCount

Number of transfer bytes

◆ txBuffIfNull

uint32_t _lpspi_master_handle::txBuffIfNull

Used if the txData is NULL.

◆ txData

uint8_t* volatile _lpspi_master_handle::txData

Send buffer.

◆ txRemainingByteCount

volatile size_t _lpspi_master_handle::txRemainingByteCount

Number of bytes remaining to send.

◆ userData

void* _lpspi_master_handle::userData

Callback user data.

◆ writeRegRemainingTimes

volatile uint32_t _lpspi_master_handle::writeRegRemainingTimes

Write TDR register remaining times.

◆ writeTcrInIsr

volatile bool _lpspi_master_handle::writeTcrInIsr

A flag that whether should write TCR in ISR.


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