Uart_Hal_InitParamsType
Module: HAL (AM13E232X) API / UART HAL API
UART HW initialization parameters.
#include <Uart_Hal.h>
Public Attributes
Name |
|
|---|---|
HwRegsPtr |
|
void * |
UserArgsPtr |
Parity |
|
WordLength |
|
StopBits |
|
DMA_Regs * |
RxDmaInstance |
RxDmaChannel |
|
DMA_Regs * |
TxDmaInstance |
TxDmaChannel |
|
DivideRatio |
|
RxInterruptTimeoutTicks |
|
LoopbackEnable |
|
BaudRateBps |
|
InputClockHz |
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.