Uart_Hal_InitParamsType

Module: HAL (AM13E230X) API / UART HAL API

UART HW initialization parameters.

#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_ParityType

Parity
The parity configuration.

Uart_Hal_DataSizeType

WordLength
The size of the data transfer.

Uart_Hal_StopBitsType

StopBits
Stop bits.

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.

DL_UART_CLOCK_DIVIDE_RATIO

DivideRatio
Selects the divide ratio.

uint32

RxInterruptTimeoutTicks
wait for this amount before RX timeout

boolean

LoopbackEnable
set to TRUE to enable internal loopback

uint32

BaudRateBps
Baudrate.

uint32

InputClockHz
Clock given to Uart Module.

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 Parity

Uart_Hal_ParityType Parity;

The parity configuration.

variable WordLength

Uart_Hal_DataSizeType WordLength;

The size of the data transfer.

variable StopBits

Uart_Hal_StopBitsType StopBits;

Stop bits.

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.

variable DivideRatio

DL_UART_CLOCK_DIVIDE_RATIO DivideRatio;

Selects the divide ratio.

variable RxInterruptTimeoutTicks

uint32 RxInterruptTimeoutTicks;

wait for this amount before RX timeout

variable LoopbackEnable

boolean LoopbackEnable;

set to TRUE to enable internal loopback

variable BaudRateBps

uint32 BaudRateBps;

Baudrate.

variable InputClockHz

uint32 InputClockHz;

Clock given to Uart Module.