Example of UART-DMA transfers taken form the npx cmsis driver libary

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

UART_FIFO_CFG_Type Struct Reference

UART_FIFO_CFG_Type Struct Reference
[UART Public Types]

UART FIFO Configuration Structure definition. More...

#include <lpc17xx_uart.h>

Data Fields

FunctionalState FIFO_ResetRxBuf
 Reset Rx FIFO command state , should be:

  • ENABLE: Reset Rx FIFO in UART
  • DISABLE: Do not reset Rx FIFO in UART.

FunctionalState FIFO_ResetTxBuf
 Reset Tx FIFO command state , should be:

  • ENABLE: Reset Tx FIFO in UART
  • DISABLE: Do not reset Tx FIFO in UART.

FunctionalState FIFO_DMAMode
 DMA mode, should be:

  • ENABLE: Enable DMA mode in UART
  • DISABLE: Disable DMA mode in UART.

UART_FITO_LEVEL_Type FIFO_Level
 Rx FIFO trigger level, should be:

  • UART_FIFO_TRGLEV0: UART FIFO trigger level 0: 1 character
  • UART_FIFO_TRGLEV1: UART FIFO trigger level 1: 4 character
  • UART_FIFO_TRGLEV2: UART FIFO trigger level 2: 8 character
  • UART_FIFO_TRGLEV3: UART FIFO trigger level 3: 14 character.


Detailed Description

UART FIFO Configuration Structure definition.

Definition at line 516 of file lpc17xx_uart.h.


Field Documentation

DMA mode, should be:

  • ENABLE: Enable DMA mode in UART
  • DISABLE: Disable DMA mode in UART.

Definition at line 525 of file lpc17xx_uart.h.

Rx FIFO trigger level, should be:

  • UART_FIFO_TRGLEV0: UART FIFO trigger level 0: 1 character
  • UART_FIFO_TRGLEV1: UART FIFO trigger level 1: 4 character
  • UART_FIFO_TRGLEV2: UART FIFO trigger level 2: 8 character
  • UART_FIFO_TRGLEV3: UART FIFO trigger level 3: 14 character.

Definition at line 529 of file lpc17xx_uart.h.

Reset Rx FIFO command state , should be:

  • ENABLE: Reset Rx FIFO in UART
  • DISABLE: Do not reset Rx FIFO in UART.

Definition at line 517 of file lpc17xx_uart.h.

Reset Tx FIFO command state , should be:

  • ENABLE: Reset Tx FIFO in UART
  • DISABLE: Do not reset Tx FIFO in UART.

Definition at line 521 of file lpc17xx_uart.h.