1 /* 2 * NOTE: Autogenerated file by kinetis_signal2dts.py 3 * for MKE18F512VLL16/signal_configuration.xml 4 * 5 * Copyright (c) 2022, NXP 6 * SPDX-License-Identifier: Apache-2.0 7 */ 8 9 #ifndef _ZEPHYR_DTS_BINDING_MKE18F512VLL16_ 10 #define _ZEPHYR_DTS_BINDING_MKE18F512VLL16_ 11 12 #define KINETIS_MUX(port, pin, mux) \ 13 (((((port) - 'A') & 0xF) << 28) | \ 14 (((pin) & 0x3F) << 22) | \ 15 (((mux) & 0x7) << 8)) 16 17 #define ACMP0_IN0_PTA0 KINETIS_MUX('A',0,0) /* PTA0 */ 18 #define ADC0_SE0_PTA0 KINETIS_MUX('A',0,0) /* PTA0 */ 19 #define PTA0 KINETIS_MUX('A',0,1) /* PTA0 */ 20 #define FTM2_CH1_PTA0 KINETIS_MUX('A',0,2) /* PTA0 */ 21 #define LPI2C0_SCLS_PTA0 KINETIS_MUX('A',0,3) /* PTA0 */ 22 #define FXIO_D2_PTA0 KINETIS_MUX('A',0,4) /* PTA0 */ 23 #define FTM2_QD_PHA_PTA0 KINETIS_MUX('A',0,5) /* PTA0 */ 24 #define LPUART0_CTS_PTA0 KINETIS_MUX('A',0,6) /* PTA0 */ 25 #define TRGMUX_OUT3_PTA0_PTA0_PTA0_PTA0_PTA0_PTA0_PTA0_PTA0 KINETIS_MUX('A',0,7) /* PTA0 */ 26 #define TRGMUX_OUT3_PTA0 KINETIS_MUX('A',0,7) /* PTA0 */ 27 #define ADC0_SE1_PTA1 KINETIS_MUX('A',1,0) /* PTA1 */ 28 #define ACMP0_IN1_PTA1 KINETIS_MUX('A',1,0) /* PTA1 */ 29 #define PTA1 KINETIS_MUX('A',1,1) /* PTA1 */ 30 #define FTM1_CH1_PTA1 KINETIS_MUX('A',1,2) /* PTA1 */ 31 #define LPI2C0_SDAS_PTA1 KINETIS_MUX('A',1,3) /* PTA1 */ 32 #define FXIO_D3_PTA1 KINETIS_MUX('A',1,4) /* PTA1 */ 33 #define FTM1_QD_PHA_PTA1 KINETIS_MUX('A',1,5) /* PTA1 */ 34 #define LPUART0_RTS_PTA1 KINETIS_MUX('A',1,6) /* PTA1 */ 35 #define TRGMUX_OUT0_PTA1_PTA1_PTA1_PTA1_PTA1_PTA1_PTA1_PTA1 KINETIS_MUX('A',1,7) /* PTA1 */ 36 #define TRGMUX_OUT0_PTA1 KINETIS_MUX('A',1,7) /* PTA1 */ 37 #define ADC1_SE0_PTA2 KINETIS_MUX('A',2,0) /* PTA2 */ 38 #define PTA2 KINETIS_MUX('A',2,1) /* PTA2 */ 39 #define FTM3_CH0_PTA2 KINETIS_MUX('A',2,2) /* PTA2 */ 40 #define LPI2C0_SDA_PTA2 KINETIS_MUX('A',2,3) /* PTA2 */ 41 #define EWM_OUT_b_PTA2 KINETIS_MUX('A',2,4) /* PTA2 */ 42 #define LPUART0_RX_PTA2 KINETIS_MUX('A',2,6) /* PTA2 */ 43 #define ADC1_SE1_PTA3 KINETIS_MUX('A',3,0) /* PTA3 */ 44 #define PTA3 KINETIS_MUX('A',3,1) /* PTA3 */ 45 #define FTM3_CH1_PTA3 KINETIS_MUX('A',3,2) /* PTA3 */ 46 #define LPI2C0_SCL_PTA3 KINETIS_MUX('A',3,3) /* PTA3 */ 47 #define EWM_IN_PTA3 KINETIS_MUX('A',3,4) /* PTA3 */ 48 #define LPUART0_TX_PTA3 KINETIS_MUX('A',3,6) /* PTA3 */ 49 #define PTA4 KINETIS_MUX('A',4,1) /* PTA4 */ 50 #define ACMP0_OUT_PTA4 KINETIS_MUX('A',4,4) /* PTA4 */ 51 #define EWM_OUT_b_PTA4 KINETIS_MUX('A',4,5) /* PTA4 */ 52 #define JTAG_TMS_PTA4 KINETIS_MUX('A',4,7) /* PTA4 */ 53 #define SWD_DIO_PTA4 KINETIS_MUX('A',4,7) /* PTA4 */ 54 #define PTA5 KINETIS_MUX('A',5,1) /* PTA5 */ 55 #define TCLK1_PTA5 KINETIS_MUX('A',5,3) /* PTA5 */ 56 #define JTAG_TRST_b_PTA5 KINETIS_MUX('A',5,6) /* PTA5 */ 57 #define RESET_b_PTA5 KINETIS_MUX('A',5,7) /* PTA5 */ 58 #define ADC0_SE2_PTA6 KINETIS_MUX('A',6,0) /* PTA6 */ 59 #define ACMP1_IN0_PTA6 KINETIS_MUX('A',6,0) /* PTA6 */ 60 #define PTA6 KINETIS_MUX('A',6,1) /* PTA6 */ 61 #define FTM0_FLT1_PTA6 KINETIS_MUX('A',6,2) /* PTA6 */ 62 #define LPSPI1_PCS1_PTA6 KINETIS_MUX('A',6,3) /* PTA6 */ 63 #define LPUART1_CTS_PTA6 KINETIS_MUX('A',6,6) /* PTA6 */ 64 #define ACMP1_IN1_PTA7 KINETIS_MUX('A',7,0) /* PTA7 */ 65 #define ADC0_SE3_PTA7 KINETIS_MUX('A',7,0) /* PTA7 */ 66 #define PTA7 KINETIS_MUX('A',7,1) /* PTA7 */ 67 #define FTM0_FLT2_PTA7 KINETIS_MUX('A',7,2) /* PTA7 */ 68 #define RTC_CLKIN_PTA7 KINETIS_MUX('A',7,4) /* PTA7 */ 69 #define LPUART1_RTS_PTA7 KINETIS_MUX('A',7,6) /* PTA7 */ 70 #define PTA8 KINETIS_MUX('A',8,1) /* PTA8 */ 71 #define FXIO_D6_PTA8 KINETIS_MUX('A',8,4) /* PTA8 */ 72 #define FTM3_FLT3_PTA8 KINETIS_MUX('A',8,5) /* PTA8 */ 73 #define PTA9 KINETIS_MUX('A',9,1) /* PTA9 */ 74 #define FXIO_D7_PTA9 KINETIS_MUX('A',9,4) /* PTA9 */ 75 #define FTM3_FLT2_PTA9 KINETIS_MUX('A',9,5) /* PTA9 */ 76 #define FTM1_FLT3_PTA9 KINETIS_MUX('A',9,6) /* PTA9 */ 77 #define PTA10 KINETIS_MUX('A',10,1) /* PTA10 */ 78 #define FTM1_CH4_PTA10 KINETIS_MUX('A',10,2) /* PTA10 */ 79 #define LPUART0_TX_PTA10 KINETIS_MUX('A',10,3) /* PTA10 */ 80 #define FXIO_D0_PTA10 KINETIS_MUX('A',10,4) /* PTA10 */ 81 #define noetm_Trace_SWO_PTA10 KINETIS_MUX('A',10,7) /* PTA10 */ 82 #define JTAG_TDO_PTA10 KINETIS_MUX('A',10,7) /* PTA10 */ 83 #define PTA11 KINETIS_MUX('A',11,1) /* PTA11 */ 84 #define FTM1_CH5_PTA11 KINETIS_MUX('A',11,2) /* PTA11 */ 85 #define LPUART0_RX_PTA11 KINETIS_MUX('A',11,3) /* PTA11 */ 86 #define FXIO_D1_PTA11 KINETIS_MUX('A',11,4) /* PTA11 */ 87 #define ADC2_SE5_PTA12 KINETIS_MUX('A',12,0) /* PTA12 */ 88 #define PTA12 KINETIS_MUX('A',12,1) /* PTA12 */ 89 #define FTM1_CH6_PTA12 KINETIS_MUX('A',12,2) /* PTA12 */ 90 #define CAN1_RX_PTA12 KINETIS_MUX('A',12,3) /* PTA12 */ 91 #define LPI2C1_SDAS_PTA12 KINETIS_MUX('A',12,4) /* PTA12 */ 92 #define ADC2_SE4_PTA13 KINETIS_MUX('A',13,0) /* PTA13 */ 93 #define PTA13 KINETIS_MUX('A',13,1) /* PTA13 */ 94 #define FTM1_CH7_PTA13 KINETIS_MUX('A',13,2) /* PTA13 */ 95 #define CAN1_TX_PTA13 KINETIS_MUX('A',13,3) /* PTA13 */ 96 #define LPI2C1_SCLS_PTA13 KINETIS_MUX('A',13,4) /* PTA13 */ 97 #define PTA14 KINETIS_MUX('A',14,1) /* PTA14 */ 98 #define FTM0_FLT0_PTA14 KINETIS_MUX('A',14,2) /* PTA14 */ 99 #define FTM3_FLT1_PTA14 KINETIS_MUX('A',14,3) /* PTA14 */ 100 #define EWM_IN_PTA14 KINETIS_MUX('A',14,4) /* PTA14 */ 101 #define FTM1_FLT0_PTA14 KINETIS_MUX('A',14,6) /* PTA14 */ 102 #define BUSOUT_PTA14 KINETIS_MUX('A',14,7) /* PTA14 */ 103 #define ADC1_SE12_PTA15 KINETIS_MUX('A',15,0) /* PTA15 */ 104 #define PTA15 KINETIS_MUX('A',15,1) /* PTA15 */ 105 #define FTM1_CH2_PTA15 KINETIS_MUX('A',15,2) /* PTA15 */ 106 #define LPSPI0_PCS3_PTA15 KINETIS_MUX('A',15,3) /* PTA15 */ 107 #define ADC1_SE13_PTA16 KINETIS_MUX('A',16,0) /* PTA16 */ 108 #define PTA16 KINETIS_MUX('A',16,1) /* PTA16 */ 109 #define FTM1_CH3_PTA16 KINETIS_MUX('A',16,2) /* PTA16 */ 110 #define LPSPI1_PCS2_PTA16 KINETIS_MUX('A',16,3) /* PTA16 */ 111 #define PTA17 KINETIS_MUX('A',17,1) /* PTA17 */ 112 #define FTM0_CH6_PTA17 KINETIS_MUX('A',17,2) /* PTA17 */ 113 #define FTM3_FLT0_PTA17 KINETIS_MUX('A',17,3) /* PTA17 */ 114 #define EWM_OUT_b_PTA17 KINETIS_MUX('A',17,4) /* PTA17 */ 115 #define ADC1_SE14_PTB0 KINETIS_MUX('B',0,0) /* PTB0 */ 116 #define ADC0_SE4_PTB0 KINETIS_MUX('B',0,0) /* PTB0 */ 117 #define PTB0 KINETIS_MUX('B',0,1) /* PTB0 */ 118 #define LPUART0_RX_PTB0 KINETIS_MUX('B',0,2) /* PTB0 */ 119 #define LPSPI0_PCS0_PTB0 KINETIS_MUX('B',0,3) /* PTB0 */ 120 #define LPTMR0_ALT3_PTB0 KINETIS_MUX('B',0,4) /* PTB0 */ 121 #define PWT_IN3_PTB0 KINETIS_MUX('B',0,5) /* PTB0 */ 122 #define ADC0_SE5_PTB1 KINETIS_MUX('B',1,0) /* PTB1 */ 123 #define ADC1_SE15_PTB1 KINETIS_MUX('B',1,0) /* PTB1 */ 124 #define PTB1 KINETIS_MUX('B',1,1) /* PTB1 */ 125 #define LPUART0_TX_PTB1 KINETIS_MUX('B',1,2) /* PTB1 */ 126 #define LPSPI0_SOUT_PTB1 KINETIS_MUX('B',1,3) /* PTB1 */ 127 #define TCLK0_PTB1 KINETIS_MUX('B',1,4) /* PTB1 */ 128 #define ADC0_SE6_PTB2 KINETIS_MUX('B',2,0) /* PTB2 */ 129 #define PTB2 KINETIS_MUX('B',2,1) /* PTB2 */ 130 #define FTM1_CH0_PTB2 KINETIS_MUX('B',2,2) /* PTB2 */ 131 #define LPSPI0_SCK_PTB2 KINETIS_MUX('B',2,3) /* PTB2 */ 132 #define FTM1_QD_PHB_PTB2 KINETIS_MUX('B',2,4) /* PTB2 */ 133 #define TRGMUX_IN3_PTB2 KINETIS_MUX('B',2,6) /* PTB2 */ 134 #define ADC0_SE7_PTB3 KINETIS_MUX('B',3,0) /* PTB3 */ 135 #define PTB3 KINETIS_MUX('B',3,1) /* PTB3 */ 136 #define FTM1_CH1_PTB3 KINETIS_MUX('B',3,2) /* PTB3 */ 137 #define LPSPI0_SIN_PTB3 KINETIS_MUX('B',3,3) /* PTB3 */ 138 #define FTM1_QD_PHA_PTB3 KINETIS_MUX('B',3,4) /* PTB3 */ 139 #define TRGMUX_IN2_PTB3 KINETIS_MUX('B',3,6) /* PTB3 */ 140 #define ACMP1_IN2_PTB4 KINETIS_MUX('B',4,0) /* PTB4 */ 141 #define PTB4 KINETIS_MUX('B',4,1) /* PTB4 */ 142 #define FTM0_CH4_PTB4 KINETIS_MUX('B',4,2) /* PTB4 */ 143 #define LPSPI0_SOUT_PTB4 KINETIS_MUX('B',4,3) /* PTB4 */ 144 #define TRGMUX_IN1_PTB4 KINETIS_MUX('B',4,6) /* PTB4 */ 145 #define PTB5 KINETIS_MUX('B',5,1) /* PTB5 */ 146 #define FTM0_CH5_PTB5 KINETIS_MUX('B',5,2) /* PTB5 */ 147 #define LPSPI0_PCS1_PTB5 KINETIS_MUX('B',5,3) /* PTB5 */ 148 #define TRGMUX_IN0_PTB5 KINETIS_MUX('B',5,6) /* PTB5 */ 149 #define ACMP1_OUT_PTB5 KINETIS_MUX('B',5,7) /* PTB5 */ 150 #define XTAL_PTB6 KINETIS_MUX('B',6,0) /* PTB6 */ 151 #define PTB6 KINETIS_MUX('B',6,1) /* PTB6 */ 152 #define LPI2C0_SDA_PTB6 KINETIS_MUX('B',6,2) /* PTB6 */ 153 #define EXTAL_PTB7 KINETIS_MUX('B',7,0) /* PTB7 */ 154 #define PTB7 KINETIS_MUX('B',7,1) /* PTB7 */ 155 #define LPI2C0_SCL_PTB7 KINETIS_MUX('B',7,2) /* PTB7 */ 156 #define ADC2_SE11_PTB8 KINETIS_MUX('B',8,0) /* PTB8 */ 157 #define PTB8 KINETIS_MUX('B',8,1) /* PTB8 */ 158 #define FTM3_CH0_PTB8 KINETIS_MUX('B',8,2) /* PTB8 */ 159 #define ADC2_SE10_PTB9 KINETIS_MUX('B',9,0) /* PTB9 */ 160 #define PTB9 KINETIS_MUX('B',9,1) /* PTB9 */ 161 #define FTM3_CH1_PTB9 KINETIS_MUX('B',9,2) /* PTB9 */ 162 #define LPI2C0_SCLS_PTB9 KINETIS_MUX('B',9,3) /* PTB9 */ 163 #define ADC2_SE9_PTB10 KINETIS_MUX('B',10,0) /* PTB10 */ 164 #define PTB10 KINETIS_MUX('B',10,1) /* PTB10 */ 165 #define FTM3_CH2_PTB10 KINETIS_MUX('B',10,2) /* PTB10 */ 166 #define LPI2C0_SDAS_PTB10 KINETIS_MUX('B',10,3) /* PTB10 */ 167 #define ADC2_SE8_PTB11 KINETIS_MUX('B',11,0) /* PTB11 */ 168 #define PTB11 KINETIS_MUX('B',11,1) /* PTB11 */ 169 #define FTM3_CH3_PTB11 KINETIS_MUX('B',11,2) /* PTB11 */ 170 #define LPI2C0_HREQ_PTB11 KINETIS_MUX('B',11,3) /* PTB11 */ 171 #define ADC1_SE7_PTB12 KINETIS_MUX('B',12,0) /* PTB12 */ 172 #define PTB12 KINETIS_MUX('B',12,1) /* PTB12 */ 173 #define FTM0_CH0_PTB12 KINETIS_MUX('B',12,2) /* PTB12 */ 174 #define FTM3_FLT2_PTB12 KINETIS_MUX('B',12,3) /* PTB12 */ 175 #define ADC1_SE8_PTB13 KINETIS_MUX('B',13,0) /* PTB13 */ 176 #define ADC2_SE8_PTB13 KINETIS_MUX('B',13,0) /* PTB13 */ 177 #define PTB13 KINETIS_MUX('B',13,1) /* PTB13 */ 178 #define FTM0_CH1_PTB13 KINETIS_MUX('B',13,2) /* PTB13 */ 179 #define FTM3_FLT1_PTB13 KINETIS_MUX('B',13,3) /* PTB13 */ 180 #define ADC1_SE9_PTB14 KINETIS_MUX('B',14,0) /* PTB14 */ 181 #define ADC2_SE9_PTB14 KINETIS_MUX('B',14,0) /* PTB14 */ 182 #define PTB14 KINETIS_MUX('B',14,1) /* PTB14 */ 183 #define FTM0_CH2_PTB14 KINETIS_MUX('B',14,2) /* PTB14 */ 184 #define LPSPI1_SCK_PTB14 KINETIS_MUX('B',14,3) /* PTB14 */ 185 #define ADC1_SE14_PTB15 KINETIS_MUX('B',15,0) /* PTB15 */ 186 #define PTB15 KINETIS_MUX('B',15,1) /* PTB15 */ 187 #define FTM0_CH3_PTB15 KINETIS_MUX('B',15,2) /* PTB15 */ 188 #define LPSPI1_SIN_PTB15 KINETIS_MUX('B',15,3) /* PTB15 */ 189 #define ADC1_SE15_PTB16 KINETIS_MUX('B',16,0) /* PTB16 */ 190 #define PTB16 KINETIS_MUX('B',16,1) /* PTB16 */ 191 #define FTM0_CH4_PTB16 KINETIS_MUX('B',16,2) /* PTB16 */ 192 #define LPSPI1_SOUT_PTB16 KINETIS_MUX('B',16,3) /* PTB16 */ 193 #define ADC2_SE3_PTB17 KINETIS_MUX('B',17,0) /* PTB17 */ 194 #define PTB17 KINETIS_MUX('B',17,1) /* PTB17 */ 195 #define FTM0_CH5_PTB17 KINETIS_MUX('B',17,2) /* PTB17 */ 196 #define LPSPI1_PCS3_PTB17 KINETIS_MUX('B',17,3) /* PTB17 */ 197 #define ADC0_SE8_PTC0 KINETIS_MUX('C',0,0) /* PTC0 */ 198 #define ACMP1_IN4_PTC0 KINETIS_MUX('C',0,0) /* PTC0 */ 199 #define PTC0 KINETIS_MUX('C',0,1) /* PTC0 */ 200 #define FTM0_CH0_PTC0 KINETIS_MUX('C',0,2) /* PTC0 */ 201 #define FTM1_CH6_PTC0 KINETIS_MUX('C',0,6) /* PTC0 */ 202 #define ACMP1_IN3_PTC1 KINETIS_MUX('C',1,0) /* PTC1 */ 203 #define ADC0_SE9_PTC1 KINETIS_MUX('C',1,0) /* PTC1 */ 204 #define PTC1 KINETIS_MUX('C',1,1) /* PTC1 */ 205 #define FTM0_CH1_PTC1 KINETIS_MUX('C',1,2) /* PTC1 */ 206 #define FTM1_CH7_PTC1 KINETIS_MUX('C',1,6) /* PTC1 */ 207 #define XTAL32_PTC2 KINETIS_MUX('C',2,0) /* PTC2 */ 208 #define ACMP0_IN5_PTC2 KINETIS_MUX('C',2,0) /* PTC2 */ 209 #define ADC0_SE10_PTC2 KINETIS_MUX('C',2,0) /* PTC2 */ 210 #define PTC2 KINETIS_MUX('C',2,1) /* PTC2 */ 211 #define FTM0_CH2_PTC2 KINETIS_MUX('C',2,2) /* PTC2 */ 212 #define CAN0_RX_PTC2 KINETIS_MUX('C',2,3) /* PTC2 */ 213 #define ADC0_SE11_PTC3 KINETIS_MUX('C',3,0) /* PTC3 */ 214 #define ACMP0_IN4_PTC3 KINETIS_MUX('C',3,0) /* PTC3 */ 215 #define EXTAL32_PTC3 KINETIS_MUX('C',3,0) /* PTC3 */ 216 #define PTC3 KINETIS_MUX('C',3,1) /* PTC3 */ 217 #define FTM0_CH3_PTC3 KINETIS_MUX('C',3,2) /* PTC3 */ 218 #define CAN0_TX_PTC3 KINETIS_MUX('C',3,3) /* PTC3 */ 219 #define ACMP0_IN2_PTC4 KINETIS_MUX('C',4,0) /* PTC4 */ 220 #define PTC4 KINETIS_MUX('C',4,1) /* PTC4 */ 221 #define FTM1_CH0_PTC4 KINETIS_MUX('C',4,2) /* PTC4 */ 222 #define RTC_CLKOUT_PTC4 KINETIS_MUX('C',4,3) /* PTC4 */ 223 #define EWM_IN_PTC4 KINETIS_MUX('C',4,5) /* PTC4 */ 224 #define FTM1_QD_PHB_PTC4 KINETIS_MUX('C',4,6) /* PTC4 */ 225 #define SWD_CLK_PTC4 KINETIS_MUX('C',4,7) /* PTC4 */ 226 #define JTAG_TCLK_PTC4 KINETIS_MUX('C',4,7) /* PTC4 */ 227 #define PTC5 KINETIS_MUX('C',5,1) /* PTC5 */ 228 #define FTM2_CH0_PTC5 KINETIS_MUX('C',5,2) /* PTC5 */ 229 #define RTC_CLKOUT_PTC5 KINETIS_MUX('C',5,3) /* PTC5 */ 230 #define LPI2C1_HREQ_PTC5 KINETIS_MUX('C',5,4) /* PTC5 */ 231 #define FTM2_QD_PHB_PTC5 KINETIS_MUX('C',5,6) /* PTC5 */ 232 #define JTAG_TDI_PTC5 KINETIS_MUX('C',5,7) /* PTC5 */ 233 #define ADC1_SE4_PTC6 KINETIS_MUX('C',6,0) /* PTC6 */ 234 #define PTC6 KINETIS_MUX('C',6,1) /* PTC6 */ 235 #define LPUART1_RX_PTC6 KINETIS_MUX('C',6,2) /* PTC6 */ 236 #define CAN1_RX_PTC6 KINETIS_MUX('C',6,3) /* PTC6 */ 237 #define FTM3_CH2_PTC6 KINETIS_MUX('C',6,4) /* PTC6 */ 238 #define ADC1_SE5_PTC7 KINETIS_MUX('C',7,0) /* PTC7 */ 239 #define PTC7 KINETIS_MUX('C',7,1) /* PTC7 */ 240 #define LPUART1_TX_PTC7 KINETIS_MUX('C',7,2) /* PTC7 */ 241 #define CAN1_TX_PTC7 KINETIS_MUX('C',7,3) /* PTC7 */ 242 #define FTM3_CH3_PTC7 KINETIS_MUX('C',7,4) /* PTC7 */ 243 #define ADC2_SE14_PTC8 KINETIS_MUX('C',8,0) /* PTC8 */ 244 #define PTC8 KINETIS_MUX('C',8,1) /* PTC8 */ 245 #define LPUART1_RX_PTC8 KINETIS_MUX('C',8,2) /* PTC8 */ 246 #define FTM1_FLT0_PTC8 KINETIS_MUX('C',8,3) /* PTC8 */ 247 #define LPUART0_CTS_PTC8 KINETIS_MUX('C',8,6) /* PTC8 */ 248 #define ADC2_SE15_PTC9 KINETIS_MUX('C',9,0) /* PTC9 */ 249 #define PTC9 KINETIS_MUX('C',9,1) /* PTC9 */ 250 #define LPUART1_TX_PTC9 KINETIS_MUX('C',9,2) /* PTC9 */ 251 #define FTM1_FLT1_PTC9 KINETIS_MUX('C',9,3) /* PTC9 */ 252 #define LPUART0_RTS_PTC9 KINETIS_MUX('C',9,6) /* PTC9 */ 253 #define PTC10 KINETIS_MUX('C',10,1) /* PTC10 */ 254 #define FTM3_CH4_PTC10 KINETIS_MUX('C',10,2) /* PTC10 */ 255 #define PTC11 KINETIS_MUX('C',11,1) /* PTC11 */ 256 #define FTM3_CH5_PTC11 KINETIS_MUX('C',11,2) /* PTC11 */ 257 #define PTC12 KINETIS_MUX('C',12,1) /* PTC12 */ 258 #define FTM3_CH6_PTC12 KINETIS_MUX('C',12,2) /* PTC12 */ 259 #define FTM2_CH6_PTC12 KINETIS_MUX('C',12,3) /* PTC12 */ 260 #define PTC13 KINETIS_MUX('C',13,1) /* PTC13 */ 261 #define FTM3_CH7_PTC13 KINETIS_MUX('C',13,2) /* PTC13 */ 262 #define FTM2_CH7_PTC13 KINETIS_MUX('C',13,3) /* PTC13 */ 263 #define ACMP2_IN5_PTC14 KINETIS_MUX('C',14,0) /* PTC14 */ 264 #define ADC0_SE12_PTC14 KINETIS_MUX('C',14,0) /* PTC14 */ 265 #define PTC14 KINETIS_MUX('C',14,1) /* PTC14 */ 266 #define FTM1_CH2_PTC14 KINETIS_MUX('C',14,2) /* PTC14 */ 267 #define ACMP2_IN4_PTC15 KINETIS_MUX('C',15,0) /* PTC15 */ 268 #define ADC0_SE13_PTC15 KINETIS_MUX('C',15,0) /* PTC15 */ 269 #define PTC15 KINETIS_MUX('C',15,1) /* PTC15 */ 270 #define FTM1_CH3_PTC15 KINETIS_MUX('C',15,2) /* PTC15 */ 271 #define ADC0_SE14_PTC16 KINETIS_MUX('C',16,0) /* PTC16 */ 272 #define PTC16 KINETIS_MUX('C',16,1) /* PTC16 */ 273 #define FTM1_FLT2_PTC16 KINETIS_MUX('C',16,2) /* PTC16 */ 274 #define LPI2C1_SDAS_PTC16 KINETIS_MUX('C',16,4) /* PTC16 */ 275 #define ADC0_SE15_PTC17 KINETIS_MUX('C',17,0) /* PTC17 */ 276 #define PTC17 KINETIS_MUX('C',17,1) /* PTC17 */ 277 #define FTM1_FLT3_PTC17 KINETIS_MUX('C',17,2) /* PTC17 */ 278 #define LPI2C1_SCLS_PTC17 KINETIS_MUX('C',17,4) /* PTC17 */ 279 #define ADC2_SE0_PTD0 KINETIS_MUX('D',0,0) /* PTD0 */ 280 #define PTD0 KINETIS_MUX('D',0,1) /* PTD0 */ 281 #define FTM0_CH2_PTD0 KINETIS_MUX('D',0,2) /* PTD0 */ 282 #define LPSPI1_SCK_PTD0 KINETIS_MUX('D',0,3) /* PTD0 */ 283 #define FTM2_CH0_PTD0 KINETIS_MUX('D',0,4) /* PTD0 */ 284 #define FXIO_D0_PTD0 KINETIS_MUX('D',0,6) /* PTD0 */ 285 #define TRGMUX_OUT1_PTD0_PTD0_PTD0_PTD0_PTD0_PTD0_PTD0_PTD0 KINETIS_MUX('D',0,7) /* PTD0 */ 286 #define TRGMUX_OUT1_PTD0 KINETIS_MUX('D',0,7) /* PTD0 */ 287 #define ADC2_SE1_PTD1 KINETIS_MUX('D',1,0) /* PTD1 */ 288 #define PTD1 KINETIS_MUX('D',1,1) /* PTD1 */ 289 #define FTM0_CH3_PTD1 KINETIS_MUX('D',1,2) /* PTD1 */ 290 #define LPSPI1_SIN_PTD1 KINETIS_MUX('D',1,3) /* PTD1 */ 291 #define FTM2_CH1_PTD1 KINETIS_MUX('D',1,4) /* PTD1 */ 292 #define FXIO_D1_PTD1 KINETIS_MUX('D',1,6) /* PTD1 */ 293 #define TRGMUX_OUT2_PTD1_PTD1_PTD1_PTD1_PTD1_PTD1_PTD1_PTD1 KINETIS_MUX('D',1,7) /* PTD1 */ 294 #define TRGMUX_OUT2_PTD1 KINETIS_MUX('D',1,7) /* PTD1 */ 295 #define ADC1_SE2_PTD2 KINETIS_MUX('D',2,0) /* PTD2 */ 296 #define PTD2 KINETIS_MUX('D',2,1) /* PTD2 */ 297 #define FTM3_CH4_PTD2 KINETIS_MUX('D',2,2) /* PTD2 */ 298 #define LPSPI1_SOUT_PTD2 KINETIS_MUX('D',2,3) /* PTD2 */ 299 #define FXIO_D4_PTD2 KINETIS_MUX('D',2,4) /* PTD2 */ 300 #define TRGMUX_IN5_PTD2_PTD2_PTD2_PTD2_PTD2_PTD2_PTD2_PTD2 KINETIS_MUX('D',2,6) /* PTD2 */ 301 #define TRGMUX_IN5_PTD2 KINETIS_MUX('D',2,6) /* PTD2 */ 302 #define ADC1_SE3_PTD3 KINETIS_MUX('D',3,0) /* PTD3 */ 303 #define PTD3 KINETIS_MUX('D',3,1) /* PTD3 */ 304 #define FTM3_CH5_PTD3 KINETIS_MUX('D',3,2) /* PTD3 */ 305 #define LPSPI1_PCS0_PTD3 KINETIS_MUX('D',3,3) /* PTD3 */ 306 #define FXIO_D5_PTD3 KINETIS_MUX('D',3,4) /* PTD3 */ 307 #define TRGMUX_IN4_PTD3 KINETIS_MUX('D',3,6) /* PTD3 */ 308 #define TRGMUX_IN4_PTD3_PTD3_PTD3_PTD3_PTD3_PTD3_PTD3_PTD3 KINETIS_MUX('D',3,6) /* PTD3 */ 309 #define NMI_b_PTD3 KINETIS_MUX('D',3,7) /* PTD3 */ 310 #define ACMP1_IN6_PTD4 KINETIS_MUX('D',4,0) /* PTD4 */ 311 #define ADC1_SE6_PTD4 KINETIS_MUX('D',4,0) /* PTD4 */ 312 #define PTD4 KINETIS_MUX('D',4,1) /* PTD4 */ 313 #define FTM0_FLT3_PTD4 KINETIS_MUX('D',4,2) /* PTD4 */ 314 #define FTM3_FLT3_PTD4 KINETIS_MUX('D',4,3) /* PTD4 */ 315 #define PTD5 KINETIS_MUX('D',5,1) /* PTD5 */ 316 #define FTM2_CH3_PTD5 KINETIS_MUX('D',5,2) /* PTD5 */ 317 #define LPTMR0_ALT2_PTD5 KINETIS_MUX('D',5,3) /* PTD5 */ 318 #define FTM2_FLT1/TRGMUX_IN7_PTD5_PTD5_PTD5_PTD5_PTD5_PTD5_PTD5_PTD5_PTD5 KINETIS_MUX('D',5,4) /* PTD5 */ 319 #define PWT_IN2_PTD5 KINETIS_MUX('D',5,5) /* PTD5 */ 320 #define TRGMUX_IN7_PTD5 KINETIS_MUX('D',5,6) /* PTD5 */ 321 #define TRGMUX_IN7_PTD5_PTD5_PTD5_PTD5_PTD5_PTD5_PTD5_PTD5 KINETIS_MUX('D',5,6) /* PTD5 */ 322 #define PTD6 KINETIS_MUX('D',6,1) /* PTD6 */ 323 #define LPUART2_RX_PTD6 KINETIS_MUX('D',6,2) /* PTD6 */ 324 #define FTM2_FLT2_PTD6 KINETIS_MUX('D',6,4) /* PTD6 */ 325 #define PTD7 KINETIS_MUX('D',7,1) /* PTD7 */ 326 #define LPUART2_TX_PTD7 KINETIS_MUX('D',7,2) /* PTD7 */ 327 #define FTM2_FLT3_PTD7 KINETIS_MUX('D',7,4) /* PTD7 */ 328 #define PTD8 KINETIS_MUX('D',8,1) /* PTD8 */ 329 #define LPI2C1_SDA_PTD8 KINETIS_MUX('D',8,2) /* PTD8 */ 330 #define FTM2_FLT2_PTD8 KINETIS_MUX('D',8,4) /* PTD8 */ 331 #define FTM1_CH4_PTD8 KINETIS_MUX('D',8,6) /* PTD8 */ 332 #define ACMP1_IN5_PTD9 KINETIS_MUX('D',9,0) /* PTD9 */ 333 #define PTD9 KINETIS_MUX('D',9,1) /* PTD9 */ 334 #define LPI2C1_SCL_PTD9 KINETIS_MUX('D',9,2) /* PTD9 */ 335 #define FTM2_FLT3_PTD9 KINETIS_MUX('D',9,4) /* PTD9 */ 336 #define FTM1_CH5_PTD9 KINETIS_MUX('D',9,6) /* PTD9 */ 337 #define PTD10 KINETIS_MUX('D',10,1) /* PTD10 */ 338 #define FTM2_CH0_PTD10 KINETIS_MUX('D',10,2) /* PTD10 */ 339 #define FTM2_QD_PHB_PTD10 KINETIS_MUX('D',10,3) /* PTD10 */ 340 #define PTD11 KINETIS_MUX('D',11,1) /* PTD11 */ 341 #define FTM2_CH1_PTD11 KINETIS_MUX('D',11,2) /* PTD11 */ 342 #define FTM2_QD_PHA_PTD11 KINETIS_MUX('D',11,3) /* PTD11 */ 343 #define LPUART2_CTS_PTD11 KINETIS_MUX('D',11,6) /* PTD11 */ 344 #define PTD12 KINETIS_MUX('D',12,1) /* PTD12 */ 345 #define FTM2_CH2_PTD12 KINETIS_MUX('D',12,2) /* PTD12 */ 346 #define LPI2C1_HREQ_PTD12 KINETIS_MUX('D',12,3) /* PTD12 */ 347 #define LPUART2_RTS_PTD12 KINETIS_MUX('D',12,6) /* PTD12 */ 348 #define PTD13 KINETIS_MUX('D',13,1) /* PTD13 */ 349 #define FTM2_CH4_PTD13 KINETIS_MUX('D',13,2) /* PTD13 */ 350 #define RTC_CLKOUT_PTD13 KINETIS_MUX('D',13,7) /* PTD13 */ 351 #define PTD14 KINETIS_MUX('D',14,1) /* PTD14 */ 352 #define FTM2_CH5_PTD14 KINETIS_MUX('D',14,2) /* PTD14 */ 353 #define CLKOUT_PTD14 KINETIS_MUX('D',14,7) /* PTD14 */ 354 #define ACMP2_IN1_PTD15 KINETIS_MUX('D',15,0) /* PTD15 */ 355 #define PTD15 KINETIS_MUX('D',15,1) /* PTD15 */ 356 #define FTM0_CH0_PTD15 KINETIS_MUX('D',15,2) /* PTD15 */ 357 #define ACMP2_IN0_PTD16 KINETIS_MUX('D',16,0) /* PTD16 */ 358 #define PTD16 KINETIS_MUX('D',16,1) /* PTD16 */ 359 #define FTM0_CH1_PTD16 KINETIS_MUX('D',16,2) /* PTD16 */ 360 #define PTD17 KINETIS_MUX('D',17,1) /* PTD17 */ 361 #define FTM0_FLT2_PTD17 KINETIS_MUX('D',17,2) /* PTD17 */ 362 #define LPUART2_RX_PTD17 KINETIS_MUX('D',17,3) /* PTD17 */ 363 #define ADC2_SE7_PTE0 KINETIS_MUX('E',0,0) /* PTE0 */ 364 #define PTE0 KINETIS_MUX('E',0,1) /* PTE0 */ 365 #define LPSPI0_SCK_PTE0 KINETIS_MUX('E',0,2) /* PTE0 */ 366 #define TCLK1_PTE0 KINETIS_MUX('E',0,3) /* PTE0 */ 367 #define LPI2C1_SDA_PTE0 KINETIS_MUX('E',0,4) /* PTE0 */ 368 #define FTM1_FLT2_PTE0 KINETIS_MUX('E',0,6) /* PTE0 */ 369 #define ADC2_SE6_PTE1 KINETIS_MUX('E',1,0) /* PTE1 */ 370 #define PTE1 KINETIS_MUX('E',1,1) /* PTE1 */ 371 #define LPSPI0_SIN_PTE1 KINETIS_MUX('E',1,2) /* PTE1 */ 372 #define LPI2C0_HREQ_PTE1 KINETIS_MUX('E',1,3) /* PTE1 */ 373 #define LPI2C1_SCL_PTE1 KINETIS_MUX('E',1,4) /* PTE1 */ 374 #define FTM1_FLT1_PTE1 KINETIS_MUX('E',1,6) /* PTE1 */ 375 #define ADC1_SE10_PTE2 KINETIS_MUX('E',2,0) /* PTE2 */ 376 #define PTE2 KINETIS_MUX('E',2,1) /* PTE2 */ 377 #define LPSPI0_SOUT_PTE2 KINETIS_MUX('E',2,2) /* PTE2 */ 378 #define LPTMR0_ALT3_PTE2 KINETIS_MUX('E',2,3) /* PTE2 */ 379 #define FTM3_CH6_PTE2 KINETIS_MUX('E',2,4) /* PTE2 */ 380 #define PWT_IN3_PTE2 KINETIS_MUX('E',2,5) /* PTE2 */ 381 #define LPUART1_CTS_PTE2 KINETIS_MUX('E',2,6) /* PTE2 */ 382 #define PTE3 KINETIS_MUX('E',3,1) /* PTE3 */ 383 #define FTM0_FLT0/TRGMUX_IN6_PTE3_PTE3_PTE3_PTE3_PTE3_PTE3_PTE3_PTE3_PTE3 KINETIS_MUX('E',3,2) /* PTE3 */ 384 #define FTM0_FLT0_PTE3 KINETIS_MUX('E',3,2) /* PTE3 */ 385 #define LPUART2_RTS_PTE3 KINETIS_MUX('E',3,3) /* PTE3 */ 386 #define FTM2_FLT0/TRGMUX_IN6_PTE3_PTE3_PTE3_PTE3_PTE3_PTE3_PTE3_PTE3_PTE3 KINETIS_MUX('E',3,4) /* PTE3 */ 387 #define FTM2_FLT0_PTE3 KINETIS_MUX('E',3,4) /* PTE3 */ 388 #define TRGMUX_IN6_PTE3_PTE3_PTE3_PTE3_PTE3_PTE3_PTE3_PTE3 KINETIS_MUX('E',3,6) /* PTE3 */ 389 #define TRGMUX_IN6_PTE3 KINETIS_MUX('E',3,6) /* PTE3 */ 390 #define ACMP2_OUT_PTE3 KINETIS_MUX('E',3,7) /* PTE3 */ 391 #define PTE4 KINETIS_MUX('E',4,1) /* PTE4 */ 392 #define BUSOUT_PTE4 KINETIS_MUX('E',4,2) /* PTE4 */ 393 #define FTM2_QD_PHB_PTE4 KINETIS_MUX('E',4,3) /* PTE4 */ 394 #define FTM2_CH2_PTE4 KINETIS_MUX('E',4,4) /* PTE4 */ 395 #define CAN0_RX_PTE4 KINETIS_MUX('E',4,5) /* PTE4 */ 396 #define FXIO_D6_PTE4 KINETIS_MUX('E',4,6) /* PTE4 */ 397 #define EWM_OUT_b_PTE4 KINETIS_MUX('E',4,7) /* PTE4 */ 398 #define PTE5 KINETIS_MUX('E',5,1) /* PTE5 */ 399 #define TCLK2_PTE5 KINETIS_MUX('E',5,2) /* PTE5 */ 400 #define FTM2_QD_PHA_PTE5 KINETIS_MUX('E',5,3) /* PTE5 */ 401 #define FTM2_CH3_PTE5 KINETIS_MUX('E',5,4) /* PTE5 */ 402 #define CAN0_TX_PTE5 KINETIS_MUX('E',5,5) /* PTE5 */ 403 #define FXIO_D7_PTE5 KINETIS_MUX('E',5,6) /* PTE5 */ 404 #define EWM_IN_PTE5 KINETIS_MUX('E',5,7) /* PTE5 */ 405 #define ADC1_SE11_PTE6 KINETIS_MUX('E',6,0) /* PTE6 */ 406 #define ACMP0_IN6_PTE6 KINETIS_MUX('E',6,0) /* PTE6 */ 407 #define PTE6 KINETIS_MUX('E',6,1) /* PTE6 */ 408 #define LPSPI0_PCS2_PTE6 KINETIS_MUX('E',6,2) /* PTE6 */ 409 #define FTM3_CH7_PTE6 KINETIS_MUX('E',6,4) /* PTE6 */ 410 #define LPUART1_RTS_PTE6 KINETIS_MUX('E',6,6) /* PTE6 */ 411 #define ADC2_SE2_PTE7 KINETIS_MUX('E',7,0) /* PTE7 */ 412 #define ACMP2_IN6_PTE7 KINETIS_MUX('E',7,0) /* PTE7 */ 413 #define PTE7 KINETIS_MUX('E',7,1) /* PTE7 */ 414 #define FTM0_CH7_PTE7 KINETIS_MUX('E',7,2) /* PTE7 */ 415 #define FTM3_FLT0_PTE7 KINETIS_MUX('E',7,3) /* PTE7 */ 416 #define ACMP0_IN3_PTE8 KINETIS_MUX('E',8,0) /* PTE8 */ 417 #define PTE8 KINETIS_MUX('E',8,1) /* PTE8 */ 418 #define FTM0_CH6_PTE8 KINETIS_MUX('E',8,2) /* PTE8 */ 419 #define ACMP2_IN2_PTE9 KINETIS_MUX('E',9,0) /* PTE9 */ 420 #define DAC0_OUT_PTE9 KINETIS_MUX('E',9,0) /* PTE9 */ 421 #define PTE9 KINETIS_MUX('E',9,1) /* PTE9 */ 422 #define FTM0_CH7_PTE9 KINETIS_MUX('E',9,2) /* PTE9 */ 423 #define LPUART2_CTS_PTE9 KINETIS_MUX('E',9,3) /* PTE9 */ 424 #define ADC2_SE12_PTE10 KINETIS_MUX('E',10,0) /* PTE10 */ 425 #define PTE10 KINETIS_MUX('E',10,1) /* PTE10 */ 426 #define CLKOUT_PTE10 KINETIS_MUX('E',10,2) /* PTE10 */ 427 #define FTM2_CH4_PTE10 KINETIS_MUX('E',10,4) /* PTE10 */ 428 #define FXIO_D4_PTE10 KINETIS_MUX('E',10,6) /* PTE10 */ 429 #define TRGMUX_OUT4_PTE10 KINETIS_MUX('E',10,7) /* PTE10 */ 430 #define TRGMUX_OUT4_PTE10_PTE10_PTE10_PTE10_PTE10_PTE10_PTE10_PTE10 KINETIS_MUX('E',10,7) /* PTE10 */ 431 #define ADC2_SE13_PTE11 KINETIS_MUX('E',11,0) /* PTE11 */ 432 #define PTE11 KINETIS_MUX('E',11,1) /* PTE11 */ 433 #define PWT_IN1_PTE11 KINETIS_MUX('E',11,2) /* PTE11 */ 434 #define LPTMR0_ALT1_PTE11 KINETIS_MUX('E',11,3) /* PTE11 */ 435 #define FTM2_CH5_PTE11 KINETIS_MUX('E',11,4) /* PTE11 */ 436 #define FXIO_D5_PTE11 KINETIS_MUX('E',11,6) /* PTE11 */ 437 #define TRGMUX_OUT5_PTE11_PTE11_PTE11_PTE11_PTE11_PTE11_PTE11_PTE11 KINETIS_MUX('E',11,7) /* PTE11 */ 438 #define TRGMUX_OUT5_PTE11 KINETIS_MUX('E',11,7) /* PTE11 */ 439 #define PTE12 KINETIS_MUX('E',12,1) /* PTE12 */ 440 #define FTM0_FLT3_PTE12 KINETIS_MUX('E',12,2) /* PTE12 */ 441 #define LPUART2_TX_PTE12 KINETIS_MUX('E',12,3) /* PTE12 */ 442 #define PTE13 KINETIS_MUX('E',13,1) /* PTE13 */ 443 #define FTM2_FLT0_PTE13 KINETIS_MUX('E',13,4) /* PTE13 */ 444 #define ACMP2_IN3_PTE14 KINETIS_MUX('E',14,0) /* PTE14 */ 445 #define PTE14 KINETIS_MUX('E',14,1) /* PTE14 */ 446 #define FTM0_FLT1_PTE14 KINETIS_MUX('E',14,2) /* PTE14 */ 447 #define FTM2_FLT1_PTE14 KINETIS_MUX('E',14,4) /* PTE14 */ 448 #define PTE15 KINETIS_MUX('E',15,1) /* PTE15 */ 449 #define FTM2_CH6_PTE15 KINETIS_MUX('E',15,4) /* PTE15 */ 450 #define FXIO_D2_PTE15 KINETIS_MUX('E',15,6) /* PTE15 */ 451 #define TRGMUX_OUT6_PTE15_PTE15_PTE15_PTE15_PTE15_PTE15_PTE15_PTE15 KINETIS_MUX('E',15,7) /* PTE15 */ 452 #define TRGMUX_OUT6_PTE15 KINETIS_MUX('E',15,7) /* PTE15 */ 453 #define PTE16 KINETIS_MUX('E',16,1) /* PTE16 */ 454 #define FTM2_CH7_PTE16 KINETIS_MUX('E',16,4) /* PTE16 */ 455 #define FXIO_D3_PTE16 KINETIS_MUX('E',16,6) /* PTE16 */ 456 #define TRGMUX_OUT7_PTE16_PTE16_PTE16_PTE16_PTE16_PTE16_PTE16_PTE16 KINETIS_MUX('E',16,7) /* PTE16 */ 457 #define TRGMUX_OUT7_PTE16 KINETIS_MUX('E',16,7) /* PTE16 */ 458 #endif 459