diff options
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/pin_mux.h')
-rw-r--r-- | lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/pin_mux.h | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/pin_mux.h b/lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/pin_mux.h new file mode 100644 index 000000000..a1ccf118b --- /dev/null +++ b/lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/pin_mux.h | |||
@@ -0,0 +1,73 @@ | |||
1 | /* | ||
2 | * Copyright 2017-2020 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 | /* M40_I2C0_SCL (number AM44), FTDI_M40_UART0_RX */ | ||
18 | /* Routed pin properties */ | ||
19 | #define BOARD_INITPINS_FTDI_M40_UART0_RX_PERIPHERAL M40__UART0 /*!< Peripheral name */ | ||
20 | #define BOARD_INITPINS_FTDI_M40_UART0_RX_SIGNAL uart_rx /*!< Signal name */ | ||
21 | #define BOARD_INITPINS_FTDI_M40_UART0_RX_PIN_NAME M40_I2C0_SCL /*!< Routed pin name */ | ||
22 | #define BOARD_INITPINS_FTDI_M40_UART0_RX_PIN_FUNCTION_ID SC_P_M40_I2C0_SCL /*!< Pin function id */ | ||
23 | #define BOARD_INITPINS_FTDI_M40_UART0_RX_LABEL "FTDI_M40_UART0_RX" /*!< Label */ | ||
24 | #define BOARD_INITPINS_FTDI_M40_UART0_RX_NAME "FTDI_M40_UART0_RX" /*!< Identifier */ | ||
25 | |||
26 | /* M40_I2C0_SDA (number AU51), FTDI_M40_UART0_TX */ | ||
27 | /* Routed pin properties */ | ||
28 | #define BOARD_INITPINS_FTDI_M40_UART0_TX_PERIPHERAL M40__UART0 /*!< Peripheral name */ | ||
29 | #define BOARD_INITPINS_FTDI_M40_UART0_TX_SIGNAL uart_tx /*!< Signal name */ | ||
30 | #define BOARD_INITPINS_FTDI_M40_UART0_TX_PIN_NAME M40_I2C0_SDA /*!< Routed pin name */ | ||
31 | #define BOARD_INITPINS_FTDI_M40_UART0_TX_PIN_FUNCTION_ID SC_P_M40_I2C0_SDA /*!< Pin function id */ | ||
32 | #define BOARD_INITPINS_FTDI_M40_UART0_TX_LABEL "FTDI_M40_UART0_TX" /*!< Label */ | ||
33 | #define BOARD_INITPINS_FTDI_M40_UART0_TX_NAME "FTDI_M40_UART0_TX" /*!< Identifier */ | ||
34 | |||
35 | /*! | ||
36 | * @addtogroup pin_mux | ||
37 | * @{ | ||
38 | */ | ||
39 | |||
40 | /*********************************************************************************************************************** | ||
41 | * API | ||
42 | **********************************************************************************************************************/ | ||
43 | |||
44 | #if defined(__cplusplus) | ||
45 | extern "C" { | ||
46 | #endif | ||
47 | |||
48 | |||
49 | /*! | ||
50 | * @brief Calls initialization functions. | ||
51 | * | ||
52 | */ | ||
53 | void BOARD_InitBootPins(void); | ||
54 | |||
55 | /*! | ||
56 | * @brief Configures pin routing and optionally pin electrical features. | ||
57 | * @param ipc scfw ipchandle. | ||
58 | * | ||
59 | */ | ||
60 | void BOARD_InitPins(sc_ipc_t ipc); /*!< Function assigned for the core: Cortex-M4F[cm4_core0] */ | ||
61 | |||
62 | #if defined(__cplusplus) | ||
63 | } | ||
64 | #endif | ||
65 | |||
66 | /*! | ||
67 | * @} | ||
68 | */ | ||
69 | #endif /* _PIN_MUX_H_ */ | ||
70 | |||
71 | /*********************************************************************************************************************** | ||
72 | * EOF | ||
73 | **********************************************************************************************************************/ | ||