Uart_Hal_RxStatusType

Module: HAL (AM13E230X) API / UART HAL API

RX status.

#include <Uart_Hal.h>

Public Attributes

Name

uint8 *

BufferPtr
Buffer into which RX is receiving data.

uint32

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

uint32

RemainingSizeInBytes
Size of data that is remaining to be RX’ed.

boolean

IsRxComplete
Is RX completed or still in progress.

uint32

ErrorCodeMask
Error code, this is a bit mask of errors, 0 means no error.

Public Attributes Documentation

variable BufferPtr

uint8 * BufferPtr;

Buffer into which RX is receiving data.

variable SizeInBytes

uint32 SizeInBytes;

Size of data that needs to be RX’ed.

variable RemainingSizeInBytes

uint32 RemainingSizeInBytes;

Size of data that is remaining to be RX’ed.

variable IsRxComplete

boolean IsRxComplete;

Is RX completed or still in progress.

variable ErrorCodeMask

uint32 ErrorCodeMask;

Error code, this is a bit mask of errors, 0 means no error.

In interrupt mode, it can have a bit mask of the following:

  • DL_UART_INTERRUPT_OVERRUN_ERROR

  • DL_UART_INTERRUPT_BREAK_ERROR

  • DL_UART_INTERRUPT_PARITY_ERROR

  • DL_UART_INTERRUPT_FRAMING_ERROR

  • DL_UART_INTERRUPT_RX_TIMEOUT_ERROR

  • DL_UART_INTERRUPT_NOISE_ERROR

In DMA mode, it can additionally have a bit mask of the following:

  • DMA_IMASK_ADDRERR_SET