Uart_Hal_InstanceType

Module: HAL (AM13E232X) API / UART HAL API

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

#include <Uart_Hal.h>

Public Attributes

Name

DL_UNICOMM_Inst_Regs *

HwRegsPtr
Pointer to UART HW registers.

void *

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

Uart_Hal_StateType

TxCurrentState
Holds the current state of the Uart TX Module.

Uart_Hal_StateType

RxCurrentState
Holds the current state of the Uart RX Module.

const uint8 *

TxBufferPtr
Holds pointer to the tx buffer.

uint32

TxSizeInBytes
Size of data that needs to be TX’ed.

uint32

TxRemainingSizeInBytes
Holds the remaining bytes to be sent of tx Buffer.

uint8 *

RxBufferPtr
Holds pointer to the rx buffer.

uint32

RxSizeInBytes
Size of data that needs to be RX’ed.

uint32

RxRemainingSizeInBytes
Holds the remaining bytes to be sent of rx Buffer.

DMA_Regs *

RxDmaInstance
Select DMA instance for RX.

uint32

RxDmaChannel
Select DMA channel for RX.

DMA_Regs *

TxDmaInstance
Select DMA instance for TX.

uint32

TxDmaChannel
Select DMA channel for TX.

Public Attributes Documentation

variable HwRegsPtr

DL_UNICOMM_Inst_Regs * HwRegsPtr;

Pointer to UART HW registers.

variable UserArgsPtr

void * UserArgsPtr;

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

variable TxCurrentState

Uart_Hal_StateType TxCurrentState;

Holds the current state of the Uart TX Module.

variable RxCurrentState

Uart_Hal_StateType RxCurrentState;

Holds the current state of the Uart RX Module.

variable TxBufferPtr

const uint8 * TxBufferPtr;

Holds pointer to the tx buffer.

variable TxSizeInBytes

uint32 TxSizeInBytes;

Size of data that needs to be TX’ed.

variable TxRemainingSizeInBytes

uint32 TxRemainingSizeInBytes;

Holds the remaining bytes to be sent of tx Buffer.

variable RxBufferPtr

uint8 * RxBufferPtr;

Holds pointer to the rx buffer.

variable RxSizeInBytes

uint32 RxSizeInBytes;

Size of data that needs to be RX’ed.

variable RxRemainingSizeInBytes

uint32 RxRemainingSizeInBytes;

Holds the remaining bytes to be sent of rx Buffer.

variable RxDmaInstance

DMA_Regs * RxDmaInstance;

Select DMA instance for RX.

variable RxDmaChannel

uint32 RxDmaChannel;

Select DMA channel for RX.

variable TxDmaInstance

DMA_Regs * TxDmaInstance;

Select DMA instance for TX.

variable TxDmaChannel

uint32 TxDmaChannel;

Select DMA channel for TX.