Spi_Hal_InstanceType
Module: HAL (AM13E232X) API / SPI HAL API
SPI HW instance structure. Should not be modified by application directly.
#include <Spi_Hal.h>
Public Attributes
Name |
|
|---|---|
HwRegsPtr |
|
void * |
UserArgsPtr |
State |
|
uint8 * |
TxBufferPtr |
uint8 * |
RxBufferPtr |
RemainingTXSize |
|
RemainingRXSize |
|
DataWidth |
|
DMA_Regs * |
TxDmaInstance |
TxDmaChannel |
|
DMA_Regs * |
RxDmaInstance |
RxDmaChannel |
|
ErrorCodeMask |
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.