1 /* 2 * Copyright 2017 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, UART0. */ 14 /* User needs to provide the implementation of UARTX_GetFreq/UARTX_InitPins/UARTX_DeinitPins for the enabled UART 15 * instance. */ 16 #define RTE_USART0 0 17 18 /* UART configuration. */ 19 #define USART_RX_BUFFER_LEN 64 20 #define USART0_RX_BUFFER_ENABLE 0 21 22 /* I2C Select, I2C0. */ 23 /* User needs to provide the implementation of I2CX_GetFreq/I2CX_InitPins/I2CX_DeinitPins for the enabled I2C instance. 24 */ 25 #define RTE_I2C0 0 26 27 /* SPI select, SPI0. */ 28 /* User needs to provide the implementation of SPIX_GetFreq/SPIX_InitPins/SPIX_DeinitPins for the enabled SPI instance. 29 */ 30 #define RTE_SPI0 0 31 32 #endif /* _RTE_DEVICE_H */ 33