Spi_Hal_TransferStatusType

Module: HAL (AM13E232X) API / SPI HAL API

SPI Transfer status.

#include <Spi_Hal.h>

Public Attributes

Name

boolean

IsTransferComplete
Transfer status.

uint32

ErrorCodeMask
Error code, this is a bit mask of errors, 0 means no error. If an error, it can have a bit mask of the following:

uint32

RemainingTXSize
Size of data that is remaining to be sent.

uint32

RemainingRXSize
Size of data that is remaining to be read.

Public Attributes Documentation

variable IsTransferComplete

boolean IsTransferComplete;

Transfer status.

variable ErrorCodeMask

uint32 ErrorCodeMask;

Error code, this is a bit mask of errors, 0 means no error. If an error, it can have a bit mask of the following:

  • DL_SPI_INTERRUPT_PARITY_ERROR

  • DL_SPI_INTERRUPT_RX_OVERFLOW

  • DL_SPI_INTERRUPT_TX_UNDERFLOW

variable RemainingTXSize

uint32 RemainingTXSize;

Size of data that is remaining to be sent.

variable RemainingRXSize

uint32 RemainingRXSize;

Size of data that is remaining to be read.