diff options
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qx/project_template/pin_mux.h')
-rw-r--r-- | lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qx/project_template/pin_mux.h | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qx/project_template/pin_mux.h b/lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qx/project_template/pin_mux.h new file mode 100644 index 000000000..8bb2a79c8 --- /dev/null +++ b/lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qx/project_template/pin_mux.h | |||
@@ -0,0 +1,71 @@ | |||
1 | /* | ||
2 | * Copyright 2017-2019 NXP | ||
3 | * | ||
4 | * SPDX-License-Identifier: BSD-3-Clause | ||
5 | */ | ||
6 | |||
7 | |||
8 | #ifndef _PIN_MUX_H_ | ||
9 | #define _PIN_MUX_H_ | ||
10 | |||
11 | #include "board.h" | ||
12 | |||
13 | /*********************************************************************************************************************** | ||
14 | * Definitions | ||
15 | **********************************************************************************************************************/ | ||
16 | |||
17 | /* ADC_IN2 (coord V32), FTDI_M40_UART0_RX */ | ||
18 | #define BOARD_INITPINS_FTDI_M40_UART0_RX_PERIPHERAL M40__UART0 /*!< Device name: M40__UART0 */ | ||
19 | #define BOARD_INITPINS_FTDI_M40_UART0_RX_SIGNAL uart_rx /*!< M40__UART0 signal: uart_rx */ | ||
20 | #define BOARD_INITPINS_FTDI_M40_UART0_RX_PIN_NAME ADC_IN2 /*!< Pin name */ | ||
21 | #define BOARD_INITPINS_FTDI_M40_UART0_RX_PIN_FUNCTION_ID SC_P_ADC_IN2 /*!< Pin function id */ | ||
22 | #define BOARD_INITPINS_FTDI_M40_UART0_RX_LABEL "FTDI_M40_UART0_RX" /*!< Label */ | ||
23 | #define BOARD_INITPINS_FTDI_M40_UART0_RX_NAME "FTDI_M40_UART0_RX" /*!< Identifier name */ | ||
24 | |||
25 | /* ADC_IN3 (coord V30), FTDI_M40_UART0_TX */ | ||
26 | #define BOARD_INITPINS_FTDI_M40_UART0_TX_PERIPHERAL M40__UART0 /*!< Device name: M40__UART0 */ | ||
27 | #define BOARD_INITPINS_FTDI_M40_UART0_TX_SIGNAL uart_tx /*!< M40__UART0 signal: uart_tx */ | ||
28 | #define BOARD_INITPINS_FTDI_M40_UART0_TX_PIN_NAME ADC_IN3 /*!< Pin name */ | ||
29 | #define BOARD_INITPINS_FTDI_M40_UART0_TX_PIN_FUNCTION_ID SC_P_ADC_IN3 /*!< Pin function id */ | ||
30 | #define BOARD_INITPINS_FTDI_M40_UART0_TX_LABEL "FTDI_M40_UART0_TX" /*!< Label */ | ||
31 | #define BOARD_INITPINS_FTDI_M40_UART0_TX_NAME "FTDI_M40_UART0_TX" /*!< Identifier name */ | ||
32 | |||
33 | /*! | ||
34 | * @addtogroup pin_mux | ||
35 | * @{ | ||
36 | */ | ||
37 | |||
38 | /*********************************************************************************************************************** | ||
39 | * API | ||
40 | **********************************************************************************************************************/ | ||
41 | |||
42 | #if defined(__cplusplus) | ||
43 | extern "C" { | ||
44 | #endif | ||
45 | |||
46 | |||
47 | /*! | ||
48 | * @brief Calls initialization functions. | ||
49 | * | ||
50 | */ | ||
51 | void BOARD_InitBootPins(void); | ||
52 | |||
53 | /*! | ||
54 | * @brief Configures pin routing and optionally pin electrical features. | ||
55 | * @param ipc scfw ipchandle. | ||
56 | * | ||
57 | */ | ||
58 | void BOARD_InitPins(sc_ipc_t ipc); /*!< Function assigned for the core: Cortex-M4F[m4] */ | ||
59 | |||
60 | #if defined(__cplusplus) | ||
61 | } | ||
62 | #endif | ||
63 | |||
64 | /*! | ||
65 | * @} | ||
66 | */ | ||
67 | #endif /* _PIN_MUX_H_ */ | ||
68 | |||
69 | /*********************************************************************************************************************** | ||
70 | * EOF | ||
71 | **********************************************************************************************************************/ | ||