1 /* 2 * Copyright 2019 NXP 3 * All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 #ifndef _RTE_DEVICE_H 9 #define _RTE_DEVICE_H 10 11 #include "pin_mux.h" 12 13 /* UART select, UART1-UART4 */ 14 /* User needs to provide the implementation of UARTX_GetFreq/UARTX_InitPins/UARTX_DeinitPins for the enabled UART 15 * instance. */ 16 #define RTE_USART1 0 17 #define RTE_USART1_DMA_EN 0 18 #define RTE_USART2 0 19 #define RTE_USART2_DMA_EN 0 20 #define RTE_USART3 0 21 #define RTE_USART3_DMA_EN 0 22 #define RTE_USART4 0 23 #define RTE_USART4_DMA_EN 0 24 25 /* I2C select, I2C1 - I2C4. */ 26 /* User needs to provide the implementation of I2CX_GetFreq/I2CX_InitPins/I2CX_DeinitPins for the enabled I2C instance. 27 */ 28 #define RTE_I2C1 0 29 #define RTE_I2C1_DMA_EN 0 30 #define RTE_I2C2 0 31 #define RTE_I2C2_DMA_EN 0 32 #define RTE_I2C3 0 33 #define RTE_I2C3_DMA_EN 0 34 #define RTE_I2C4 0 35 #define RTE_I2C4_DMA_EN 0 36 37 /* SPI select, ECSPI1 - ECSPI3. */ 38 /* User needs to provide the implementation of ECSPIX_GetFreq/ECSPIX_InitPins/ECSPIX_DeinitPins for the enabled ECSPI 39 * instance. */ 40 #define RTE_SPI0 0 41 #define RTE_SPI0_DMA_EN 0 42 #define RTE_SPI1 0 43 #define RTE_SPI1_DMA_EN 0 44 #define RTE_SPI2 0 45 #define RTE_SPI2_DMA_EN 0 46 47 #endif /* _RTE_DEVICE_H */ 48