diff options
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/project_template/pin_mux.h')
-rw-r--r-- | lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/project_template/pin_mux.h | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/project_template/pin_mux.h b/lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/project_template/pin_mux.h new file mode 100644 index 000000000..b42d8a4eb --- /dev/null +++ b/lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/project_template/pin_mux.h | |||
@@ -0,0 +1,71 @@ | |||
1 | /* | ||
2 | * Copyright 2020 NXP. | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * SPDX-License-Identifier: BSD-3-Clause | ||
6 | */ | ||
7 | |||
8 | #ifndef _PIN_MUX_H_ | ||
9 | #define _PIN_MUX_H_ | ||
10 | |||
11 | |||
12 | /*********************************************************************************************************************** | ||
13 | * Definitions | ||
14 | **********************************************************************************************************************/ | ||
15 | |||
16 | /* PTA19 (number AB19), UART0_RX */ | ||
17 | /* Routed pin properties */ | ||
18 | #define BOARD_UART0_RX_PERIPHERAL LPUART0 /*!< Peripheral name */ | ||
19 | #define BOARD_UART0_RX_SIGNAL lpuart_rx /*!< Signal name */ | ||
20 | #define BOARD_UART0_RX_PIN_NAME PTA19 /*!< Routed pin name */ | ||
21 | #define BOARD_UART0_RX_PIN_FUNCTION_ID IOMUXC_PTA19_LPUART0_RX /*!< Pin function id */ | ||
22 | #define BOARD_UART0_RX_LABEL "UART0_RX" /*!< Label */ | ||
23 | #define BOARD_UART0_RX_NAME "UART0_RX" /*!< Identifier */ | ||
24 | |||
25 | /* PTA18 (number AC19), UART0_TX */ | ||
26 | /* Routed pin properties */ | ||
27 | #define BOARD_UART0_TX_PERIPHERAL LPUART0 /*!< Peripheral name */ | ||
28 | #define BOARD_UART0_TX_SIGNAL lpuart_tx /*!< Signal name */ | ||
29 | #define BOARD_UART0_TX_PIN_NAME PTA18 /*!< Routed pin name */ | ||
30 | #define BOARD_UART0_TX_PIN_FUNCTION_ID IOMUXC_PTA18_LPUART0_TX /*!< Pin function id */ | ||
31 | #define BOARD_UART0_TX_LABEL "UART0_TX" /*!< Label */ | ||
32 | #define BOARD_UART0_TX_NAME "UART0_TX" /*!< Identifier */ | ||
33 | |||
34 | /*! | ||
35 | * @addtogroup pin_mux | ||
36 | * @{ | ||
37 | */ | ||
38 | |||
39 | /*********************************************************************************************************************** | ||
40 | * API | ||
41 | **********************************************************************************************************************/ | ||
42 | |||
43 | #if defined(__cplusplus) | ||
44 | extern "C" { | ||
45 | #endif | ||
46 | |||
47 | |||
48 | /*! | ||
49 | * @brief Calls initialization functions. | ||
50 | * | ||
51 | */ | ||
52 | void BOARD_InitBootPins(void); | ||
53 | |||
54 | /*! | ||
55 | * @brief Configures pin routing and optionally pin electrical features. | ||
56 | * | ||
57 | */ | ||
58 | void BOARD_InitPins(void); /*!< Function assigned for the core: Cortex-M4[cm4] */ | ||
59 | |||
60 | #if defined(__cplusplus) | ||
61 | } | ||
62 | #endif | ||
63 | |||
64 | /*! | ||
65 | * @} | ||
66 | */ | ||
67 | #endif /* _PIN_MUX_H_ */ | ||
68 | |||
69 | /*********************************************************************************************************************** | ||
70 | * EOF | ||
71 | **********************************************************************************************************************/ | ||