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 |
|
|---|---|
HwRegsPtr |
|
void * |
UserArgsPtr |
TxCurrentState |
|
RxCurrentState |
|
const uint8 * |
TxBufferPtr |
TxSizeInBytes |
|
TxRemainingSizeInBytes |
|
uint8 * |
RxBufferPtr |
RxSizeInBytes |
|
RxRemainingSizeInBytes |
|
DMA_Regs * |
RxDmaInstance |
RxDmaChannel |
|
DMA_Regs * |
TxDmaInstance |
TxDmaChannel |
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.