1/* 2 * @brief UART DMA example 3 * 4 * @note 5 * Copyright(C) NXP Semiconductors, 2013 6 * All rights reserved. 7 * 8 * @par 9 * Software that is described herein is for illustrative purposes only 10 * which provides customers with programming information regarding the 11 * LPC products. This software is supplied "AS IS" without any warranties of 12 * any kind, and NXP Semiconductors and its licensor disclaim any and 13 * all warranties, express or implied, including all implied warranties of 14 * merchantability, fitness for a particular purpose and non-infringement of 15 * intellectual property rights. NXP Semiconductors assumes no responsibility 16 * or liability for the use of the software, conveys no license or rights under any 17 * patent, copyright, mask work right, or any other intellectual property rights in 18 * or to any products. NXP Semiconductors reserves the right to make changes 19 * in the software without notification. NXP Semiconductors also makes no 20 * representation or warranty that such application will be suitable for the 21 * specified use without further testing or modification. 22 * 23 * @par 24 * Permission to use, copy, modify, and distribute this software and its 25 * documentation is hereby granted, under NXP Semiconductors' and its 26 * licensor's relevant copyrights in the software, without fee, provided that it 27 * is used in conjunction with NXP Semiconductors microcontrollers. This 28 * copyright, permission, and disclaimer notice must appear in all copies of 29 * this code. 30 */ 31 32/** @defgroup EXAMPLES_PERIPH_15XX_DMA_UART LPC15xx UART using DMA example 33 * @ingroup EXAMPLES_PERIPH_15XX 34 * <b>Example description</b><br> 35 * This examples shows how to use the DMA controller to handle servicing 36 * of UART transmit and receive operations to offload the MCU and reduce 37 * interrupt processing.<br> 38 * 39 * UART transmit operations have a known transmit size and are queued to the 40 * DMA controller via descriptors setup for the transfer. Descriptors are 41 * only queued to the DMA controller when data is waiting to be sent. 42 * This specific implementation can queue multiple UART buffers with a single 43 * DMA interrupt per UART buffer sent. This example doesn't used linked 44 * DMA descriptors.<br> 45 * 46 * UART receive operations have a fixed list of descriptors and buffer sizes. 47 * The DMA controller will generate a DMA interrupt for UART receive only when 48 * a full buffer of data has been received. Once this buffer is received, it 49 * is sent back out via UART transmit via DMA.<br> 50 * 51 * <b>Special connection requirements</b><br> 52 * There are no special connection requirements for this example.<br> 53 * 54 * <b>Build procedures:</b><br> 55 * Visit the <a href="http://www.lpcware.com/content/project/lpcopen-platform-nxp-lpc-microcontrollers/lpcopen-v200-quickstart-guides">LPCOpen quickstart guides</a> 56 * to get started building LPCOpen projects. 57 * 58 * <b>Supported boards and board setup:</b><br> 59 * @ref BOARD_NXP_LPCXPRESSO_1549<br> 60 * 61 * <b>Submitting LPCOpen issues:</b><br> 62 * @ref LPCOPEN_COMMUNITY 63 * @{ 64 */ 65 66/** 67 * @} 68 */ 69