Arrow / Mbed OS DAPLink Reset
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers RTE_Device.h Source File

RTE_Device.h

00001 /* -----------------------------------------------------------------------------
00002  * Copyright (C) 2013 ARM Limited. All rights reserved.
00003  *
00004  * $Date:        27. June 2013
00005  * $Revision:    V1.00
00006  *
00007  * Project:      RTE Device Configuration for NXP Kinetis K20
00008  * -------------------------------------------------------------------------- */
00009 
00010 //-------- <<< Use Configuration Wizard in Context Menu >>> --------------------
00011 
00012 #ifndef __RTE_DEVICE_H
00013 #define __RTE_DEVICE_H
00014 
00015 
00016 #define RTE_USART1 1
00017 #define RTE_USART1_DMA_EN 0
00018 
00019 
00020 #define RTE_USART1_DMA_TX_DMA_BASE (DMA0)
00021 #define RTE_USART1_DMA_TX_CH (0)
00022 #define RTE_USART1_DMA_TX_DMAMUX_BASE (DMAMUX0)
00023 #define RTE_USART1_DMA_TX_PERI_SEL (5) // DMAMUX source 5 is UART1 TX
00024 
00025 #define RTE_USART1_DMA_RX_DMA_BASE (DMA0)
00026 #define RTE_USART1_DMA_RX_CH (1)
00027 #define RTE_USART1_DMA_RX_DMAMUX_BASE (DMAMUX0)
00028 #define RTE_USART1_DMA_RX_PERI_SEL (4) // DMAMUX source 4 is UART1 RX
00029 
00030 
00031 #endif  /* __RTE_DEVICE_H */
00032