rusEFI
The most advanced open source ECU
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>

Collaboration diagram for _lpspi_master_handle:
Collaboration graph
[legend]

Data Fields

volatile bool isPcsContinuous
 
volatile bool writeTcrInIsr
 
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
 
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.

Definition at line 349 of file fsl_lpspi.h.

Field Documentation

◆ bytesEachRead

volatile uint8_t _lpspi_master_handle::bytesEachRead

Bytes for each read RDR.

Definition at line 361 of file fsl_lpspi.h.

Referenced by LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().

◆ bytesEachWrite

volatile uint8_t _lpspi_master_handle::bytesEachWrite

Bytes for each write TDR.

Definition at line 360 of file fsl_lpspi.h.

Referenced by LPSPI_MasterTransferFillUpTxFifo(), and LPSPI_MasterTransferNonBlocking().

◆ callback

lpspi_master_transfer_callback_t _lpspi_master_handle::callback

Completion callback.

Definition at line 377 of file fsl_lpspi.h.

Referenced by LPSPI_MasterTransferComplete(), and LPSPI_MasterTransferCreateHandle().

◆ fifoSize

volatile uint8_t _lpspi_master_handle::fifoSize

◆ isByteSwap

volatile bool _lpspi_master_handle::isByteSwap

A flag that whether should byte swap.

Definition at line 354 of file fsl_lpspi.h.

Referenced by LPSPI_MasterTransferFillUpTxFifo(), LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().

◆ isPcsContinuous

volatile bool _lpspi_master_handle::isPcsContinuous

Is PCS continuous in transfer.

Definition at line 351 of file fsl_lpspi.h.

Referenced by LPSPI_MasterTransferFillUpTxFifo(), LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().

◆ readRegRemainingTimes

volatile uint32_t _lpspi_master_handle::readRegRemainingTimes

Read RDR register remaining times.

Definition at line 369 of file fsl_lpspi.h.

Referenced by LPSPI_MasterTransferFillUpTxFifo(), LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().

◆ rxData

uint8_t* volatile _lpspi_master_handle::rxData

◆ rxRemainingByteCount

volatile size_t _lpspi_master_handle::rxRemainingByteCount

Number of bytes remaining to receive.

Definition at line 366 of file fsl_lpspi.h.

Referenced by LPSPI_MasterTransferAbort(), LPSPI_MasterTransferGetCount(), LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().

◆ rxWatermark

volatile uint8_t _lpspi_master_handle::rxWatermark

Rx watermark.

Definition at line 358 of file fsl_lpspi.h.

Referenced by LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().

◆ state

volatile uint8_t _lpspi_master_handle::state

LPSPI transfer state , _lpspi_transfer_state.

Definition at line 375 of file fsl_lpspi.h.

Referenced by LPSPI_MasterTransferAbort(), LPSPI_MasterTransferComplete(), LPSPI_MasterTransferGetCount(), and LPSPI_MasterTransferNonBlocking().

◆ totalByteCount

uint32_t _lpspi_master_handle::totalByteCount

Number of transfer bytes

Definition at line 371 of file fsl_lpspi.h.

Referenced by LPSPI_MasterTransferGetCount(), and LPSPI_MasterTransferNonBlocking().

◆ txBuffIfNull

uint32_t _lpspi_master_handle::txBuffIfNull

Used if the txData is NULL.

Definition at line 373 of file fsl_lpspi.h.

Referenced by LPSPI_MasterTransferFillUpTxFifo(), and LPSPI_MasterTransferNonBlocking().

◆ txData

uint8_t* volatile _lpspi_master_handle::txData

Send buffer.

Definition at line 363 of file fsl_lpspi.h.

Referenced by LPSPI_MasterTransferFillUpTxFifo(), and LPSPI_MasterTransferNonBlocking().

◆ txRemainingByteCount

volatile size_t _lpspi_master_handle::txRemainingByteCount

◆ userData

void* _lpspi_master_handle::userData

Callback user data.

Definition at line 378 of file fsl_lpspi.h.

Referenced by LPSPI_MasterTransferComplete(), and LPSPI_MasterTransferCreateHandle().

◆ writeRegRemainingTimes

volatile uint32_t _lpspi_master_handle::writeRegRemainingTimes

Write TDR register remaining times.

Definition at line 368 of file fsl_lpspi.h.

Referenced by LPSPI_MasterTransferFillUpTxFifo(), and LPSPI_MasterTransferNonBlocking().

◆ writeTcrInIsr

volatile bool _lpspi_master_handle::writeTcrInIsr

A flag that whether should write TCR in ISR.

Definition at line 352 of file fsl_lpspi.h.

Referenced by LPSPI_MasterTransferFillUpTxFifo(), LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().


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