NXP's driver library for LPC17xx, ported to mbed's online compiler. Not tested! I had to fix a lot of warings and found a couple of pretty obvious bugs, so the chances are there are more. Original: http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip

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 469 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 478 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 482 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 470 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 474 of file lpc17xx_uart.h.