1 /** 2 * \file 3 * 4 * \brief Peripheral I/O description for SAM4LC4B 5 * 6 * Copyright (c) 2016 Atmel Corporation, 7 * a wholly owned subsidiary of Microchip Technology Inc. 8 * 9 * \asf_license_start 10 * 11 * \page License 12 * 13 * Licensed under the Apache License, Version 2.0 (the "License"); 14 * you may not use this file except in compliance with the License. 15 * You may obtain a copy of the Licence at 16 * 17 * http://www.apache.org/licenses/LICENSE-2.0 18 * 19 * Unless required by applicable law or agreed to in writing, software 20 * distributed under the License is distributed on an "AS IS" BASIS, 21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 22 * See the License for the specific language governing permissions and 23 * limitations under the License. 24 * 25 * \asf_license_stop 26 * 27 */ 28 29 #ifndef _SAM4LC4B_PIO_ 30 #define _SAM4LC4B_PIO_ 31 32 #define PIN_PA00 0 /**< \brief Pin Number for PA00 */ 33 #define GPIO_PA00 _UL_(1 << 0) /**< \brief GPIO Mask for PA00 */ 34 #define PIN_PA01 1 /**< \brief Pin Number for PA01 */ 35 #define GPIO_PA01 _UL_(1 << 1) /**< \brief GPIO Mask for PA01 */ 36 #define PIN_PA02 2 /**< \brief Pin Number for PA02 */ 37 #define GPIO_PA02 _UL_(1 << 2) /**< \brief GPIO Mask for PA02 */ 38 #define PIN_PA03 3 /**< \brief Pin Number for PA03 */ 39 #define GPIO_PA03 _UL_(1 << 3) /**< \brief GPIO Mask for PA03 */ 40 #define PIN_PA04 4 /**< \brief Pin Number for PA04 */ 41 #define GPIO_PA04 _UL_(1 << 4) /**< \brief GPIO Mask for PA04 */ 42 #define PIN_PA05 5 /**< \brief Pin Number for PA05 */ 43 #define GPIO_PA05 _UL_(1 << 5) /**< \brief GPIO Mask for PA05 */ 44 #define PIN_PA06 6 /**< \brief Pin Number for PA06 */ 45 #define GPIO_PA06 _UL_(1 << 6) /**< \brief GPIO Mask for PA06 */ 46 #define PIN_PA07 7 /**< \brief Pin Number for PA07 */ 47 #define GPIO_PA07 _UL_(1 << 7) /**< \brief GPIO Mask for PA07 */ 48 #define PIN_PA08 8 /**< \brief Pin Number for PA08 */ 49 #define GPIO_PA08 _UL_(1 << 8) /**< \brief GPIO Mask for PA08 */ 50 #define PIN_PA09 9 /**< \brief Pin Number for PA09 */ 51 #define GPIO_PA09 _UL_(1 << 9) /**< \brief GPIO Mask for PA09 */ 52 #define PIN_PA10 10 /**< \brief Pin Number for PA10 */ 53 #define GPIO_PA10 _UL_(1 << 10) /**< \brief GPIO Mask for PA10 */ 54 #define PIN_PA11 11 /**< \brief Pin Number for PA11 */ 55 #define GPIO_PA11 _UL_(1 << 11) /**< \brief GPIO Mask for PA11 */ 56 #define PIN_PA12 12 /**< \brief Pin Number for PA12 */ 57 #define GPIO_PA12 _UL_(1 << 12) /**< \brief GPIO Mask for PA12 */ 58 #define PIN_PA13 13 /**< \brief Pin Number for PA13 */ 59 #define GPIO_PA13 _UL_(1 << 13) /**< \brief GPIO Mask for PA13 */ 60 #define PIN_PA14 14 /**< \brief Pin Number for PA14 */ 61 #define GPIO_PA14 _UL_(1 << 14) /**< \brief GPIO Mask for PA14 */ 62 #define PIN_PA15 15 /**< \brief Pin Number for PA15 */ 63 #define GPIO_PA15 _UL_(1 << 15) /**< \brief GPIO Mask for PA15 */ 64 #define PIN_PA16 16 /**< \brief Pin Number for PA16 */ 65 #define GPIO_PA16 _UL_(1 << 16) /**< \brief GPIO Mask for PA16 */ 66 #define PIN_PA17 17 /**< \brief Pin Number for PA17 */ 67 #define GPIO_PA17 _UL_(1 << 17) /**< \brief GPIO Mask for PA17 */ 68 #define PIN_PA18 18 /**< \brief Pin Number for PA18 */ 69 #define GPIO_PA18 _UL_(1 << 18) /**< \brief GPIO Mask for PA18 */ 70 #define PIN_PA19 19 /**< \brief Pin Number for PA19 */ 71 #define GPIO_PA19 _UL_(1 << 19) /**< \brief GPIO Mask for PA19 */ 72 #define PIN_PA20 20 /**< \brief Pin Number for PA20 */ 73 #define GPIO_PA20 _UL_(1 << 20) /**< \brief GPIO Mask for PA20 */ 74 #define PIN_PA21 21 /**< \brief Pin Number for PA21 */ 75 #define GPIO_PA21 _UL_(1 << 21) /**< \brief GPIO Mask for PA21 */ 76 #define PIN_PA22 22 /**< \brief Pin Number for PA22 */ 77 #define GPIO_PA22 _UL_(1 << 22) /**< \brief GPIO Mask for PA22 */ 78 #define PIN_PA23 23 /**< \brief Pin Number for PA23 */ 79 #define GPIO_PA23 _UL_(1 << 23) /**< \brief GPIO Mask for PA23 */ 80 #define PIN_PA24 24 /**< \brief Pin Number for PA24 */ 81 #define GPIO_PA24 _UL_(1 << 24) /**< \brief GPIO Mask for PA24 */ 82 #define PIN_PA25 25 /**< \brief Pin Number for PA25 */ 83 #define GPIO_PA25 _UL_(1 << 25) /**< \brief GPIO Mask for PA25 */ 84 #define PIN_PA26 26 /**< \brief Pin Number for PA26 */ 85 #define GPIO_PA26 _UL_(1 << 26) /**< \brief GPIO Mask for PA26 */ 86 #define PIN_PB00 32 /**< \brief Pin Number for PB00 */ 87 #define GPIO_PB00 _UL_(1 << 0) /**< \brief GPIO Mask for PB00 */ 88 #define PIN_PB01 33 /**< \brief Pin Number for PB01 */ 89 #define GPIO_PB01 _UL_(1 << 1) /**< \brief GPIO Mask for PB01 */ 90 #define PIN_PB02 34 /**< \brief Pin Number for PB02 */ 91 #define GPIO_PB02 _UL_(1 << 2) /**< \brief GPIO Mask for PB02 */ 92 #define PIN_PB03 35 /**< \brief Pin Number for PB03 */ 93 #define GPIO_PB03 _UL_(1 << 3) /**< \brief GPIO Mask for PB03 */ 94 #define PIN_PB04 36 /**< \brief Pin Number for PB04 */ 95 #define GPIO_PB04 _UL_(1 << 4) /**< \brief GPIO Mask for PB04 */ 96 #define PIN_PB05 37 /**< \brief Pin Number for PB05 */ 97 #define GPIO_PB05 _UL_(1 << 5) /**< \brief GPIO Mask for PB05 */ 98 #define PIN_PB06 38 /**< \brief Pin Number for PB06 */ 99 #define GPIO_PB06 _UL_(1 << 6) /**< \brief GPIO Mask for PB06 */ 100 #define PIN_PB07 39 /**< \brief Pin Number for PB07 */ 101 #define GPIO_PB07 _UL_(1 << 7) /**< \brief GPIO Mask for PB07 */ 102 #define PIN_PB08 40 /**< \brief Pin Number for PB08 */ 103 #define GPIO_PB08 _UL_(1 << 8) /**< \brief GPIO Mask for PB08 */ 104 #define PIN_PB09 41 /**< \brief Pin Number for PB09 */ 105 #define GPIO_PB09 _UL_(1 << 9) /**< \brief GPIO Mask for PB09 */ 106 #define PIN_PB10 42 /**< \brief Pin Number for PB10 */ 107 #define GPIO_PB10 _UL_(1 << 10) /**< \brief GPIO Mask for PB10 */ 108 #define PIN_PB11 43 /**< \brief Pin Number for PB11 */ 109 #define GPIO_PB11 _UL_(1 << 11) /**< \brief GPIO Mask for PB11 */ 110 #define PIN_PB12 44 /**< \brief Pin Number for PB12 */ 111 #define GPIO_PB12 _UL_(1 << 12) /**< \brief GPIO Mask for PB12 */ 112 #define PIN_PB13 45 /**< \brief Pin Number for PB13 */ 113 #define GPIO_PB13 _UL_(1 << 13) /**< \brief GPIO Mask for PB13 */ 114 #define PIN_PB14 46 /**< \brief Pin Number for PB14 */ 115 #define GPIO_PB14 _UL_(1 << 14) /**< \brief GPIO Mask for PB14 */ 116 #define PIN_PB15 47 /**< \brief Pin Number for PB15 */ 117 #define GPIO_PB15 _UL_(1 << 15) /**< \brief GPIO Mask for PB15 */ 118 /* ========== GPIO definition for TWIMS0 peripheral ========== */ 119 #define PIN_PA24B_TWIMS0_TWCK _L_(24) /**< \brief TWIMS0 signal: TWCK on PA24 mux B */ 120 #define MUX_PA24B_TWIMS0_TWCK _L_(1) 121 #define PINMUX_PA24B_TWIMS0_TWCK ((PIN_PA24B_TWIMS0_TWCK << 16) | MUX_PA24B_TWIMS0_TWCK) 122 #define GPIO_PA24B_TWIMS0_TWCK _UL_(1 << 24) 123 #define PIN_PA23B_TWIMS0_TWD _L_(23) /**< \brief TWIMS0 signal: TWD on PA23 mux B */ 124 #define MUX_PA23B_TWIMS0_TWD _L_(1) 125 #define PINMUX_PA23B_TWIMS0_TWD ((PIN_PA23B_TWIMS0_TWD << 16) | MUX_PA23B_TWIMS0_TWD) 126 #define GPIO_PA23B_TWIMS0_TWD _UL_(1 << 23) 127 /* ========== GPIO definition for TWIMS1 peripheral ========== */ 128 #define PIN_PB01A_TWIMS1_TWCK _L_(33) /**< \brief TWIMS1 signal: TWCK on PB01 mux A */ 129 #define MUX_PB01A_TWIMS1_TWCK _L_(0) 130 #define PINMUX_PB01A_TWIMS1_TWCK ((PIN_PB01A_TWIMS1_TWCK << 16) | MUX_PB01A_TWIMS1_TWCK) 131 #define GPIO_PB01A_TWIMS1_TWCK _UL_(1 << 1) 132 #define PIN_PB00A_TWIMS1_TWD _L_(32) /**< \brief TWIMS1 signal: TWD on PB00 mux A */ 133 #define MUX_PB00A_TWIMS1_TWD _L_(0) 134 #define PINMUX_PB00A_TWIMS1_TWD ((PIN_PB00A_TWIMS1_TWD << 16) | MUX_PB00A_TWIMS1_TWD) 135 #define GPIO_PB00A_TWIMS1_TWD _UL_(1 << 0) 136 /* ========== GPIO definition for TWIMS2 peripheral ========== */ 137 #define PIN_PA22E_TWIMS2_TWCK _L_(22) /**< \brief TWIMS2 signal: TWCK on PA22 mux E */ 138 #define MUX_PA22E_TWIMS2_TWCK _L_(4) 139 #define PINMUX_PA22E_TWIMS2_TWCK ((PIN_PA22E_TWIMS2_TWCK << 16) | MUX_PA22E_TWIMS2_TWCK) 140 #define GPIO_PA22E_TWIMS2_TWCK _UL_(1 << 22) 141 #define PIN_PA21E_TWIMS2_TWD _L_(21) /**< \brief TWIMS2 signal: TWD on PA21 mux E */ 142 #define MUX_PA21E_TWIMS2_TWD _L_(4) 143 #define PINMUX_PA21E_TWIMS2_TWD ((PIN_PA21E_TWIMS2_TWD << 16) | MUX_PA21E_TWIMS2_TWD) 144 #define GPIO_PA21E_TWIMS2_TWD _UL_(1 << 21) 145 /* ========== GPIO definition for TWIMS3 peripheral ========== */ 146 #define PIN_PB15C_TWIMS3_TWCK _L_(47) /**< \brief TWIMS3 signal: TWCK on PB15 mux C */ 147 #define MUX_PB15C_TWIMS3_TWCK _L_(2) 148 #define PINMUX_PB15C_TWIMS3_TWCK ((PIN_PB15C_TWIMS3_TWCK << 16) | MUX_PB15C_TWIMS3_TWCK) 149 #define GPIO_PB15C_TWIMS3_TWCK _UL_(1 << 15) 150 #define PIN_PB14C_TWIMS3_TWD _L_(46) /**< \brief TWIMS3 signal: TWD on PB14 mux C */ 151 #define MUX_PB14C_TWIMS3_TWD _L_(2) 152 #define PINMUX_PB14C_TWIMS3_TWD ((PIN_PB14C_TWIMS3_TWD << 16) | MUX_PB14C_TWIMS3_TWD) 153 #define GPIO_PB14C_TWIMS3_TWD _UL_(1 << 14) 154 /* ========== GPIO definition for IISC peripheral ========== */ 155 #define PIN_PB05D_IISC_IMCK _L_(37) /**< \brief IISC signal: IMCK on PB05 mux D */ 156 #define MUX_PB05D_IISC_IMCK _L_(3) 157 #define PINMUX_PB05D_IISC_IMCK ((PIN_PB05D_IISC_IMCK << 16) | MUX_PB05D_IISC_IMCK) 158 #define GPIO_PB05D_IISC_IMCK _UL_(1 << 5) 159 #define PIN_PB02D_IISC_ISCK _L_(34) /**< \brief IISC signal: ISCK on PB02 mux D */ 160 #define MUX_PB02D_IISC_ISCK _L_(3) 161 #define PINMUX_PB02D_IISC_ISCK ((PIN_PB02D_IISC_ISCK << 16) | MUX_PB02D_IISC_ISCK) 162 #define GPIO_PB02D_IISC_ISCK _UL_(1 << 2) 163 #define PIN_PB03D_IISC_ISDI _L_(35) /**< \brief IISC signal: ISDI on PB03 mux D */ 164 #define MUX_PB03D_IISC_ISDI _L_(3) 165 #define PINMUX_PB03D_IISC_ISDI ((PIN_PB03D_IISC_ISDI << 16) | MUX_PB03D_IISC_ISDI) 166 #define GPIO_PB03D_IISC_ISDI _UL_(1 << 3) 167 #define PIN_PB04D_IISC_ISDO _L_(36) /**< \brief IISC signal: ISDO on PB04 mux D */ 168 #define MUX_PB04D_IISC_ISDO _L_(3) 169 #define PINMUX_PB04D_IISC_ISDO ((PIN_PB04D_IISC_ISDO << 16) | MUX_PB04D_IISC_ISDO) 170 #define GPIO_PB04D_IISC_ISDO _UL_(1 << 4) 171 #define PIN_PB06D_IISC_IWS _L_(38) /**< \brief IISC signal: IWS on PB06 mux D */ 172 #define MUX_PB06D_IISC_IWS _L_(3) 173 #define PINMUX_PB06D_IISC_IWS ((PIN_PB06D_IISC_IWS << 16) | MUX_PB06D_IISC_IWS) 174 #define GPIO_PB06D_IISC_IWS _UL_(1 << 6) 175 /* ========== GPIO definition for SPI peripheral ========== */ 176 #define PIN_PA03B_SPI_MISO _L_(3) /**< \brief SPI signal: MISO on PA03 mux B */ 177 #define MUX_PA03B_SPI_MISO _L_(1) 178 #define PINMUX_PA03B_SPI_MISO ((PIN_PA03B_SPI_MISO << 16) | MUX_PA03B_SPI_MISO) 179 #define GPIO_PA03B_SPI_MISO _UL_(1 << 3) 180 #define PIN_PB14B_SPI_MISO _L_(46) /**< \brief SPI signal: MISO on PB14 mux B */ 181 #define MUX_PB14B_SPI_MISO _L_(1) 182 #define PINMUX_PB14B_SPI_MISO ((PIN_PB14B_SPI_MISO << 16) | MUX_PB14B_SPI_MISO) 183 #define GPIO_PB14B_SPI_MISO _UL_(1 << 14) 184 #define PIN_PA21A_SPI_MISO _L_(21) /**< \brief SPI signal: MISO on PA21 mux A */ 185 #define MUX_PA21A_SPI_MISO _L_(0) 186 #define PINMUX_PA21A_SPI_MISO ((PIN_PA21A_SPI_MISO << 16) | MUX_PA21A_SPI_MISO) 187 #define GPIO_PA21A_SPI_MISO _UL_(1 << 21) 188 #define PIN_PB15B_SPI_MOSI _L_(47) /**< \brief SPI signal: MOSI on PB15 mux B */ 189 #define MUX_PB15B_SPI_MOSI _L_(1) 190 #define PINMUX_PB15B_SPI_MOSI ((PIN_PB15B_SPI_MOSI << 16) | MUX_PB15B_SPI_MOSI) 191 #define GPIO_PB15B_SPI_MOSI _UL_(1 << 15) 192 #define PIN_PA22A_SPI_MOSI _L_(22) /**< \brief SPI signal: MOSI on PA22 mux A */ 193 #define MUX_PA22A_SPI_MOSI _L_(0) 194 #define PINMUX_PA22A_SPI_MOSI ((PIN_PA22A_SPI_MOSI << 16) | MUX_PA22A_SPI_MOSI) 195 #define GPIO_PA22A_SPI_MOSI _UL_(1 << 22) 196 #define PIN_PA02B_SPI_NPCS0 _L_(2) /**< \brief SPI signal: NPCS0 on PA02 mux B */ 197 #define MUX_PA02B_SPI_NPCS0 _L_(1) 198 #define PINMUX_PA02B_SPI_NPCS0 ((PIN_PA02B_SPI_NPCS0 << 16) | MUX_PA02B_SPI_NPCS0) 199 #define GPIO_PA02B_SPI_NPCS0 _UL_(1 << 2) 200 #define PIN_PA24A_SPI_NPCS0 _L_(24) /**< \brief SPI signal: NPCS0 on PA24 mux A */ 201 #define MUX_PA24A_SPI_NPCS0 _L_(0) 202 #define PINMUX_PA24A_SPI_NPCS0 ((PIN_PA24A_SPI_NPCS0 << 16) | MUX_PA24A_SPI_NPCS0) 203 #define GPIO_PA24A_SPI_NPCS0 _UL_(1 << 24) 204 #define PIN_PA13C_SPI_NPCS1 _L_(13) /**< \brief SPI signal: NPCS1 on PA13 mux C */ 205 #define MUX_PA13C_SPI_NPCS1 _L_(2) 206 #define PINMUX_PA13C_SPI_NPCS1 ((PIN_PA13C_SPI_NPCS1 << 16) | MUX_PA13C_SPI_NPCS1) 207 #define GPIO_PA13C_SPI_NPCS1 _UL_(1 << 13) 208 #define PIN_PB13B_SPI_NPCS1 _L_(45) /**< \brief SPI signal: NPCS1 on PB13 mux B */ 209 #define MUX_PB13B_SPI_NPCS1 _L_(1) 210 #define PINMUX_PB13B_SPI_NPCS1 ((PIN_PB13B_SPI_NPCS1 << 16) | MUX_PB13B_SPI_NPCS1) 211 #define GPIO_PB13B_SPI_NPCS1 _UL_(1 << 13) 212 #define PIN_PA14C_SPI_NPCS2 _L_(14) /**< \brief SPI signal: NPCS2 on PA14 mux C */ 213 #define MUX_PA14C_SPI_NPCS2 _L_(2) 214 #define PINMUX_PA14C_SPI_NPCS2 ((PIN_PA14C_SPI_NPCS2 << 16) | MUX_PA14C_SPI_NPCS2) 215 #define GPIO_PA14C_SPI_NPCS2 _UL_(1 << 14) 216 #define PIN_PB11B_SPI_NPCS2 _L_(43) /**< \brief SPI signal: NPCS2 on PB11 mux B */ 217 #define MUX_PB11B_SPI_NPCS2 _L_(1) 218 #define PINMUX_PB11B_SPI_NPCS2 ((PIN_PB11B_SPI_NPCS2 << 16) | MUX_PB11B_SPI_NPCS2) 219 #define GPIO_PB11B_SPI_NPCS2 _UL_(1 << 11) 220 #define PIN_PA15C_SPI_NPCS3 _L_(15) /**< \brief SPI signal: NPCS3 on PA15 mux C */ 221 #define MUX_PA15C_SPI_NPCS3 _L_(2) 222 #define PINMUX_PA15C_SPI_NPCS3 ((PIN_PA15C_SPI_NPCS3 << 16) | MUX_PA15C_SPI_NPCS3) 223 #define GPIO_PA15C_SPI_NPCS3 _UL_(1 << 15) 224 #define PIN_PB12B_SPI_NPCS3 _L_(44) /**< \brief SPI signal: NPCS3 on PB12 mux B */ 225 #define MUX_PB12B_SPI_NPCS3 _L_(1) 226 #define PINMUX_PB12B_SPI_NPCS3 ((PIN_PB12B_SPI_NPCS3 << 16) | MUX_PB12B_SPI_NPCS3) 227 #define GPIO_PB12B_SPI_NPCS3 _UL_(1 << 12) 228 #define PIN_PA23A_SPI_SCK _L_(23) /**< \brief SPI signal: SCK on PA23 mux A */ 229 #define MUX_PA23A_SPI_SCK _L_(0) 230 #define PINMUX_PA23A_SPI_SCK ((PIN_PA23A_SPI_SCK << 16) | MUX_PA23A_SPI_SCK) 231 #define GPIO_PA23A_SPI_SCK _UL_(1 << 23) 232 /* ========== GPIO definition for TC0 peripheral ========== */ 233 #define PIN_PB07D_TC0_A0 _L_(39) /**< \brief TC0 signal: A0 on PB07 mux D */ 234 #define MUX_PB07D_TC0_A0 _L_(3) 235 #define PINMUX_PB07D_TC0_A0 ((PIN_PB07D_TC0_A0 << 16) | MUX_PB07D_TC0_A0) 236 #define GPIO_PB07D_TC0_A0 _UL_(1 << 7) 237 #define PIN_PA08B_TC0_A0 _L_(8) /**< \brief TC0 signal: A0 on PA08 mux B */ 238 #define MUX_PA08B_TC0_A0 _L_(1) 239 #define PINMUX_PA08B_TC0_A0 ((PIN_PA08B_TC0_A0 << 16) | MUX_PA08B_TC0_A0) 240 #define GPIO_PA08B_TC0_A0 _UL_(1 << 8) 241 #define PIN_PB09D_TC0_A1 _L_(41) /**< \brief TC0 signal: A1 on PB09 mux D */ 242 #define MUX_PB09D_TC0_A1 _L_(3) 243 #define PINMUX_PB09D_TC0_A1 ((PIN_PB09D_TC0_A1 << 16) | MUX_PB09D_TC0_A1) 244 #define GPIO_PB09D_TC0_A1 _UL_(1 << 9) 245 #define PIN_PA10B_TC0_A1 _L_(10) /**< \brief TC0 signal: A1 on PA10 mux B */ 246 #define MUX_PA10B_TC0_A1 _L_(1) 247 #define PINMUX_PA10B_TC0_A1 ((PIN_PA10B_TC0_A1 << 16) | MUX_PA10B_TC0_A1) 248 #define GPIO_PA10B_TC0_A1 _UL_(1 << 10) 249 #define PIN_PB11D_TC0_A2 _L_(43) /**< \brief TC0 signal: A2 on PB11 mux D */ 250 #define MUX_PB11D_TC0_A2 _L_(3) 251 #define PINMUX_PB11D_TC0_A2 ((PIN_PB11D_TC0_A2 << 16) | MUX_PB11D_TC0_A2) 252 #define GPIO_PB11D_TC0_A2 _UL_(1 << 11) 253 #define PIN_PA12B_TC0_A2 _L_(12) /**< \brief TC0 signal: A2 on PA12 mux B */ 254 #define MUX_PA12B_TC0_A2 _L_(1) 255 #define PINMUX_PA12B_TC0_A2 ((PIN_PA12B_TC0_A2 << 16) | MUX_PA12B_TC0_A2) 256 #define GPIO_PA12B_TC0_A2 _UL_(1 << 12) 257 #define PIN_PB08D_TC0_B0 _L_(40) /**< \brief TC0 signal: B0 on PB08 mux D */ 258 #define MUX_PB08D_TC0_B0 _L_(3) 259 #define PINMUX_PB08D_TC0_B0 ((PIN_PB08D_TC0_B0 << 16) | MUX_PB08D_TC0_B0) 260 #define GPIO_PB08D_TC0_B0 _UL_(1 << 8) 261 #define PIN_PA09B_TC0_B0 _L_(9) /**< \brief TC0 signal: B0 on PA09 mux B */ 262 #define MUX_PA09B_TC0_B0 _L_(1) 263 #define PINMUX_PA09B_TC0_B0 ((PIN_PA09B_TC0_B0 << 16) | MUX_PA09B_TC0_B0) 264 #define GPIO_PA09B_TC0_B0 _UL_(1 << 9) 265 #define PIN_PB10D_TC0_B1 _L_(42) /**< \brief TC0 signal: B1 on PB10 mux D */ 266 #define MUX_PB10D_TC0_B1 _L_(3) 267 #define PINMUX_PB10D_TC0_B1 ((PIN_PB10D_TC0_B1 << 16) | MUX_PB10D_TC0_B1) 268 #define GPIO_PB10D_TC0_B1 _UL_(1 << 10) 269 #define PIN_PA11B_TC0_B1 _L_(11) /**< \brief TC0 signal: B1 on PA11 mux B */ 270 #define MUX_PA11B_TC0_B1 _L_(1) 271 #define PINMUX_PA11B_TC0_B1 ((PIN_PA11B_TC0_B1 << 16) | MUX_PA11B_TC0_B1) 272 #define GPIO_PA11B_TC0_B1 _UL_(1 << 11) 273 #define PIN_PB12D_TC0_B2 _L_(44) /**< \brief TC0 signal: B2 on PB12 mux D */ 274 #define MUX_PB12D_TC0_B2 _L_(3) 275 #define PINMUX_PB12D_TC0_B2 ((PIN_PB12D_TC0_B2 << 16) | MUX_PB12D_TC0_B2) 276 #define GPIO_PB12D_TC0_B2 _UL_(1 << 12) 277 #define PIN_PA13B_TC0_B2 _L_(13) /**< \brief TC0 signal: B2 on PA13 mux B */ 278 #define MUX_PA13B_TC0_B2 _L_(1) 279 #define PINMUX_PA13B_TC0_B2 ((PIN_PA13B_TC0_B2 << 16) | MUX_PA13B_TC0_B2) 280 #define GPIO_PA13B_TC0_B2 _UL_(1 << 13) 281 #define PIN_PB13D_TC0_CLK0 _L_(45) /**< \brief TC0 signal: CLK0 on PB13 mux D */ 282 #define MUX_PB13D_TC0_CLK0 _L_(3) 283 #define PINMUX_PB13D_TC0_CLK0 ((PIN_PB13D_TC0_CLK0 << 16) | MUX_PB13D_TC0_CLK0) 284 #define GPIO_PB13D_TC0_CLK0 _UL_(1 << 13) 285 #define PIN_PA14B_TC0_CLK0 _L_(14) /**< \brief TC0 signal: CLK0 on PA14 mux B */ 286 #define MUX_PA14B_TC0_CLK0 _L_(1) 287 #define PINMUX_PA14B_TC0_CLK0 ((PIN_PA14B_TC0_CLK0 << 16) | MUX_PA14B_TC0_CLK0) 288 #define GPIO_PA14B_TC0_CLK0 _UL_(1 << 14) 289 #define PIN_PB14D_TC0_CLK1 _L_(46) /**< \brief TC0 signal: CLK1 on PB14 mux D */ 290 #define MUX_PB14D_TC0_CLK1 _L_(3) 291 #define PINMUX_PB14D_TC0_CLK1 ((PIN_PB14D_TC0_CLK1 << 16) | MUX_PB14D_TC0_CLK1) 292 #define GPIO_PB14D_TC0_CLK1 _UL_(1 << 14) 293 #define PIN_PA15B_TC0_CLK1 _L_(15) /**< \brief TC0 signal: CLK1 on PA15 mux B */ 294 #define MUX_PA15B_TC0_CLK1 _L_(1) 295 #define PINMUX_PA15B_TC0_CLK1 ((PIN_PA15B_TC0_CLK1 << 16) | MUX_PA15B_TC0_CLK1) 296 #define GPIO_PA15B_TC0_CLK1 _UL_(1 << 15) 297 #define PIN_PB15D_TC0_CLK2 _L_(47) /**< \brief TC0 signal: CLK2 on PB15 mux D */ 298 #define MUX_PB15D_TC0_CLK2 _L_(3) 299 #define PINMUX_PB15D_TC0_CLK2 ((PIN_PB15D_TC0_CLK2 << 16) | MUX_PB15D_TC0_CLK2) 300 #define GPIO_PB15D_TC0_CLK2 _UL_(1 << 15) 301 #define PIN_PA16B_TC0_CLK2 _L_(16) /**< \brief TC0 signal: CLK2 on PA16 mux B */ 302 #define MUX_PA16B_TC0_CLK2 _L_(1) 303 #define PINMUX_PA16B_TC0_CLK2 ((PIN_PA16B_TC0_CLK2 << 16) | MUX_PA16B_TC0_CLK2) 304 #define GPIO_PA16B_TC0_CLK2 _UL_(1 << 16) 305 /* ========== GPIO definition for USART0 peripheral ========== */ 306 #define PIN_PA04B_USART0_CLK _L_(4) /**< \brief USART0 signal: CLK on PA04 mux B */ 307 #define MUX_PA04B_USART0_CLK _L_(1) 308 #define PINMUX_PA04B_USART0_CLK ((PIN_PA04B_USART0_CLK << 16) | MUX_PA04B_USART0_CLK) 309 #define GPIO_PA04B_USART0_CLK _UL_(1 << 4) 310 #define PIN_PA10A_USART0_CLK _L_(10) /**< \brief USART0 signal: CLK on PA10 mux A */ 311 #define MUX_PA10A_USART0_CLK _L_(0) 312 #define PINMUX_PA10A_USART0_CLK ((PIN_PA10A_USART0_CLK << 16) | MUX_PA10A_USART0_CLK) 313 #define GPIO_PA10A_USART0_CLK _UL_(1 << 10) 314 #define PIN_PB13A_USART0_CLK _L_(45) /**< \brief USART0 signal: CLK on PB13 mux A */ 315 #define MUX_PB13A_USART0_CLK _L_(0) 316 #define PINMUX_PB13A_USART0_CLK ((PIN_PB13A_USART0_CLK << 16) | MUX_PB13A_USART0_CLK) 317 #define GPIO_PB13A_USART0_CLK _UL_(1 << 13) 318 #define PIN_PA09A_USART0_CTS _L_(9) /**< \brief USART0 signal: CTS on PA09 mux A */ 319 #define MUX_PA09A_USART0_CTS _L_(0) 320 #define PINMUX_PA09A_USART0_CTS ((PIN_PA09A_USART0_CTS << 16) | MUX_PA09A_USART0_CTS) 321 #define GPIO_PA09A_USART0_CTS _UL_(1 << 9) 322 #define PIN_PB11A_USART0_CTS _L_(43) /**< \brief USART0 signal: CTS on PB11 mux A */ 323 #define MUX_PB11A_USART0_CTS _L_(0) 324 #define PINMUX_PB11A_USART0_CTS ((PIN_PB11A_USART0_CTS << 16) | MUX_PB11A_USART0_CTS) 325 #define GPIO_PB11A_USART0_CTS _UL_(1 << 11) 326 #define PIN_PA06B_USART0_RTS _L_(6) /**< \brief USART0 signal: RTS on PA06 mux B */ 327 #define MUX_PA06B_USART0_RTS _L_(1) 328 #define PINMUX_PA06B_USART0_RTS ((PIN_PA06B_USART0_RTS << 16) | MUX_PA06B_USART0_RTS) 329 #define GPIO_PA06B_USART0_RTS _UL_(1 << 6) 330 #define PIN_PA08A_USART0_RTS _L_(8) /**< \brief USART0 signal: RTS on PA08 mux A */ 331 #define MUX_PA08A_USART0_RTS _L_(0) 332 #define PINMUX_PA08A_USART0_RTS ((PIN_PA08A_USART0_RTS << 16) | MUX_PA08A_USART0_RTS) 333 #define GPIO_PA08A_USART0_RTS _UL_(1 << 8) 334 #define PIN_PB12A_USART0_RTS _L_(44) /**< \brief USART0 signal: RTS on PB12 mux A */ 335 #define MUX_PB12A_USART0_RTS _L_(0) 336 #define PINMUX_PB12A_USART0_RTS ((PIN_PB12A_USART0_RTS << 16) | MUX_PB12A_USART0_RTS) 337 #define GPIO_PB12A_USART0_RTS _UL_(1 << 12) 338 #define PIN_PA05B_USART0_RXD _L_(5) /**< \brief USART0 signal: RXD on PA05 mux B */ 339 #define MUX_PA05B_USART0_RXD _L_(1) 340 #define PINMUX_PA05B_USART0_RXD ((PIN_PA05B_USART0_RXD << 16) | MUX_PA05B_USART0_RXD) 341 #define GPIO_PA05B_USART0_RXD _UL_(1 << 5) 342 #define PIN_PB00B_USART0_RXD _L_(32) /**< \brief USART0 signal: RXD on PB00 mux B */ 343 #define MUX_PB00B_USART0_RXD _L_(1) 344 #define PINMUX_PB00B_USART0_RXD ((PIN_PB00B_USART0_RXD << 16) | MUX_PB00B_USART0_RXD) 345 #define GPIO_PB00B_USART0_RXD _UL_(1 << 0) 346 #define PIN_PA11A_USART0_RXD _L_(11) /**< \brief USART0 signal: RXD on PA11 mux A */ 347 #define MUX_PA11A_USART0_RXD _L_(0) 348 #define PINMUX_PA11A_USART0_RXD ((PIN_PA11A_USART0_RXD << 16) | MUX_PA11A_USART0_RXD) 349 #define GPIO_PA11A_USART0_RXD _UL_(1 << 11) 350 #define PIN_PB14A_USART0_RXD _L_(46) /**< \brief USART0 signal: RXD on PB14 mux A */ 351 #define MUX_PB14A_USART0_RXD _L_(0) 352 #define PINMUX_PB14A_USART0_RXD ((PIN_PB14A_USART0_RXD << 16) | MUX_PB14A_USART0_RXD) 353 #define GPIO_PB14A_USART0_RXD _UL_(1 << 14) 354 #define PIN_PA07B_USART0_TXD _L_(7) /**< \brief USART0 signal: TXD on PA07 mux B */ 355 #define MUX_PA07B_USART0_TXD _L_(1) 356 #define PINMUX_PA07B_USART0_TXD ((PIN_PA07B_USART0_TXD << 16) | MUX_PA07B_USART0_TXD) 357 #define GPIO_PA07B_USART0_TXD _UL_(1 << 7) 358 #define PIN_PB01B_USART0_TXD _L_(33) /**< \brief USART0 signal: TXD on PB01 mux B */ 359 #define MUX_PB01B_USART0_TXD _L_(1) 360 #define PINMUX_PB01B_USART0_TXD ((PIN_PB01B_USART0_TXD << 16) | MUX_PB01B_USART0_TXD) 361 #define GPIO_PB01B_USART0_TXD _UL_(1 << 1) 362 #define PIN_PA12A_USART0_TXD _L_(12) /**< \brief USART0 signal: TXD on PA12 mux A */ 363 #define MUX_PA12A_USART0_TXD _L_(0) 364 #define PINMUX_PA12A_USART0_TXD ((PIN_PA12A_USART0_TXD << 16) | MUX_PA12A_USART0_TXD) 365 #define GPIO_PA12A_USART0_TXD _UL_(1 << 12) 366 #define PIN_PB15A_USART0_TXD _L_(47) /**< \brief USART0 signal: TXD on PB15 mux A */ 367 #define MUX_PB15A_USART0_TXD _L_(0) 368 #define PINMUX_PB15A_USART0_TXD ((PIN_PB15A_USART0_TXD << 16) | MUX_PB15A_USART0_TXD) 369 #define GPIO_PB15A_USART0_TXD _UL_(1 << 15) 370 /* ========== GPIO definition for USART1 peripheral ========== */ 371 #define PIN_PB03B_USART1_CLK _L_(35) /**< \brief USART1 signal: CLK on PB03 mux B */ 372 #define MUX_PB03B_USART1_CLK _L_(1) 373 #define PINMUX_PB03B_USART1_CLK ((PIN_PB03B_USART1_CLK << 16) | MUX_PB03B_USART1_CLK) 374 #define GPIO_PB03B_USART1_CLK _UL_(1 << 3) 375 #define PIN_PA14A_USART1_CLK _L_(14) /**< \brief USART1 signal: CLK on PA14 mux A */ 376 #define MUX_PA14A_USART1_CLK _L_(0) 377 #define PINMUX_PA14A_USART1_CLK ((PIN_PA14A_USART1_CLK << 16) | MUX_PA14A_USART1_CLK) 378 #define GPIO_PA14A_USART1_CLK _UL_(1 << 14) 379 #define PIN_PA21B_USART1_CTS _L_(21) /**< \brief USART1 signal: CTS on PA21 mux B */ 380 #define MUX_PA21B_USART1_CTS _L_(1) 381 #define PINMUX_PA21B_USART1_CTS ((PIN_PA21B_USART1_CTS << 16) | MUX_PA21B_USART1_CTS) 382 #define GPIO_PA21B_USART1_CTS _UL_(1 << 21) 383 #define PIN_PB02B_USART1_RTS _L_(34) /**< \brief USART1 signal: RTS on PB02 mux B */ 384 #define MUX_PB02B_USART1_RTS _L_(1) 385 #define PINMUX_PB02B_USART1_RTS ((PIN_PB02B_USART1_RTS << 16) | MUX_PB02B_USART1_RTS) 386 #define GPIO_PB02B_USART1_RTS _UL_(1 << 2) 387 #define PIN_PA13A_USART1_RTS _L_(13) /**< \brief USART1 signal: RTS on PA13 mux A */ 388 #define MUX_PA13A_USART1_RTS _L_(0) 389 #define PINMUX_PA13A_USART1_RTS ((PIN_PA13A_USART1_RTS << 16) | MUX_PA13A_USART1_RTS) 390 #define GPIO_PA13A_USART1_RTS _UL_(1 << 13) 391 #define PIN_PB04B_USART1_RXD _L_(36) /**< \brief USART1 signal: RXD on PB04 mux B */ 392 #define MUX_PB04B_USART1_RXD _L_(1) 393 #define PINMUX_PB04B_USART1_RXD ((PIN_PB04B_USART1_RXD << 16) | MUX_PB04B_USART1_RXD) 394 #define GPIO_PB04B_USART1_RXD _UL_(1 << 4) 395 #define PIN_PA15A_USART1_RXD _L_(15) /**< \brief USART1 signal: RXD on PA15 mux A */ 396 #define MUX_PA15A_USART1_RXD _L_(0) 397 #define PINMUX_PA15A_USART1_RXD ((PIN_PA15A_USART1_RXD << 16) | MUX_PA15A_USART1_RXD) 398 #define GPIO_PA15A_USART1_RXD _UL_(1 << 15) 399 #define PIN_PB05B_USART1_TXD _L_(37) /**< \brief USART1 signal: TXD on PB05 mux B */ 400 #define MUX_PB05B_USART1_TXD _L_(1) 401 #define PINMUX_PB05B_USART1_TXD ((PIN_PB05B_USART1_TXD << 16) | MUX_PB05B_USART1_TXD) 402 #define GPIO_PB05B_USART1_TXD _UL_(1 << 5) 403 #define PIN_PA16A_USART1_TXD _L_(16) /**< \brief USART1 signal: TXD on PA16 mux A */ 404 #define MUX_PA16A_USART1_TXD _L_(0) 405 #define PINMUX_PA16A_USART1_TXD ((PIN_PA16A_USART1_TXD << 16) | MUX_PA16A_USART1_TXD) 406 #define GPIO_PA16A_USART1_TXD _UL_(1 << 16) 407 /* ========== GPIO definition for USART2 peripheral ========== */ 408 #define PIN_PA18A_USART2_CLK _L_(18) /**< \brief USART2 signal: CLK on PA18 mux A */ 409 #define MUX_PA18A_USART2_CLK _L_(0) 410 #define PINMUX_PA18A_USART2_CLK ((PIN_PA18A_USART2_CLK << 16) | MUX_PA18A_USART2_CLK) 411 #define GPIO_PA18A_USART2_CLK _UL_(1 << 18) 412 #define PIN_PA22B_USART2_CTS _L_(22) /**< \brief USART2 signal: CTS on PA22 mux B */ 413 #define MUX_PA22B_USART2_CTS _L_(1) 414 #define PINMUX_PA22B_USART2_CTS ((PIN_PA22B_USART2_CTS << 16) | MUX_PA22B_USART2_CTS) 415 #define GPIO_PA22B_USART2_CTS _UL_(1 << 22) 416 #define PIN_PA17A_USART2_RTS _L_(17) /**< \brief USART2 signal: RTS on PA17 mux A */ 417 #define MUX_PA17A_USART2_RTS _L_(0) 418 #define PINMUX_PA17A_USART2_RTS ((PIN_PA17A_USART2_RTS << 16) | MUX_PA17A_USART2_RTS) 419 #define GPIO_PA17A_USART2_RTS _UL_(1 << 17) 420 #define PIN_PA25B_USART2_RXD _L_(25) /**< \brief USART2 signal: RXD on PA25 mux B */ 421 #define MUX_PA25B_USART2_RXD _L_(1) 422 #define PINMUX_PA25B_USART2_RXD ((PIN_PA25B_USART2_RXD << 16) | MUX_PA25B_USART2_RXD) 423 #define GPIO_PA25B_USART2_RXD _UL_(1 << 25) 424 #define PIN_PA19A_USART2_RXD _L_(19) /**< \brief USART2 signal: RXD on PA19 mux A */ 425 #define MUX_PA19A_USART2_RXD _L_(0) 426 #define PINMUX_PA19A_USART2_RXD ((PIN_PA19A_USART2_RXD << 16) | MUX_PA19A_USART2_RXD) 427 #define GPIO_PA19A_USART2_RXD _UL_(1 << 19) 428 #define PIN_PA26B_USART2_TXD _L_(26) /**< \brief USART2 signal: TXD on PA26 mux B */ 429 #define MUX_PA26B_USART2_TXD _L_(1) 430 #define PINMUX_PA26B_USART2_TXD ((PIN_PA26B_USART2_TXD << 16) | MUX_PA26B_USART2_TXD) 431 #define GPIO_PA26B_USART2_TXD _UL_(1 << 26) 432 #define PIN_PA20A_USART2_TXD _L_(20) /**< \brief USART2 signal: TXD on PA20 mux A */ 433 #define MUX_PA20A_USART2_TXD _L_(0) 434 #define PINMUX_PA20A_USART2_TXD ((PIN_PA20A_USART2_TXD << 16) | MUX_PA20A_USART2_TXD) 435 #define GPIO_PA20A_USART2_TXD _UL_(1 << 20) 436 /* ========== GPIO definition for USART3 peripheral ========== */ 437 #define PIN_PB08A_USART3_CLK _L_(40) /**< \brief USART3 signal: CLK on PB08 mux A */ 438 #define MUX_PB08A_USART3_CLK _L_(0) 439 #define PINMUX_PB08A_USART3_CLK ((PIN_PB08A_USART3_CLK << 16) | MUX_PB08A_USART3_CLK) 440 #define GPIO_PB08A_USART3_CLK _UL_(1 << 8) 441 #define PIN_PB07A_USART3_CTS _L_(39) /**< \brief USART3 signal: CTS on PB07 mux A */ 442 #define MUX_PB07A_USART3_CTS _L_(0) 443 #define PINMUX_PB07A_USART3_CTS ((PIN_PB07A_USART3_CTS << 16) | MUX_PB07A_USART3_CTS) 444 #define GPIO_PB07A_USART3_CTS _UL_(1 << 7) 445 #define PIN_PB06A_USART3_RTS _L_(38) /**< \brief USART3 signal: RTS on PB06 mux A */ 446 #define MUX_PB06A_USART3_RTS _L_(0) 447 #define PINMUX_PB06A_USART3_RTS ((PIN_PB06A_USART3_RTS << 16) | MUX_PB06A_USART3_RTS) 448 #define GPIO_PB06A_USART3_RTS _UL_(1 << 6) 449 #define PIN_PB09A_USART3_RXD _L_(41) /**< \brief USART3 signal: RXD on PB09 mux A */ 450 #define MUX_PB09A_USART3_RXD _L_(0) 451 #define PINMUX_PB09A_USART3_RXD ((PIN_PB09A_USART3_RXD << 16) | MUX_PB09A_USART3_RXD) 452 #define GPIO_PB09A_USART3_RXD _UL_(1 << 9) 453 #define PIN_PB10A_USART3_TXD _L_(42) /**< \brief USART3 signal: TXD on PB10 mux A */ 454 #define MUX_PB10A_USART3_TXD _L_(0) 455 #define PINMUX_PB10A_USART3_TXD ((PIN_PB10A_USART3_TXD << 16) | MUX_PB10A_USART3_TXD) 456 #define GPIO_PB10A_USART3_TXD _UL_(1 << 10) 457 /* ========== GPIO definition for ADCIFE peripheral ========== */ 458 #define PIN_PA04A_ADCIFE_AD0 _L_(4) /**< \brief ADCIFE signal: AD0 on PA04 mux A */ 459 #define MUX_PA04A_ADCIFE_AD0 _L_(0) 460 #define PINMUX_PA04A_ADCIFE_AD0 ((PIN_PA04A_ADCIFE_AD0 << 16) | MUX_PA04A_ADCIFE_AD0) 461 #define GPIO_PA04A_ADCIFE_AD0 _UL_(1 << 4) 462 #define PIN_PA05A_ADCIFE_AD1 _L_(5) /**< \brief ADCIFE signal: AD1 on PA05 mux A */ 463 #define MUX_PA05A_ADCIFE_AD1 _L_(0) 464 #define PINMUX_PA05A_ADCIFE_AD1 ((PIN_PA05A_ADCIFE_AD1 << 16) | MUX_PA05A_ADCIFE_AD1) 465 #define GPIO_PA05A_ADCIFE_AD1 _UL_(1 << 5) 466 #define PIN_PA07A_ADCIFE_AD2 _L_(7) /**< \brief ADCIFE signal: AD2 on PA07 mux A */ 467 #define MUX_PA07A_ADCIFE_AD2 _L_(0) 468 #define PINMUX_PA07A_ADCIFE_AD2 ((PIN_PA07A_ADCIFE_AD2 << 16) | MUX_PA07A_ADCIFE_AD2) 469 #define GPIO_PA07A_ADCIFE_AD2 _UL_(1 << 7) 470 #define PIN_PB02A_ADCIFE_AD3 _L_(34) /**< \brief ADCIFE signal: AD3 on PB02 mux A */ 471 #define MUX_PB02A_ADCIFE_AD3 _L_(0) 472 #define PINMUX_PB02A_ADCIFE_AD3 ((PIN_PB02A_ADCIFE_AD3 << 16) | MUX_PB02A_ADCIFE_AD3) 473 #define GPIO_PB02A_ADCIFE_AD3 _UL_(1 << 2) 474 #define PIN_PB03A_ADCIFE_AD4 _L_(35) /**< \brief ADCIFE signal: AD4 on PB03 mux A */ 475 #define MUX_PB03A_ADCIFE_AD4 _L_(0) 476 #define PINMUX_PB03A_ADCIFE_AD4 ((PIN_PB03A_ADCIFE_AD4 << 16) | MUX_PB03A_ADCIFE_AD4) 477 #define GPIO_PB03A_ADCIFE_AD4 _UL_(1 << 3) 478 #define PIN_PB04A_ADCIFE_AD5 _L_(36) /**< \brief ADCIFE signal: AD5 on PB04 mux A */ 479 #define MUX_PB04A_ADCIFE_AD5 _L_(0) 480 #define PINMUX_PB04A_ADCIFE_AD5 ((PIN_PB04A_ADCIFE_AD5 << 16) | MUX_PB04A_ADCIFE_AD5) 481 #define GPIO_PB04A_ADCIFE_AD5 _UL_(1 << 4) 482 #define PIN_PB05A_ADCIFE_AD6 _L_(37) /**< \brief ADCIFE signal: AD6 on PB05 mux A */ 483 #define MUX_PB05A_ADCIFE_AD6 _L_(0) 484 #define PINMUX_PB05A_ADCIFE_AD6 ((PIN_PB05A_ADCIFE_AD6 << 16) | MUX_PB05A_ADCIFE_AD6) 485 #define GPIO_PB05A_ADCIFE_AD6 _UL_(1 << 5) 486 #define PIN_PA05E_ADCIFE_TRIGGER _L_(5) /**< \brief ADCIFE signal: TRIGGER on PA05 mux E */ 487 #define MUX_PA05E_ADCIFE_TRIGGER _L_(4) 488 #define PINMUX_PA05E_ADCIFE_TRIGGER ((PIN_PA05E_ADCIFE_TRIGGER << 16) | MUX_PA05E_ADCIFE_TRIGGER) 489 #define GPIO_PA05E_ADCIFE_TRIGGER _UL_(1 << 5) 490 /* ========== GPIO definition for DACC peripheral ========== */ 491 #define PIN_PB04E_DACC_EXT_TRIG0 _L_(36) /**< \brief DACC signal: EXT_TRIG0 on PB04 mux E */ 492 #define MUX_PB04E_DACC_EXT_TRIG0 _L_(4) 493 #define PINMUX_PB04E_DACC_EXT_TRIG0 ((PIN_PB04E_DACC_EXT_TRIG0 << 16) | MUX_PB04E_DACC_EXT_TRIG0) 494 #define GPIO_PB04E_DACC_EXT_TRIG0 _UL_(1 << 4) 495 #define PIN_PA06A_DACC_VOUT _L_(6) /**< \brief DACC signal: VOUT on PA06 mux A */ 496 #define MUX_PA06A_DACC_VOUT _L_(0) 497 #define PINMUX_PA06A_DACC_VOUT ((PIN_PA06A_DACC_VOUT << 16) | MUX_PA06A_DACC_VOUT) 498 #define GPIO_PA06A_DACC_VOUT _UL_(1 << 6) 499 /* ========== GPIO definition for ACIFC peripheral ========== */ 500 #define PIN_PA06E_ACIFC_ACAN0 _L_(6) /**< \brief ACIFC signal: ACAN0 on PA06 mux E */ 501 #define MUX_PA06E_ACIFC_ACAN0 _L_(4) 502 #define PINMUX_PA06E_ACIFC_ACAN0 ((PIN_PA06E_ACIFC_ACAN0 << 16) | MUX_PA06E_ACIFC_ACAN0) 503 #define GPIO_PA06E_ACIFC_ACAN0 _UL_(1 << 6) 504 #define PIN_PA07E_ACIFC_ACAP0 _L_(7) /**< \brief ACIFC signal: ACAP0 on PA07 mux E */ 505 #define MUX_PA07E_ACIFC_ACAP0 _L_(4) 506 #define PINMUX_PA07E_ACIFC_ACAP0 ((PIN_PA07E_ACIFC_ACAP0 << 16) | MUX_PA07E_ACIFC_ACAP0) 507 #define GPIO_PA07E_ACIFC_ACAP0 _UL_(1 << 7) 508 #define PIN_PB02E_ACIFC_ACBN0 _L_(34) /**< \brief ACIFC signal: ACBN0 on PB02 mux E */ 509 #define MUX_PB02E_ACIFC_ACBN0 _L_(4) 510 #define PINMUX_PB02E_ACIFC_ACBN0 ((PIN_PB02E_ACIFC_ACBN0 << 16) | MUX_PB02E_ACIFC_ACBN0) 511 #define GPIO_PB02E_ACIFC_ACBN0 _UL_(1 << 2) 512 #define PIN_PB03E_ACIFC_ACBP0 _L_(35) /**< \brief ACIFC signal: ACBP0 on PB03 mux E */ 513 #define MUX_PB03E_ACIFC_ACBP0 _L_(4) 514 #define PINMUX_PB03E_ACIFC_ACBP0 ((PIN_PB03E_ACIFC_ACBP0 << 16) | MUX_PB03E_ACIFC_ACBP0) 515 #define GPIO_PB03E_ACIFC_ACBP0 _UL_(1 << 3) 516 /* ========== GPIO definition for GLOC peripheral ========== */ 517 #define PIN_PA06D_GLOC_IN0 _L_(6) /**< \brief GLOC signal: IN0 on PA06 mux D */ 518 #define MUX_PA06D_GLOC_IN0 _L_(3) 519 #define PINMUX_PA06D_GLOC_IN0 ((PIN_PA06D_GLOC_IN0 << 16) | MUX_PA06D_GLOC_IN0) 520 #define GPIO_PA06D_GLOC_IN0 _UL_(1 << 6) 521 #define PIN_PA20D_GLOC_IN0 _L_(20) /**< \brief GLOC signal: IN0 on PA20 mux D */ 522 #define MUX_PA20D_GLOC_IN0 _L_(3) 523 #define PINMUX_PA20D_GLOC_IN0 ((PIN_PA20D_GLOC_IN0 << 16) | MUX_PA20D_GLOC_IN0) 524 #define GPIO_PA20D_GLOC_IN0 _UL_(1 << 20) 525 #define PIN_PA04D_GLOC_IN1 _L_(4) /**< \brief GLOC signal: IN1 on PA04 mux D */ 526 #define MUX_PA04D_GLOC_IN1 _L_(3) 527 #define PINMUX_PA04D_GLOC_IN1 ((PIN_PA04D_GLOC_IN1 << 16) | MUX_PA04D_GLOC_IN1) 528 #define GPIO_PA04D_GLOC_IN1 _UL_(1 << 4) 529 #define PIN_PA21D_GLOC_IN1 _L_(21) /**< \brief GLOC signal: IN1 on PA21 mux D */ 530 #define MUX_PA21D_GLOC_IN1 _L_(3) 531 #define PINMUX_PA21D_GLOC_IN1 ((PIN_PA21D_GLOC_IN1 << 16) | MUX_PA21D_GLOC_IN1) 532 #define GPIO_PA21D_GLOC_IN1 _UL_(1 << 21) 533 #define PIN_PA05D_GLOC_IN2 _L_(5) /**< \brief GLOC signal: IN2 on PA05 mux D */ 534 #define MUX_PA05D_GLOC_IN2 _L_(3) 535 #define PINMUX_PA05D_GLOC_IN2 ((PIN_PA05D_GLOC_IN2 << 16) | MUX_PA05D_GLOC_IN2) 536 #define GPIO_PA05D_GLOC_IN2 _UL_(1 << 5) 537 #define PIN_PA22D_GLOC_IN2 _L_(22) /**< \brief GLOC signal: IN2 on PA22 mux D */ 538 #define MUX_PA22D_GLOC_IN2 _L_(3) 539 #define PINMUX_PA22D_GLOC_IN2 ((PIN_PA22D_GLOC_IN2 << 16) | MUX_PA22D_GLOC_IN2) 540 #define GPIO_PA22D_GLOC_IN2 _UL_(1 << 22) 541 #define PIN_PA07D_GLOC_IN3 _L_(7) /**< \brief GLOC signal: IN3 on PA07 mux D */ 542 #define MUX_PA07D_GLOC_IN3 _L_(3) 543 #define PINMUX_PA07D_GLOC_IN3 ((PIN_PA07D_GLOC_IN3 << 16) | MUX_PA07D_GLOC_IN3) 544 #define GPIO_PA07D_GLOC_IN3 _UL_(1 << 7) 545 #define PIN_PA23D_GLOC_IN3 _L_(23) /**< \brief GLOC signal: IN3 on PA23 mux D */ 546 #define MUX_PA23D_GLOC_IN3 _L_(3) 547 #define PINMUX_PA23D_GLOC_IN3 ((PIN_PA23D_GLOC_IN3 << 16) | MUX_PA23D_GLOC_IN3) 548 #define GPIO_PA23D_GLOC_IN3 _UL_(1 << 23) 549 #define PIN_PB06C_GLOC_IN4 _L_(38) /**< \brief GLOC signal: IN4 on PB06 mux C */ 550 #define MUX_PB06C_GLOC_IN4 _L_(2) 551 #define PINMUX_PB06C_GLOC_IN4 ((PIN_PB06C_GLOC_IN4 << 16) | MUX_PB06C_GLOC_IN4) 552 #define GPIO_PB06C_GLOC_IN4 _UL_(1 << 6) 553 #define PIN_PB07C_GLOC_IN5 _L_(39) /**< \brief GLOC signal: IN5 on PB07 mux C */ 554 #define MUX_PB07C_GLOC_IN5 _L_(2) 555 #define PINMUX_PB07C_GLOC_IN5 ((PIN_PB07C_GLOC_IN5 << 16) | MUX_PB07C_GLOC_IN5) 556 #define GPIO_PB07C_GLOC_IN5 _UL_(1 << 7) 557 #define PIN_PB08C_GLOC_IN6 _L_(40) /**< \brief GLOC signal: IN6 on PB08 mux C */ 558 #define MUX_PB08C_GLOC_IN6 _L_(2) 559 #define PINMUX_PB08C_GLOC_IN6 ((PIN_PB08C_GLOC_IN6 << 16) | MUX_PB08C_GLOC_IN6) 560 #define GPIO_PB08C_GLOC_IN6 _UL_(1 << 8) 561 #define PIN_PB09C_GLOC_IN7 _L_(41) /**< \brief GLOC signal: IN7 on PB09 mux C */ 562 #define MUX_PB09C_GLOC_IN7 _L_(2) 563 #define PINMUX_PB09C_GLOC_IN7 ((PIN_PB09C_GLOC_IN7 << 16) | MUX_PB09C_GLOC_IN7) 564 #define GPIO_PB09C_GLOC_IN7 _UL_(1 << 9) 565 #define PIN_PA08D_GLOC_OUT0 _L_(8) /**< \brief GLOC signal: OUT0 on PA08 mux D */ 566 #define MUX_PA08D_GLOC_OUT0 _L_(3) 567 #define PINMUX_PA08D_GLOC_OUT0 ((PIN_PA08D_GLOC_OUT0 << 16) | MUX_PA08D_GLOC_OUT0) 568 #define GPIO_PA08D_GLOC_OUT0 _UL_(1 << 8) 569 #define PIN_PA24D_GLOC_OUT0 _L_(24) /**< \brief GLOC signal: OUT0 on PA24 mux D */ 570 #define MUX_PA24D_GLOC_OUT0 _L_(3) 571 #define PINMUX_PA24D_GLOC_OUT0 ((PIN_PA24D_GLOC_OUT0 << 16) | MUX_PA24D_GLOC_OUT0) 572 #define GPIO_PA24D_GLOC_OUT0 _UL_(1 << 24) 573 #define PIN_PB10C_GLOC_OUT1 _L_(42) /**< \brief GLOC signal: OUT1 on PB10 mux C */ 574 #define MUX_PB10C_GLOC_OUT1 _L_(2) 575 #define PINMUX_PB10C_GLOC_OUT1 ((PIN_PB10C_GLOC_OUT1 << 16) | MUX_PB10C_GLOC_OUT1) 576 #define GPIO_PB10C_GLOC_OUT1 _UL_(1 << 10) 577 /* ========== GPIO definition for ABDACB peripheral ========== */ 578 #define PIN_PB02C_ABDACB_DAC0 _L_(34) /**< \brief ABDACB signal: DAC0 on PB02 mux C */ 579 #define MUX_PB02C_ABDACB_DAC0 _L_(2) 580 #define PINMUX_PB02C_ABDACB_DAC0 ((PIN_PB02C_ABDACB_DAC0 << 16) | MUX_PB02C_ABDACB_DAC0) 581 #define GPIO_PB02C_ABDACB_DAC0 _UL_(1 << 2) 582 #define PIN_PA17B_ABDACB_DAC0 _L_(17) /**< \brief ABDACB signal: DAC0 on PA17 mux B */ 583 #define MUX_PA17B_ABDACB_DAC0 _L_(1) 584 #define PINMUX_PA17B_ABDACB_DAC0 ((PIN_PA17B_ABDACB_DAC0 << 16) | MUX_PA17B_ABDACB_DAC0) 585 #define GPIO_PA17B_ABDACB_DAC0 _UL_(1 << 17) 586 #define PIN_PB04C_ABDACB_DAC1 _L_(36) /**< \brief ABDACB signal: DAC1 on PB04 mux C */ 587 #define MUX_PB04C_ABDACB_DAC1 _L_(2) 588 #define PINMUX_PB04C_ABDACB_DAC1 ((PIN_PB04C_ABDACB_DAC1 << 16) | MUX_PB04C_ABDACB_DAC1) 589 #define GPIO_PB04C_ABDACB_DAC1 _UL_(1 << 4) 590 #define PIN_PA19B_ABDACB_DAC1 _L_(19) /**< \brief ABDACB signal: DAC1 on PA19 mux B */ 591 #define MUX_PA19B_ABDACB_DAC1 _L_(1) 592 #define PINMUX_PA19B_ABDACB_DAC1 ((PIN_PA19B_ABDACB_DAC1 << 16) | MUX_PA19B_ABDACB_DAC1) 593 #define GPIO_PA19B_ABDACB_DAC1 _UL_(1 << 19) 594 #define PIN_PB03C_ABDACB_DACN0 _L_(35) /**< \brief ABDACB signal: DACN0 on PB03 mux C */ 595 #define MUX_PB03C_ABDACB_DACN0 _L_(2) 596 #define PINMUX_PB03C_ABDACB_DACN0 ((PIN_PB03C_ABDACB_DACN0 << 16) | MUX_PB03C_ABDACB_DACN0) 597 #define GPIO_PB03C_ABDACB_DACN0 _UL_(1 << 3) 598 #define PIN_PA18B_ABDACB_DACN0 _L_(18) /**< \brief ABDACB signal: DACN0 on PA18 mux B */ 599 #define MUX_PA18B_ABDACB_DACN0 _L_(1) 600 #define PINMUX_PA18B_ABDACB_DACN0 ((PIN_PA18B_ABDACB_DACN0 << 16) | MUX_PA18B_ABDACB_DACN0) 601 #define GPIO_PA18B_ABDACB_DACN0 _UL_(1 << 18) 602 #define PIN_PB05C_ABDACB_DACN1 _L_(37) /**< \brief ABDACB signal: DACN1 on PB05 mux C */ 603 #define MUX_PB05C_ABDACB_DACN1 _L_(2) 604 #define PINMUX_PB05C_ABDACB_DACN1 ((PIN_PB05C_ABDACB_DACN1 << 16) | MUX_PB05C_ABDACB_DACN1) 605 #define GPIO_PB05C_ABDACB_DACN1 _UL_(1 << 5) 606 #define PIN_PA20B_ABDACB_DACN1 _L_(20) /**< \brief ABDACB signal: DACN1 on PA20 mux B */ 607 #define MUX_PA20B_ABDACB_DACN1 _L_(1) 608 #define PINMUX_PA20B_ABDACB_DACN1 ((PIN_PA20B_ABDACB_DACN1 << 16) | MUX_PA20B_ABDACB_DACN1) 609 #define GPIO_PA20B_ABDACB_DACN1 _UL_(1 << 20) 610 /* ========== GPIO definition for PARC peripheral ========== */ 611 #define PIN_PA17D_PARC_PCCK _L_(17) /**< \brief PARC signal: PCCK on PA17 mux D */ 612 #define MUX_PA17D_PARC_PCCK _L_(3) 613 #define PINMUX_PA17D_PARC_PCCK ((PIN_PA17D_PARC_PCCK << 16) | MUX_PA17D_PARC_PCCK) 614 #define GPIO_PA17D_PARC_PCCK _UL_(1 << 17) 615 #define PIN_PA09D_PARC_PCDATA0 _L_(9) /**< \brief PARC signal: PCDATA0 on PA09 mux D */ 616 #define MUX_PA09D_PARC_PCDATA0 _L_(3) 617 #define PINMUX_PA09D_PARC_PCDATA0 ((PIN_PA09D_PARC_PCDATA0 << 16) | MUX_PA09D_PARC_PCDATA0) 618 #define GPIO_PA09D_PARC_PCDATA0 _UL_(1 << 9) 619 #define PIN_PA10D_PARC_PCDATA1 _L_(10) /**< \brief PARC signal: PCDATA1 on PA10 mux D */ 620 #define MUX_PA10D_PARC_PCDATA1 _L_(3) 621 #define PINMUX_PA10D_PARC_PCDATA1 ((PIN_PA10D_PARC_PCDATA1 << 16) | MUX_PA10D_PARC_PCDATA1) 622 #define GPIO_PA10D_PARC_PCDATA1 _UL_(1 << 10) 623 #define PIN_PA11D_PARC_PCDATA2 _L_(11) /**< \brief PARC signal: PCDATA2 on PA11 mux D */ 624 #define MUX_PA11D_PARC_PCDATA2 _L_(3) 625 #define PINMUX_PA11D_PARC_PCDATA2 ((PIN_PA11D_PARC_PCDATA2 << 16) | MUX_PA11D_PARC_PCDATA2) 626 #define GPIO_PA11D_PARC_PCDATA2 _UL_(1 << 11) 627 #define PIN_PA12D_PARC_PCDATA3 _L_(12) /**< \brief PARC signal: PCDATA3 on PA12 mux D */ 628 #define MUX_PA12D_PARC_PCDATA3 _L_(3) 629 #define PINMUX_PA12D_PARC_PCDATA3 ((PIN_PA12D_PARC_PCDATA3 << 16) | MUX_PA12D_PARC_PCDATA3) 630 #define GPIO_PA12D_PARC_PCDATA3 _UL_(1 << 12) 631 #define PIN_PA13D_PARC_PCDATA4 _L_(13) /**< \brief PARC signal: PCDATA4 on PA13 mux D */ 632 #define MUX_PA13D_PARC_PCDATA4 _L_(3) 633 #define PINMUX_PA13D_PARC_PCDATA4 ((PIN_PA13D_PARC_PCDATA4 << 16) | MUX_PA13D_PARC_PCDATA4) 634 #define GPIO_PA13D_PARC_PCDATA4 _UL_(1 << 13) 635 #define PIN_PA14D_PARC_PCDATA5 _L_(14) /**< \brief PARC signal: PCDATA5 on PA14 mux D */ 636 #define MUX_PA14D_PARC_PCDATA5 _L_(3) 637 #define PINMUX_PA14D_PARC_PCDATA5 ((PIN_PA14D_PARC_PCDATA5 << 16) | MUX_PA14D_PARC_PCDATA5) 638 #define GPIO_PA14D_PARC_PCDATA5 _UL_(1 << 14) 639 #define PIN_PA15D_PARC_PCDATA6 _L_(15) /**< \brief PARC signal: PCDATA6 on PA15 mux D */ 640 #define MUX_PA15D_PARC_PCDATA6 _L_(3) 641 #define PINMUX_PA15D_PARC_PCDATA6 ((PIN_PA15D_PARC_PCDATA6 << 16) | MUX_PA15D_PARC_PCDATA6) 642 #define GPIO_PA15D_PARC_PCDATA6 _UL_(1 << 15) 643 #define PIN_PA16D_PARC_PCDATA7 _L_(16) /**< \brief PARC signal: PCDATA7 on PA16 mux D */ 644 #define MUX_PA16D_PARC_PCDATA7 _L_(3) 645 #define PINMUX_PA16D_PARC_PCDATA7 ((PIN_PA16D_PARC_PCDATA7 << 16) | MUX_PA16D_PARC_PCDATA7) 646 #define GPIO_PA16D_PARC_PCDATA7 _UL_(1 << 16) 647 #define PIN_PA18D_PARC_PCEN1 _L_(18) /**< \brief PARC signal: PCEN1 on PA18 mux D */ 648 #define MUX_PA18D_PARC_PCEN1 _L_(3) 649 #define PINMUX_PA18D_PARC_PCEN1 ((PIN_PA18D_PARC_PCEN1 << 16) | MUX_PA18D_PARC_PCEN1) 650 #define GPIO_PA18D_PARC_PCEN1 _UL_(1 << 18) 651 #define PIN_PA19D_PARC_PCEN2 _L_(19) /**< \brief PARC signal: PCEN2 on PA19 mux D */ 652 #define MUX_PA19D_PARC_PCEN2 _L_(3) 653 #define PINMUX_PA19D_PARC_PCEN2 ((PIN_PA19D_PARC_PCEN2 << 16) | MUX_PA19D_PARC_PCEN2) 654 #define GPIO_PA19D_PARC_PCEN2 _UL_(1 << 19) 655 /* ========== GPIO definition for CATB peripheral ========== */ 656 #define PIN_PA02G_CATB_DIS _L_(2) /**< \brief CATB signal: DIS on PA02 mux G */ 657 #define MUX_PA02G_CATB_DIS _L_(6) 658 #define PINMUX_PA02G_CATB_DIS ((PIN_PA02G_CATB_DIS << 16) | MUX_PA02G_CATB_DIS) 659 #define GPIO_PA02G_CATB_DIS _UL_(1 << 2) 660 #define PIN_PA12G_CATB_DIS _L_(12) /**< \brief CATB signal: DIS on PA12 mux G */ 661 #define MUX_PA12G_CATB_DIS _L_(6) 662 #define PINMUX_PA12G_CATB_DIS ((PIN_PA12G_CATB_DIS << 16) | MUX_PA12G_CATB_DIS) 663 #define GPIO_PA12G_CATB_DIS _UL_(1 << 12) 664 #define PIN_PA23G_CATB_DIS _L_(23) /**< \brief CATB signal: DIS on PA23 mux G */ 665 #define MUX_PA23G_CATB_DIS _L_(6) 666 #define PINMUX_PA23G_CATB_DIS ((PIN_PA23G_CATB_DIS << 16) | MUX_PA23G_CATB_DIS) 667 #define GPIO_PA23G_CATB_DIS _UL_(1 << 23) 668 #define PIN_PB03G_CATB_DIS _L_(35) /**< \brief CATB signal: DIS on PB03 mux G */ 669 #define MUX_PB03G_CATB_DIS _L_(6) 670 #define PINMUX_PB03G_CATB_DIS ((PIN_PB03G_CATB_DIS << 16) | MUX_PB03G_CATB_DIS) 671 #define GPIO_PB03G_CATB_DIS _UL_(1 << 3) 672 #define PIN_PB12G_CATB_DIS _L_(44) /**< \brief CATB signal: DIS on PB12 mux G */ 673 #define MUX_PB12G_CATB_DIS _L_(6) 674 #define PINMUX_PB12G_CATB_DIS ((PIN_PB12G_CATB_DIS << 16) | MUX_PB12G_CATB_DIS) 675 #define GPIO_PB12G_CATB_DIS _UL_(1 << 12) 676 #define PIN_PA04G_CATB_SENSE0 _L_(4) /**< \brief CATB signal: SENSE0 on PA04 mux G */ 677 #define MUX_PA04G_CATB_SENSE0 _L_(6) 678 #define PINMUX_PA04G_CATB_SENSE0 ((PIN_PA04G_CATB_SENSE0 << 16) | MUX_PA04G_CATB_SENSE0) 679 #define GPIO_PA04G_CATB_SENSE0 _UL_(1 << 4) 680 #define PIN_PB13G_CATB_SENSE0 _L_(45) /**< \brief CATB signal: SENSE0 on PB13 mux G */ 681 #define MUX_PB13G_CATB_SENSE0 _L_(6) 682 #define PINMUX_PB13G_CATB_SENSE0 ((PIN_PB13G_CATB_SENSE0 << 16) | MUX_PB13G_CATB_SENSE0) 683 #define GPIO_PB13G_CATB_SENSE0 _UL_(1 << 13) 684 #define PIN_PA05G_CATB_SENSE1 _L_(5) /**< \brief CATB signal: SENSE1 on PA05 mux G */ 685 #define MUX_PA05G_CATB_SENSE1 _L_(6) 686 #define PINMUX_PA05G_CATB_SENSE1 ((PIN_PA05G_CATB_SENSE1 << 16) | MUX_PA05G_CATB_SENSE1) 687 #define GPIO_PA05G_CATB_SENSE1 _UL_(1 << 5) 688 #define PIN_PB14G_CATB_SENSE1 _L_(46) /**< \brief CATB signal: SENSE1 on PB14 mux G */ 689 #define MUX_PB14G_CATB_SENSE1 _L_(6) 690 #define PINMUX_PB14G_CATB_SENSE1 ((PIN_PB14G_CATB_SENSE1 << 16) | MUX_PB14G_CATB_SENSE1) 691 #define GPIO_PB14G_CATB_SENSE1 _UL_(1 << 14) 692 #define PIN_PA06G_CATB_SENSE2 _L_(6) /**< \brief CATB signal: SENSE2 on PA06 mux G */ 693 #define MUX_PA06G_CATB_SENSE2 _L_(6) 694 #define PINMUX_PA06G_CATB_SENSE2 ((PIN_PA06G_CATB_SENSE2 << 16) | MUX_PA06G_CATB_SENSE2) 695 #define GPIO_PA06G_CATB_SENSE2 _UL_(1 << 6) 696 #define PIN_PB15G_CATB_SENSE2 _L_(47) /**< \brief CATB signal: SENSE2 on PB15 mux G */ 697 #define MUX_PB15G_CATB_SENSE2 _L_(6) 698 #define PINMUX_PB15G_CATB_SENSE2 ((PIN_PB15G_CATB_SENSE2 << 16) | MUX_PB15G_CATB_SENSE2) 699 #define GPIO_PB15G_CATB_SENSE2 _UL_(1 << 15) 700 #define PIN_PA07G_CATB_SENSE3 _L_(7) /**< \brief CATB signal: SENSE3 on PA07 mux G */ 701 #define MUX_PA07G_CATB_SENSE3 _L_(6) 702 #define PINMUX_PA07G_CATB_SENSE3 ((PIN_PA07G_CATB_SENSE3 << 16) | MUX_PA07G_CATB_SENSE3) 703 #define GPIO_PA07G_CATB_SENSE3 _UL_(1 << 7) 704 #define PIN_PA08G_CATB_SENSE4 _L_(8) /**< \brief CATB signal: SENSE4 on PA08 mux G */ 705 #define MUX_PA08G_CATB_SENSE4 _L_(6) 706 #define PINMUX_PA08G_CATB_SENSE4 ((PIN_PA08G_CATB_SENSE4 << 16) | MUX_PA08G_CATB_SENSE4) 707 #define GPIO_PA08G_CATB_SENSE4 _UL_(1 << 8) 708 #define PIN_PA09G_CATB_SENSE5 _L_(9) /**< \brief CATB signal: SENSE5 on PA09 mux G */ 709 #define MUX_PA09G_CATB_SENSE5 _L_(6) 710 #define PINMUX_PA09G_CATB_SENSE5 ((PIN_PA09G_CATB_SENSE5 << 16) | MUX_PA09G_CATB_SENSE5) 711 #define GPIO_PA09G_CATB_SENSE5 _UL_(1 << 9) 712 #define PIN_PA10G_CATB_SENSE6 _L_(10) /**< \brief CATB signal: SENSE6 on PA10 mux G */ 713 #define MUX_PA10G_CATB_SENSE6 _L_(6) 714 #define PINMUX_PA10G_CATB_SENSE6 ((PIN_PA10G_CATB_SENSE6 << 16) | MUX_PA10G_CATB_SENSE6) 715 #define GPIO_PA10G_CATB_SENSE6 _UL_(1 << 10) 716 #define PIN_PA11G_CATB_SENSE7 _L_(11) /**< \brief CATB signal: SENSE7 on PA11 mux G */ 717 #define MUX_PA11G_CATB_SENSE7 _L_(6) 718 #define PINMUX_PA11G_CATB_SENSE7 ((PIN_PA11G_CATB_SENSE7 << 16) | MUX_PA11G_CATB_SENSE7) 719 #define GPIO_PA11G_CATB_SENSE7 _UL_(1 << 11) 720 #define PIN_PA13G_CATB_SENSE8 _L_(13) /**< \brief CATB signal: SENSE8 on PA13 mux G */ 721 #define MUX_PA13G_CATB_SENSE8 _L_(6) 722 #define PINMUX_PA13G_CATB_SENSE8 ((PIN_PA13G_CATB_SENSE8 << 16) | MUX_PA13G_CATB_SENSE8) 723 #define GPIO_PA13G_CATB_SENSE8 _UL_(1 << 13) 724 #define PIN_PA14G_CATB_SENSE9 _L_(14) /**< \brief CATB signal: SENSE9 on PA14 mux G */ 725 #define MUX_PA14G_CATB_SENSE9 _L_(6) 726 #define PINMUX_PA14G_CATB_SENSE9 ((PIN_PA14G_CATB_SENSE9 << 16) | MUX_PA14G_CATB_SENSE9) 727 #define GPIO_PA14G_CATB_SENSE9 _UL_(1 << 14) 728 #define PIN_PA15G_CATB_SENSE10 _L_(15) /**< \brief CATB signal: SENSE10 on PA15 mux G */ 729 #define MUX_PA15G_CATB_SENSE10 _L_(6) 730 #define PINMUX_PA15G_CATB_SENSE10 ((PIN_PA15G_CATB_SENSE10 << 16) | MUX_PA15G_CATB_SENSE10) 731 #define GPIO_PA15G_CATB_SENSE10 _UL_(1 << 15) 732 #define PIN_PA16G_CATB_SENSE11 _L_(16) /**< \brief CATB signal: SENSE11 on PA16 mux G */ 733 #define MUX_PA16G_CATB_SENSE11 _L_(6) 734 #define PINMUX_PA16G_CATB_SENSE11 ((PIN_PA16G_CATB_SENSE11 << 16) | MUX_PA16G_CATB_SENSE11) 735 #define GPIO_PA16G_CATB_SENSE11 _UL_(1 << 16) 736 #define PIN_PA17G_CATB_SENSE12 _L_(17) /**< \brief CATB signal: SENSE12 on PA17 mux G */ 737 #define MUX_PA17G_CATB_SENSE12 _L_(6) 738 #define PINMUX_PA17G_CATB_SENSE12 ((PIN_PA17G_CATB_SENSE12 << 16) | MUX_PA17G_CATB_SENSE12) 739 #define GPIO_PA17G_CATB_SENSE12 _UL_(1 << 17) 740 #define PIN_PA18G_CATB_SENSE13 _L_(18) /**< \brief CATB signal: SENSE13 on PA18 mux G */ 741 #define MUX_PA18G_CATB_SENSE13 _L_(6) 742 #define PINMUX_PA18G_CATB_SENSE13 ((PIN_PA18G_CATB_SENSE13 << 16) | MUX_PA18G_CATB_SENSE13) 743 #define GPIO_PA18G_CATB_SENSE13 _UL_(1 << 18) 744 #define PIN_PA19G_CATB_SENSE14 _L_(19) /**< \brief CATB signal: SENSE14 on PA19 mux G */ 745 #define MUX_PA19G_CATB_SENSE14 _L_(6) 746 #define PINMUX_PA19G_CATB_SENSE14 ((PIN_PA19G_CATB_SENSE14 << 16) | MUX_PA19G_CATB_SENSE14) 747 #define GPIO_PA19G_CATB_SENSE14 _UL_(1 << 19) 748 #define PIN_PA20G_CATB_SENSE15 _L_(20) /**< \brief CATB signal: SENSE15 on PA20 mux G */ 749 #define MUX_PA20G_CATB_SENSE15 _L_(6) 750 #define PINMUX_PA20G_CATB_SENSE15 ((PIN_PA20G_CATB_SENSE15 << 16) | MUX_PA20G_CATB_SENSE15) 751 #define GPIO_PA20G_CATB_SENSE15 _UL_(1 << 20) 752 #define PIN_PA21G_CATB_SENSE16 _L_(21) /**< \brief CATB signal: SENSE16 on PA21 mux G */ 753 #define MUX_PA21G_CATB_SENSE16 _L_(6) 754 #define PINMUX_PA21G_CATB_SENSE16 ((PIN_PA21G_CATB_SENSE16 << 16) | MUX_PA21G_CATB_SENSE16) 755 #define GPIO_PA21G_CATB_SENSE16 _UL_(1 << 21) 756 #define PIN_PA22G_CATB_SENSE17 _L_(22) /**< \brief CATB signal: SENSE17 on PA22 mux G */ 757 #define MUX_PA22G_CATB_SENSE17 _L_(6) 758 #define PINMUX_PA22G_CATB_SENSE17 ((PIN_PA22G_CATB_SENSE17 << 16) | MUX_PA22G_CATB_SENSE17) 759 #define GPIO_PA22G_CATB_SENSE17 _UL_(1 << 22) 760 #define PIN_PA24G_CATB_SENSE18 _L_(24) /**< \brief CATB signal: SENSE18 on PA24 mux G */ 761 #define MUX_PA24G_CATB_SENSE18 _L_(6) 762 #define PINMUX_PA24G_CATB_SENSE18 ((PIN_PA24G_CATB_SENSE18 << 16) | MUX_PA24G_CATB_SENSE18) 763 #define GPIO_PA24G_CATB_SENSE18 _UL_(1 << 24) 764 #define PIN_PA25G_CATB_SENSE19 _L_(25) /**< \brief CATB signal: SENSE19 on PA25 mux G */ 765 #define MUX_PA25G_CATB_SENSE19 _L_(6) 766 #define PINMUX_PA25G_CATB_SENSE19 ((PIN_PA25G_CATB_SENSE19 << 16) | MUX_PA25G_CATB_SENSE19) 767 #define GPIO_PA25G_CATB_SENSE19 _UL_(1 << 25) 768 #define PIN_PA26G_CATB_SENSE20 _L_(26) /**< \brief CATB signal: SENSE20 on PA26 mux G */ 769 #define MUX_PA26G_CATB_SENSE20 _L_(6) 770 #define PINMUX_PA26G_CATB_SENSE20 ((PIN_PA26G_CATB_SENSE20 << 16) | MUX_PA26G_CATB_SENSE20) 771 #define GPIO_PA26G_CATB_SENSE20 _UL_(1 << 26) 772 #define PIN_PB00G_CATB_SENSE21 _L_(32) /**< \brief CATB signal: SENSE21 on PB00 mux G */ 773 #define MUX_PB00G_CATB_SENSE21 _L_(6) 774 #define PINMUX_PB00G_CATB_SENSE21 ((PIN_PB00G_CATB_SENSE21 << 16) | MUX_PB00G_CATB_SENSE21) 775 #define GPIO_PB00G_CATB_SENSE21 _UL_(1 << 0) 776 #define PIN_PB01G_CATB_SENSE22 _L_(33) /**< \brief CATB signal: SENSE22 on PB01 mux G */ 777 #define MUX_PB01G_CATB_SENSE22 _L_(6) 778 #define PINMUX_PB01G_CATB_SENSE22 ((PIN_PB01G_CATB_SENSE22 << 16) | MUX_PB01G_CATB_SENSE22) 779 #define GPIO_PB01G_CATB_SENSE22 _UL_(1 << 1) 780 #define PIN_PB02G_CATB_SENSE23 _L_(34) /**< \brief CATB signal: SENSE23 on PB02 mux G */ 781 #define MUX_PB02G_CATB_SENSE23 _L_(6) 782 #define PINMUX_PB02G_CATB_SENSE23 ((PIN_PB02G_CATB_SENSE23 << 16) | MUX_PB02G_CATB_SENSE23) 783 #define GPIO_PB02G_CATB_SENSE23 _UL_(1 << 2) 784 #define PIN_PB04G_CATB_SENSE24 _L_(36) /**< \brief CATB signal: SENSE24 on PB04 mux G */ 785 #define MUX_PB04G_CATB_SENSE24 _L_(6) 786 #define PINMUX_PB04G_CATB_SENSE24 ((PIN_PB04G_CATB_SENSE24 << 16) | MUX_PB04G_CATB_SENSE24) 787 #define GPIO_PB04G_CATB_SENSE24 _UL_(1 << 4) 788 #define PIN_PB05G_CATB_SENSE25 _L_(37) /**< \brief CATB signal: SENSE25 on PB05 mux G */ 789 #define MUX_PB05G_CATB_SENSE25 _L_(6) 790 #define PINMUX_PB05G_CATB_SENSE25 ((PIN_PB05G_CATB_SENSE25 << 16) | MUX_PB05G_CATB_SENSE25) 791 #define GPIO_PB05G_CATB_SENSE25 _UL_(1 << 5) 792 #define PIN_PB06G_CATB_SENSE26 _L_(38) /**< \brief CATB signal: SENSE26 on PB06 mux G */ 793 #define MUX_PB06G_CATB_SENSE26 _L_(6) 794 #define PINMUX_PB06G_CATB_SENSE26 ((PIN_PB06G_CATB_SENSE26 << 16) | MUX_PB06G_CATB_SENSE26) 795 #define GPIO_PB06G_CATB_SENSE26 _UL_(1 << 6) 796 #define PIN_PB07G_CATB_SENSE27 _L_(39) /**< \brief CATB signal: SENSE27 on PB07 mux G */ 797 #define MUX_PB07G_CATB_SENSE27 _L_(6) 798 #define PINMUX_PB07G_CATB_SENSE27 ((PIN_PB07G_CATB_SENSE27 << 16) | MUX_PB07G_CATB_SENSE27) 799 #define GPIO_PB07G_CATB_SENSE27 _UL_(1 << 7) 800 #define PIN_PB08G_CATB_SENSE28 _L_(40) /**< \brief CATB signal: SENSE28 on PB08 mux G */ 801 #define MUX_PB08G_CATB_SENSE28 _L_(6) 802 #define PINMUX_PB08G_CATB_SENSE28 ((PIN_PB08G_CATB_SENSE28 << 16) | MUX_PB08G_CATB_SENSE28) 803 #define GPIO_PB08G_CATB_SENSE28 _UL_(1 << 8) 804 #define PIN_PB09G_CATB_SENSE29 _L_(41) /**< \brief CATB signal: SENSE29 on PB09 mux G */ 805 #define MUX_PB09G_CATB_SENSE29 _L_(6) 806 #define PINMUX_PB09G_CATB_SENSE29 ((PIN_PB09G_CATB_SENSE29 << 16) | MUX_PB09G_CATB_SENSE29) 807 #define GPIO_PB09G_CATB_SENSE29 _UL_(1 << 9) 808 #define PIN_PB10G_CATB_SENSE30 _L_(42) /**< \brief CATB signal: SENSE30 on PB10 mux G */ 809 #define MUX_PB10G_CATB_SENSE30 _L_(6) 810 #define PINMUX_PB10G_CATB_SENSE30 ((PIN_PB10G_CATB_SENSE30 << 16) | MUX_PB10G_CATB_SENSE30) 811 #define GPIO_PB10G_CATB_SENSE30 _UL_(1 << 10) 812 #define PIN_PB11G_CATB_SENSE31 _L_(43) /**< \brief CATB signal: SENSE31 on PB11 mux G */ 813 #define MUX_PB11G_CATB_SENSE31 _L_(6) 814 #define PINMUX_PB11G_CATB_SENSE31 ((PIN_PB11G_CATB_SENSE31 << 16) | MUX_PB11G_CATB_SENSE31) 815 #define GPIO_PB11G_CATB_SENSE31 _UL_(1 << 11) 816 /* ========== GPIO definition for LCDCA peripheral ========== */ 817 #define PIN_PA12F_LCDCA_COM0 _L_(12) /**< \brief LCDCA signal: COM0 on PA12 mux F */ 818 #define MUX_PA12F_LCDCA_COM0 _L_(5) 819 #define PINMUX_PA12F_LCDCA_COM0 ((PIN_PA12F_LCDCA_COM0 << 16) | MUX_PA12F_LCDCA_COM0) 820 #define GPIO_PA12F_LCDCA_COM0 _UL_(1 << 12) 821 #define PIN_PA11F_LCDCA_COM1 _L_(11) /**< \brief LCDCA signal: COM1 on PA11 mux F */ 822 #define MUX_PA11F_LCDCA_COM1 _L_(5) 823 #define PINMUX_PA11F_LCDCA_COM1 ((PIN_PA11F_LCDCA_COM1 << 16) | MUX_PA11F_LCDCA_COM1) 824 #define GPIO_PA11F_LCDCA_COM1 _UL_(1 << 11) 825 #define PIN_PA10F_LCDCA_COM2 _L_(10) /**< \brief LCDCA signal: COM2 on PA10 mux F */ 826 #define MUX_PA10F_LCDCA_COM2 _L_(5) 827 #define PINMUX_PA10F_LCDCA_COM2 ((PIN_PA10F_LCDCA_COM2 << 16) | MUX_PA10F_LCDCA_COM2) 828 #define GPIO_PA10F_LCDCA_COM2 _UL_(1 << 10) 829 #define PIN_PA09F_LCDCA_COM3 _L_(9) /**< \brief LCDCA signal: COM3 on PA09 mux F */ 830 #define MUX_PA09F_LCDCA_COM3 _L_(5) 831 #define PINMUX_PA09F_LCDCA_COM3 ((PIN_PA09F_LCDCA_COM3 << 16) | MUX_PA09F_LCDCA_COM3) 832 #define GPIO_PA09F_LCDCA_COM3 _UL_(1 << 9) 833 #define PIN_PA13F_LCDCA_SEG5 _L_(13) /**< \brief LCDCA signal: SEG5 on PA13 mux F */ 834 #define MUX_PA13F_LCDCA_SEG5 _L_(5) 835 #define PINMUX_PA13F_LCDCA_SEG5 ((PIN_PA13F_LCDCA_SEG5 << 16) | MUX_PA13F_LCDCA_SEG5) 836 #define GPIO_PA13F_LCDCA_SEG5 _UL_(1 << 13) 837 #define PIN_PA14F_LCDCA_SEG6 _L_(14) /**< \brief LCDCA signal: SEG6 on PA14 mux F */ 838 #define MUX_PA14F_LCDCA_SEG6 _L_(5) 839 #define PINMUX_PA14F_LCDCA_SEG6 ((PIN_PA14F_LCDCA_SEG6 << 16) | MUX_PA14F_LCDCA_SEG6) 840 #define GPIO_PA14F_LCDCA_SEG6 _UL_(1 << 14) 841 #define PIN_PA15F_LCDCA_SEG7 _L_(15) /**< \brief LCDCA signal: SEG7 on PA15 mux F */ 842 #define MUX_PA15F_LCDCA_SEG7 _L_(5) 843 #define PINMUX_PA15F_LCDCA_SEG7 ((PIN_PA15F_LCDCA_SEG7 << 16) | MUX_PA15F_LCDCA_SEG7) 844 #define GPIO_PA15F_LCDCA_SEG7 _UL_(1 << 15) 845 #define PIN_PA16F_LCDCA_SEG8 _L_(16) /**< \brief LCDCA signal: SEG8 on PA16 mux F */ 846 #define MUX_PA16F_LCDCA_SEG8 _L_(5) 847 #define PINMUX_PA16F_LCDCA_SEG8 ((PIN_PA16F_LCDCA_SEG8 << 16) | MUX_PA16F_LCDCA_SEG8) 848 #define GPIO_PA16F_LCDCA_SEG8 _UL_(1 << 16) 849 #define PIN_PA17F_LCDCA_SEG9 _L_(17) /**< \brief LCDCA signal: SEG9 on PA17 mux F */ 850 #define MUX_PA17F_LCDCA_SEG9 _L_(5) 851 #define PINMUX_PA17F_LCDCA_SEG9 ((PIN_PA17F_LCDCA_SEG9 << 16) | MUX_PA17F_LCDCA_SEG9) 852 #define GPIO_PA17F_LCDCA_SEG9 _UL_(1 << 17) 853 #define PIN_PB08F_LCDCA_SEG14 _L_(40) /**< \brief LCDCA signal: SEG14 on PB08 mux F */ 854 #define MUX_PB08F_LCDCA_SEG14 _L_(5) 855 #define PINMUX_PB08F_LCDCA_SEG14 ((PIN_PB08F_LCDCA_SEG14 << 16) | MUX_PB08F_LCDCA_SEG14) 856 #define GPIO_PB08F_LCDCA_SEG14 _UL_(1 << 8) 857 #define PIN_PB09F_LCDCA_SEG15 _L_(41) /**< \brief LCDCA signal: SEG15 on PB09 mux F */ 858 #define MUX_PB09F_LCDCA_SEG15 _L_(5) 859 #define PINMUX_PB09F_LCDCA_SEG15 ((PIN_PB09F_LCDCA_SEG15 << 16) | MUX_PB09F_LCDCA_SEG15) 860 #define GPIO_PB09F_LCDCA_SEG15 _UL_(1 << 9) 861 #define PIN_PB10F_LCDCA_SEG16 _L_(42) /**< \brief LCDCA signal: SEG16 on PB10 mux F */ 862 #define MUX_PB10F_LCDCA_SEG16 _L_(5) 863 #define PINMUX_PB10F_LCDCA_SEG16 ((PIN_PB10F_LCDCA_SEG16 << 16) | MUX_PB10F_LCDCA_SEG16) 864 #define GPIO_PB10F_LCDCA_SEG16 _UL_(1 << 10) 865 #define PIN_PB11F_LCDCA_SEG17 _L_(43) /**< \brief LCDCA signal: SEG17 on PB11 mux F */ 866 #define MUX_PB11F_LCDCA_SEG17 _L_(5) 867 #define PINMUX_PB11F_LCDCA_SEG17 ((PIN_PB11F_LCDCA_SEG17 << 16) | MUX_PB11F_LCDCA_SEG17) 868 #define GPIO_PB11F_LCDCA_SEG17 _UL_(1 << 11) 869 #define PIN_PA18F_LCDCA_SEG18 _L_(18) /**< \brief LCDCA signal: SEG18 on PA18 mux F */ 870 #define MUX_PA18F_LCDCA_SEG18 _L_(5) 871 #define PINMUX_PA18F_LCDCA_SEG18 ((PIN_PA18F_LCDCA_SEG18 << 16) | MUX_PA18F_LCDCA_SEG18) 872 #define GPIO_PA18F_LCDCA_SEG18 _UL_(1 << 18) 873 #define PIN_PA19F_LCDCA_SEG19 _L_(19) /**< \brief LCDCA signal: SEG19 on PA19 mux F */ 874 #define MUX_PA19F_LCDCA_SEG19 _L_(5) 875 #define PINMUX_PA19F_LCDCA_SEG19 ((PIN_PA19F_LCDCA_SEG19 << 16) | MUX_PA19F_LCDCA_SEG19) 876 #define GPIO_PA19F_LCDCA_SEG19 _UL_(1 << 19) 877 #define PIN_PA20F_LCDCA_SEG20 _L_(20) /**< \brief LCDCA signal: SEG20 on PA20 mux F */ 878 #define MUX_PA20F_LCDCA_SEG20 _L_(5) 879 #define PINMUX_PA20F_LCDCA_SEG20 ((PIN_PA20F_LCDCA_SEG20 << 16) | MUX_PA20F_LCDCA_SEG20) 880 #define GPIO_PA20F_LCDCA_SEG20 _UL_(1 << 20) 881 #define PIN_PB07F_LCDCA_SEG21 _L_(39) /**< \brief LCDCA signal: SEG21 on PB07 mux F */ 882 #define MUX_PB07F_LCDCA_SEG21 _L_(5) 883 #define PINMUX_PB07F_LCDCA_SEG21 ((PIN_PB07F_LCDCA_SEG21 << 16) | MUX_PB07F_LCDCA_SEG21) 884 #define GPIO_PB07F_LCDCA_SEG21 _UL_(1 << 7) 885 #define PIN_PB06F_LCDCA_SEG22 _L_(38) /**< \brief LCDCA signal: SEG22 on PB06 mux F */ 886 #define MUX_PB06F_LCDCA_SEG22 _L_(5) 887 #define PINMUX_PB06F_LCDCA_SEG22 ((PIN_PB06F_LCDCA_SEG22 << 16) | MUX_PB06F_LCDCA_SEG22) 888 #define GPIO_PB06F_LCDCA_SEG22 _UL_(1 << 6) 889 #define PIN_PA08F_LCDCA_SEG23 _L_(8) /**< \brief LCDCA signal: SEG23 on PA08 mux F */ 890 #define MUX_PA08F_LCDCA_SEG23 _L_(5) 891 #define PINMUX_PA08F_LCDCA_SEG23 ((PIN_PA08F_LCDCA_SEG23 << 16) | MUX_PA08F_LCDCA_SEG23) 892 #define GPIO_PA08F_LCDCA_SEG23 _UL_(1 << 8) 893 #define PIN_PB12F_LCDCA_SEG32 _L_(44) /**< \brief LCDCA signal: SEG32 on PB12 mux F */ 894 #define MUX_PB12F_LCDCA_SEG32 _L_(5) 895 #define PINMUX_PB12F_LCDCA_SEG32 ((PIN_PB12F_LCDCA_SEG32 << 16) | MUX_PB12F_LCDCA_SEG32) 896 #define GPIO_PB12F_LCDCA_SEG32 _UL_(1 << 12) 897 #define PIN_PB13F_LCDCA_SEG33 _L_(45) /**< \brief LCDCA signal: SEG33 on PB13 mux F */ 898 #define MUX_PB13F_LCDCA_SEG33 _L_(5) 899 #define PINMUX_PB13F_LCDCA_SEG33 ((PIN_PB13F_LCDCA_SEG33 << 16) | MUX_PB13F_LCDCA_SEG33) 900 #define GPIO_PB13F_LCDCA_SEG33 _UL_(1 << 13) 901 #define PIN_PA21F_LCDCA_SEG34 _L_(21) /**< \brief LCDCA signal: SEG34 on PA21 mux F */ 902 #define MUX_PA21F_LCDCA_SEG34 _L_(5) 903 #define PINMUX_PA21F_LCDCA_SEG34 ((PIN_PA21F_LCDCA_SEG34 << 16) | MUX_PA21F_LCDCA_SEG34) 904 #define GPIO_PA21F_LCDCA_SEG34 _UL_(1 << 21) 905 #define PIN_PA22F_LCDCA_SEG35 _L_(22) /**< \brief LCDCA signal: SEG35 on PA22 mux F */ 906 #define MUX_PA22F_LCDCA_SEG35 _L_(5) 907 #define PINMUX_PA22F_LCDCA_SEG35 ((PIN_PA22F_LCDCA_SEG35 << 16) | MUX_PA22F_LCDCA_SEG35) 908 #define GPIO_PA22F_LCDCA_SEG35 _UL_(1 << 22) 909 #define PIN_PB14F_LCDCA_SEG36 _L_(46) /**< \brief LCDCA signal: SEG36 on PB14 mux F */ 910 #define MUX_PB14F_LCDCA_SEG36 _L_(5) 911 #define PINMUX_PB14F_LCDCA_SEG36 ((PIN_PB14F_LCDCA_SEG36 << 16) | MUX_PB14F_LCDCA_SEG36) 912 #define GPIO_PB14F_LCDCA_SEG36 _UL_(1 << 14) 913 #define PIN_PB15F_LCDCA_SEG37 _L_(47) /**< \brief LCDCA signal: SEG37 on PB15 mux F */ 914 #define MUX_PB15F_LCDCA_SEG37 _L_(5) 915 #define PINMUX_PB15F_LCDCA_SEG37 ((PIN_PB15F_LCDCA_SEG37 << 16) | MUX_PB15F_LCDCA_SEG37) 916 #define GPIO_PB15F_LCDCA_SEG37 _UL_(1 << 15) 917 #define PIN_PA23F_LCDCA_SEG38 _L_(23) /**< \brief LCDCA signal: SEG38 on PA23 mux F */ 918 #define MUX_PA23F_LCDCA_SEG38 _L_(5) 919 #define PINMUX_PA23F_LCDCA_SEG38 ((PIN_PA23F_LCDCA_SEG38 << 16) | MUX_PA23F_LCDCA_SEG38) 920 #define GPIO_PA23F_LCDCA_SEG38 _UL_(1 << 23) 921 #define PIN_PA24F_LCDCA_SEG39 _L_(24) /**< \brief LCDCA signal: SEG39 on PA24 mux F */ 922 #define MUX_PA24F_LCDCA_SEG39 _L_(5) 923 #define PINMUX_PA24F_LCDCA_SEG39 ((PIN_PA24F_LCDCA_SEG39 << 16) | MUX_PA24F_LCDCA_SEG39) 924 #define GPIO_PA24F_LCDCA_SEG39 _UL_(1 << 24) 925 /* ========== GPIO definition for USBC peripheral ========== */ 926 #define PIN_PA25A_USBC_DM _L_(25) /**< \brief USBC signal: DM on PA25 mux A */ 927 #define MUX_PA25A_USBC_DM _L_(0) 928 #define PINMUX_PA25A_USBC_DM ((PIN_PA25A_USBC_DM << 16) | MUX_PA25A_USBC_DM) 929 #define GPIO_PA25A_USBC_DM _UL_(1 << 25) 930 #define PIN_PA26A_USBC_DP _L_(26) /**< \brief USBC signal: DP on PA26 mux A */ 931 #define MUX_PA26A_USBC_DP _L_(0) 932 #define PINMUX_PA26A_USBC_DP ((PIN_PA26A_USBC_DP << 16) | MUX_PA26A_USBC_DP) 933 #define GPIO_PA26A_USBC_DP _UL_(1 << 26) 934 /* ========== GPIO definition for PEVC peripheral ========== */ 935 #define PIN_PA08C_PEVC_PAD_EVT0 _L_(8) /**< \brief PEVC signal: PAD_EVT0 on PA08 mux C */ 936 #define MUX_PA08C_PEVC_PAD_EVT0 _L_(2) 937 #define PINMUX_PA08C_PEVC_PAD_EVT0 ((PIN_PA08C_PEVC_PAD_EVT0 << 16) | MUX_PA08C_PEVC_PAD_EVT0) 938 #define GPIO_PA08C_PEVC_PAD_EVT0 _UL_(1 << 8) 939 #define PIN_PB12C_PEVC_PAD_EVT0 _L_(44) /**< \brief PEVC signal: PAD_EVT0 on PB12 mux C */ 940 #define MUX_PB12C_PEVC_PAD_EVT0 _L_(2) 941 #define PINMUX_PB12C_PEVC_PAD_EVT0 ((PIN_PB12C_PEVC_PAD_EVT0 << 16) | MUX_PB12C_PEVC_PAD_EVT0) 942 #define GPIO_PB12C_PEVC_PAD_EVT0 _UL_(1 << 12) 943 #define PIN_PA09C_PEVC_PAD_EVT1 _L_(9) /**< \brief PEVC signal: PAD_EVT1 on PA09 mux C */ 944 #define MUX_PA09C_PEVC_PAD_EVT1 _L_(2) 945 #define PINMUX_PA09C_PEVC_PAD_EVT1 ((PIN_PA09C_PEVC_PAD_EVT1 << 16) | MUX_PA09C_PEVC_PAD_EVT1) 946 #define GPIO_PA09C_PEVC_PAD_EVT1 _UL_(1 << 9) 947 #define PIN_PB13C_PEVC_PAD_EVT1 _L_(45) /**< \brief PEVC signal: PAD_EVT1 on PB13 mux C */ 948 #define MUX_PB13C_PEVC_PAD_EVT1 _L_(2) 949 #define PINMUX_PB13C_PEVC_PAD_EVT1 ((PIN_PB13C_PEVC_PAD_EVT1 << 16) | MUX_PB13C_PEVC_PAD_EVT1) 950 #define GPIO_PB13C_PEVC_PAD_EVT1 _UL_(1 << 13) 951 #define PIN_PA10C_PEVC_PAD_EVT2 _L_(10) /**< \brief PEVC signal: PAD_EVT2 on PA10 mux C */ 952 #define MUX_PA10C_PEVC_PAD_EVT2 _L_(2) 953 #define PINMUX_PA10C_PEVC_PAD_EVT2 ((PIN_PA10C_PEVC_PAD_EVT2 << 16) | MUX_PA10C_PEVC_PAD_EVT2) 954 #define GPIO_PA10C_PEVC_PAD_EVT2 _UL_(1 << 10) 955 #define PIN_PB09B_PEVC_PAD_EVT2 _L_(41) /**< \brief PEVC signal: PAD_EVT2 on PB09 mux B */ 956 #define MUX_PB09B_PEVC_PAD_EVT2 _L_(1) 957 #define PINMUX_PB09B_PEVC_PAD_EVT2 ((PIN_PB09B_PEVC_PAD_EVT2 << 16) | MUX_PB09B_PEVC_PAD_EVT2) 958 #define GPIO_PB09B_PEVC_PAD_EVT2 _UL_(1 << 9) 959 #define PIN_PA11C_PEVC_PAD_EVT3 _L_(11) /**< \brief PEVC signal: PAD_EVT3 on PA11 mux C */ 960 #define MUX_PA11C_PEVC_PAD_EVT3 _L_(2) 961 #define PINMUX_PA11C_PEVC_PAD_EVT3 ((PIN_PA11C_PEVC_PAD_EVT3 << 16) | MUX_PA11C_PEVC_PAD_EVT3) 962 #define GPIO_PA11C_PEVC_PAD_EVT3 _UL_(1 << 11) 963 #define PIN_PB10B_PEVC_PAD_EVT3 _L_(42) /**< \brief PEVC signal: PAD_EVT3 on PB10 mux B */ 964 #define MUX_PB10B_PEVC_PAD_EVT3 _L_(1) 965 #define PINMUX_PB10B_PEVC_PAD_EVT3 ((PIN_PB10B_PEVC_PAD_EVT3 << 16) | MUX_PB10B_PEVC_PAD_EVT3) 966 #define GPIO_PB10B_PEVC_PAD_EVT3 _UL_(1 << 10) 967 /* ========== GPIO definition for SCIF peripheral ========== */ 968 #define PIN_PA19E_SCIF_GCLK0 _L_(19) /**< \brief SCIF signal: GCLK0 on PA19 mux E */ 969 #define MUX_PA19E_SCIF_GCLK0 _L_(4) 970 #define PINMUX_PA19E_SCIF_GCLK0 ((PIN_PA19E_SCIF_GCLK0 << 16) | MUX_PA19E_SCIF_GCLK0) 971 #define GPIO_PA19E_SCIF_GCLK0 _UL_(1 << 19) 972 #define PIN_PB10E_SCIF_GCLK0 _L_(42) /**< \brief SCIF signal: GCLK0 on PB10 mux E */ 973 #define MUX_PB10E_SCIF_GCLK0 _L_(4) 974 #define PINMUX_PB10E_SCIF_GCLK0 ((PIN_PB10E_SCIF_GCLK0 << 16) | MUX_PB10E_SCIF_GCLK0) 975 #define GPIO_PB10E_SCIF_GCLK0 _UL_(1 << 10) 976 #define PIN_PA02A_SCIF_GCLK0 _L_(2) /**< \brief SCIF signal: GCLK0 on PA02 mux A */ 977 #define MUX_PA02A_SCIF_GCLK0 _L_(0) 978 #define PINMUX_PA02A_SCIF_GCLK0 ((PIN_PA02A_SCIF_GCLK0 << 16) | MUX_PA02A_SCIF_GCLK0) 979 #define GPIO_PA02A_SCIF_GCLK0 _UL_(1 << 2) 980 #define PIN_PA20E_SCIF_GCLK1 _L_(20) /**< \brief SCIF signal: GCLK1 on PA20 mux E */ 981 #define MUX_PA20E_SCIF_GCLK1 _L_(4) 982 #define PINMUX_PA20E_SCIF_GCLK1 ((PIN_PA20E_SCIF_GCLK1 << 16) | MUX_PA20E_SCIF_GCLK1) 983 #define GPIO_PA20E_SCIF_GCLK1 _UL_(1 << 20) 984 #define PIN_PB11E_SCIF_GCLK1 _L_(43) /**< \brief SCIF signal: GCLK1 on PB11 mux E */ 985 #define MUX_PB11E_SCIF_GCLK1 _L_(4) 986 #define PINMUX_PB11E_SCIF_GCLK1 ((PIN_PB11E_SCIF_GCLK1 << 16) | MUX_PB11E_SCIF_GCLK1) 987 #define GPIO_PB11E_SCIF_GCLK1 _UL_(1 << 11) 988 #define PIN_PB12E_SCIF_GCLK2 _L_(44) /**< \brief SCIF signal: GCLK2 on PB12 mux E */ 989 #define MUX_PB12E_SCIF_GCLK2 _L_(4) 990 #define PINMUX_PB12E_SCIF_GCLK2 ((PIN_PB12E_SCIF_GCLK2 << 16) | MUX_PB12E_SCIF_GCLK2) 991 #define GPIO_PB12E_SCIF_GCLK2 _UL_(1 << 12) 992 #define PIN_PB13E_SCIF_GCLK3 _L_(45) /**< \brief SCIF signal: GCLK3 on PB13 mux E */ 993 #define MUX_PB13E_SCIF_GCLK3 _L_(4) 994 #define PINMUX_PB13E_SCIF_GCLK3 ((PIN_PB13E_SCIF_GCLK3 << 16) | MUX_PB13E_SCIF_GCLK3) 995 #define GPIO_PB13E_SCIF_GCLK3 _UL_(1 << 13) 996 #define PIN_PA23E_SCIF_GCLK_IN0 _L_(23) /**< \brief SCIF signal: GCLK_IN0 on PA23 mux E */ 997 #define MUX_PA23E_SCIF_GCLK_IN0 _L_(4) 998 #define PINMUX_PA23E_SCIF_GCLK_IN0 ((PIN_PA23E_SCIF_GCLK_IN0 << 16) | MUX_PA23E_SCIF_GCLK_IN0) 999 #define GPIO_PA23E_SCIF_GCLK_IN0 _UL_(1 << 23) 1000 #define PIN_PB14E_SCIF_GCLK_IN0 _L_(46) /**< \brief SCIF signal: GCLK_IN0 on PB14 mux E */ 1001 #define MUX_PB14E_SCIF_GCLK_IN0 _L_(4) 1002 #define PINMUX_PB14E_SCIF_GCLK_IN0 ((PIN_PB14E_SCIF_GCLK_IN0 << 16) | MUX_PB14E_SCIF_GCLK_IN0) 1003 #define GPIO_PB14E_SCIF_GCLK_IN0 _UL_(1 << 14) 1004 #define PIN_PA24E_SCIF_GCLK_IN1 _L_(24) /**< \brief SCIF signal: GCLK_IN1 on PA24 mux E */ 1005 #define MUX_PA24E_SCIF_GCLK_IN1 _L_(4) 1006 #define PINMUX_PA24E_SCIF_GCLK_IN1 ((PIN_PA24E_SCIF_GCLK_IN1 << 16) | MUX_PA24E_SCIF_GCLK_IN1) 1007 #define GPIO_PA24E_SCIF_GCLK_IN1 _UL_(1 << 24) 1008 #define PIN_PB15E_SCIF_GCLK_IN1 _L_(47) /**< \brief SCIF signal: GCLK_IN1 on PB15 mux E */ 1009 #define MUX_PB15E_SCIF_GCLK_IN1 _L_(4) 1010 #define PINMUX_PB15E_SCIF_GCLK_IN1 ((PIN_PB15E_SCIF_GCLK_IN1 << 16) | MUX_PB15E_SCIF_GCLK_IN1) 1011 #define GPIO_PB15E_SCIF_GCLK_IN1 _UL_(1 << 15) 1012 /* ========== GPIO definition for EIC peripheral ========== */ 1013 #define PIN_PB01C_EIC_EXTINT0 _L_(33) /**< \brief EIC signal: EXTINT0 on PB01 mux C */ 1014 #define MUX_PB01C_EIC_EXTINT0 _L_(2) 1015 #define PINMUX_PB01C_EIC_EXTINT0 ((PIN_PB01C_EIC_EXTINT0 << 16) | MUX_PB01C_EIC_EXTINT0) 1016 #define GPIO_PB01C_EIC_EXTINT0 _UL_(1 << 1) 1017 #define PIN_PB01C_EIC_EXTINT_NUM _L_(0) /**< \brief EIC signal: PIN_PB01 External Interrupt Line */ 1018 #define PIN_PA06C_EIC_EXTINT1 _L_(6) /**< \brief EIC signal: EXTINT1 on PA06 mux C */ 1019 #define MUX_PA06C_EIC_EXTINT1 _L_(2) 1020 #define PINMUX_PA06C_EIC_EXTINT1 ((PIN_PA06C_EIC_EXTINT1 << 16) | MUX_PA06C_EIC_EXTINT1) 1021 #define GPIO_PA06C_EIC_EXTINT1 _UL_(1 << 6) 1022 #define PIN_PA06C_EIC_EXTINT_NUM _L_(1) /**< \brief EIC signal: PIN_PA06 External Interrupt Line */ 1023 #define PIN_PA16C_EIC_EXTINT1 _L_(16) /**< \brief EIC signal: EXTINT1 on PA16 mux C */ 1024 #define MUX_PA16C_EIC_EXTINT1 _L_(2) 1025 #define PINMUX_PA16C_EIC_EXTINT1 ((PIN_PA16C_EIC_EXTINT1 << 16) | MUX_PA16C_EIC_EXTINT1) 1026 #define GPIO_PA16C_EIC_EXTINT1 _UL_(1 << 16) 1027 #define PIN_PA16C_EIC_EXTINT_NUM _L_(1) /**< \brief EIC signal: PIN_PA16 External Interrupt Line */ 1028 #define PIN_PA04C_EIC_EXTINT2 _L_(4) /**< \brief EIC signal: EXTINT2 on PA04 mux C */ 1029 #define MUX_PA04C_EIC_EXTINT2 _L_(2) 1030 #define PINMUX_PA04C_EIC_EXTINT2 ((PIN_PA04C_EIC_EXTINT2 << 16) | MUX_PA04C_EIC_EXTINT2) 1031 #define GPIO_PA04C_EIC_EXTINT2 _UL_(1 << 4) 1032 #define PIN_PA04C_EIC_EXTINT_NUM _L_(2) /**< \brief EIC signal: PIN_PA04 External Interrupt Line */ 1033 #define PIN_PA17C_EIC_EXTINT2 _L_(17) /**< \brief EIC signal: EXTINT2 on PA17 mux C */ 1034 #define MUX_PA17C_EIC_EXTINT2 _L_(2) 1035 #define PINMUX_PA17C_EIC_EXTINT2 ((PIN_PA17C_EIC_EXTINT2 << 16) | MUX_PA17C_EIC_EXTINT2) 1036 #define GPIO_PA17C_EIC_EXTINT2 _UL_(1 << 17) 1037 #define PIN_PA17C_EIC_EXTINT_NUM _L_(2) /**< \brief EIC signal: PIN_PA17 External Interrupt Line */ 1038 #define PIN_PA05C_EIC_EXTINT3 _L_(5) /**< \brief EIC signal: EXTINT3 on PA05 mux C */ 1039 #define MUX_PA05C_EIC_EXTINT3 _L_(2) 1040 #define PINMUX_PA05C_EIC_EXTINT3 ((PIN_PA05C_EIC_EXTINT3 << 16) | MUX_PA05C_EIC_EXTINT3) 1041 #define GPIO_PA05C_EIC_EXTINT3 _UL_(1 << 5) 1042 #define PIN_PA05C_EIC_EXTINT_NUM _L_(3) /**< \brief EIC signal: PIN_PA05 External Interrupt Line */ 1043 #define PIN_PA18C_EIC_EXTINT3 _L_(18) /**< \brief EIC signal: EXTINT3 on PA18 mux C */ 1044 #define MUX_PA18C_EIC_EXTINT3 _L_(2) 1045 #define PINMUX_PA18C_EIC_EXTINT3 ((PIN_PA18C_EIC_EXTINT3 << 16) | MUX_PA18C_EIC_EXTINT3) 1046 #define GPIO_PA18C_EIC_EXTINT3 _UL_(1 << 18) 1047 #define PIN_PA18C_EIC_EXTINT_NUM _L_(3) /**< \brief EIC signal: PIN_PA18 External Interrupt Line */ 1048 #define PIN_PA07C_EIC_EXTINT4 _L_(7) /**< \brief EIC signal: EXTINT4 on PA07 mux C */ 1049 #define MUX_PA07C_EIC_EXTINT4 _L_(2) 1050 #define PINMUX_PA07C_EIC_EXTINT4 ((PIN_PA07C_EIC_EXTINT4 << 16) | MUX_PA07C_EIC_EXTINT4) 1051 #define GPIO_PA07C_EIC_EXTINT4 _UL_(1 << 7) 1052 #define PIN_PA07C_EIC_EXTINT_NUM _L_(4) /**< \brief EIC signal: PIN_PA07 External Interrupt Line */ 1053 #define PIN_PA19C_EIC_EXTINT4 _L_(19) /**< \brief EIC signal: EXTINT4 on PA19 mux C */ 1054 #define MUX_PA19C_EIC_EXTINT4 _L_(2) 1055 #define PINMUX_PA19C_EIC_EXTINT4 ((PIN_PA19C_EIC_EXTINT4 << 16) | MUX_PA19C_EIC_EXTINT4) 1056 #define GPIO_PA19C_EIC_EXTINT4 _UL_(1 << 19) 1057 #define PIN_PA19C_EIC_EXTINT_NUM _L_(4) /**< \brief EIC signal: PIN_PA19 External Interrupt Line */ 1058 #define PIN_PA20C_EIC_EXTINT5 _L_(20) /**< \brief EIC signal: EXTINT5 on PA20 mux C */ 1059 #define MUX_PA20C_EIC_EXTINT5 _L_(2) 1060 #define PINMUX_PA20C_EIC_EXTINT5 ((PIN_PA20C_EIC_EXTINT5 << 16) | MUX_PA20C_EIC_EXTINT5) 1061 #define GPIO_PA20C_EIC_EXTINT5 _UL_(1 << 20) 1062 #define PIN_PA20C_EIC_EXTINT_NUM _L_(5) /**< \brief EIC signal: PIN_PA20 External Interrupt Line */ 1063 #define PIN_PA21C_EIC_EXTINT6 _L_(21) /**< \brief EIC signal: EXTINT6 on PA21 mux C */ 1064 #define MUX_PA21C_EIC_EXTINT6 _L_(2) 1065 #define PINMUX_PA21C_EIC_EXTINT6 ((PIN_PA21C_EIC_EXTINT6 << 16) | MUX_PA21C_EIC_EXTINT6) 1066 #define GPIO_PA21C_EIC_EXTINT6 _UL_(1 << 21) 1067 #define PIN_PA21C_EIC_EXTINT_NUM _L_(6) /**< \brief EIC signal: PIN_PA21 External Interrupt Line */ 1068 #define PIN_PA22C_EIC_EXTINT7 _L_(22) /**< \brief EIC signal: EXTINT7 on PA22 mux C */ 1069 #define MUX_PA22C_EIC_EXTINT7 _L_(2) 1070 #define PINMUX_PA22C_EIC_EXTINT7 ((PIN_PA22C_EIC_EXTINT7 << 16) | MUX_PA22C_EIC_EXTINT7) 1071 #define GPIO_PA22C_EIC_EXTINT7 _UL_(1 << 22) 1072 #define PIN_PA22C_EIC_EXTINT_NUM _L_(7) /**< \brief EIC signal: PIN_PA22 External Interrupt Line */ 1073 #define PIN_PA23C_EIC_EXTINT8 _L_(23) /**< \brief EIC signal: EXTINT8 on PA23 mux C */ 1074 #define MUX_PA23C_EIC_EXTINT8 _L_(2) 1075 #define PINMUX_PA23C_EIC_EXTINT8 ((PIN_PA23C_EIC_EXTINT8 << 16) | MUX_PA23C_EIC_EXTINT8) 1076 #define GPIO_PA23C_EIC_EXTINT8 _UL_(1 << 23) 1077 #define PIN_PA23C_EIC_EXTINT_NUM _L_(8) /**< \brief EIC signal: PIN_PA23 External Interrupt Line */ 1078 1079 #endif /* _SAM4LC4B_PIO_ */ 1080