Spi_Hal_InstanceType

Module: HAL (AM13E230X) API / SPI HAL API

SPI HW instance structure. Should not be modified by application directly.

#include <Spi_Hal.h>

Public Attributes

Name

DL_UNICOMM_Inst_Regs *

HwRegsPtr
Pointer to SPI HW registers.

void *

UserArgsPtr
Pointer to user arguments, returned back to user when any SPI callback is called.

Spi_Hal_StateType

State
SPI state.

uint8 *

TxBufferPtr
buffer from which Transfer sends the data

uint8 *

RxBufferPtr
buffer into which Transfer receives the data

uint32

RemainingTXSize
Size of data that is remaining to be sent.

uint32

RemainingRXSize
Size of data that is remaining to be read.

Spi_Hal_DataWidthType

DataWidth
Data Width.

DMA_Regs *

TxDmaInstance
Select DMA instance for TX.

uint8

TxDmaChannel
Select DMA channel for TX.

DMA_Regs *

RxDmaInstance
Select DMA instance for RX.

uint8

RxDmaChannel
Select DMA channel for RX.

uint32

ErrorCodeMask
Error code, this is a bit mask of errors, 0 means no error.

Public Attributes Documentation

variable HwRegsPtr

DL_UNICOMM_Inst_Regs * HwRegsPtr;

Pointer to SPI HW registers.

variable UserArgsPtr

void * UserArgsPtr;

Pointer to user arguments, returned back to user when any SPI callback is called.

variable State

Spi_Hal_StateType State;

SPI state.

variable TxBufferPtr

uint8 * TxBufferPtr;

buffer from which Transfer sends the data

variable RxBufferPtr

uint8 * RxBufferPtr;

buffer into which Transfer receives the data

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.

variable DataWidth

Spi_Hal_DataWidthType DataWidth;

Data Width.

variable TxDmaInstance

DMA_Regs * TxDmaInstance;

Select DMA instance for TX.

variable TxDmaChannel

uint8 TxDmaChannel;

Select DMA channel for TX.

variable RxDmaInstance

DMA_Regs * RxDmaInstance;

Select DMA instance for RX.

variable RxDmaChannel

uint8 RxDmaChannel;

Select DMA channel for RX.

variable ErrorCodeMask

uint32 ErrorCodeMask;

Error code, this is a bit mask of errors, 0 means no error.