1 /* 2 * Copyright 2017-2021 NXP 3 * All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 /*********************************************************************************************************************** 9 * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file 10 * will be overwritten if the respective MCUXpresso Config Tools is used to update this file. 11 **********************************************************************************************************************/ 12 13 #ifndef _PIN_MUX_H_ 14 #define _PIN_MUX_H_ 15 16 /*********************************************************************************************************************** 17 * Definitions 18 **********************************************************************************************************************/ 19 20 /*! @brief Direction type */ 21 typedef enum _pin_mux_direction 22 { 23 kPIN_MUX_DirectionInput = 0U, /* Input direction */ 24 kPIN_MUX_DirectionOutput = 1U, /* Output direction */ 25 kPIN_MUX_DirectionInputOrOutput = 2U /* Input or output direction */ 26 } pin_mux_direction_t; 27 28 /*! 29 * @addtogroup pin_mux 30 * @{ 31 */ 32 33 /*********************************************************************************************************************** 34 * API 35 **********************************************************************************************************************/ 36 37 #if defined(__cplusplus) 38 extern "C" { 39 #endif 40 41 /*! 42 * @brief Calls initialization functions. 43 * 44 */ 45 void BOARD_InitBootPins(void); 46 47 /*! 48 * @brief Configures pin routing and optionally pin electrical features. 49 * 50 */ 51 void BOARD_InitPins(void); /* Function assigned for the Cortex-M33 */ 52 53 #define IOCON_PIO_DIGITAL_EN 0x0100u /*!<@brief Enables digital function */ 54 #define IOCON_PIO_FUNC1 0x01u /*!<@brief Selects pin function 1 */ 55 #define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function is not inverted */ 56 #define IOCON_PIO_MODE_INACT 0x00u /*!<@brief No addition pin function */ 57 #define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */ 58 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */ 59 60 /*! @name FC0_RXD_SDA_MOSI_DATA (number 61), U11[14]/U22[14]/FC0_USART_RXD 61 @{ */ 62 /*! 63 * @brief Device name: FLEXCOMM0 */ 64 #define BOARD_INITDEBUG_UARTPINS_DEBUG_UART_RX_PERIPHERAL FLEXCOMM0 65 /*! 66 * @brief FLEXCOMM0 signal: RXD_SDA_MOSI_DATA */ 67 #define BOARD_INITDEBUG_UARTPINS_DEBUG_UART_RX_SIGNAL RXD_SDA_MOSI_DATA 68 /*! 69 * @brief Pin name */ 70 #define BOARD_INITDEBUG_UARTPINS_DEBUG_UART_RX_PIN_NAME FC0_RXD_SDA_MOSI_DATA 71 /*! 72 * @brief Label */ 73 #define BOARD_INITDEBUG_UARTPINS_DEBUG_UART_RX_LABEL "U11[14]/U22[14]/FC0_USART_RXD" 74 /*! 75 * @brief Identifier name */ 76 #define BOARD_INITDEBUG_UARTPINS_DEBUG_UART_RX_NAME "DEBUG_UART_RX" 77 /* @} */ 78 79 /*! @name FC0_TXD_SCL_MISO_WS (number 63), J10[18]/U11[13]/U22[13]/FC0_USART_TXD 80 @{ */ 81 /*! 82 * @brief Device name: FLEXCOMM0 */ 83 #define BOARD_INITDEBUG_UARTPINS_DEBUG_UART_TX_PERIPHERAL FLEXCOMM0 84 /*! 85 * @brief FLEXCOMM0 signal: TXD_SCL_MISO_WS */ 86 #define BOARD_INITDEBUG_UARTPINS_DEBUG_UART_TX_SIGNAL TXD_SCL_MISO_WS 87 /*! 88 * @brief Pin name */ 89 #define BOARD_INITDEBUG_UARTPINS_DEBUG_UART_TX_PIN_NAME FC0_TXD_SCL_MISO_WS 90 /*! 91 * @brief Label */ 92 #define BOARD_INITDEBUG_UARTPINS_DEBUG_UART_TX_LABEL "J10[18]/U11[13]/U22[13]/FC0_USART_TXD" 93 /*! 94 * @brief Identifier name */ 95 #define BOARD_INITDEBUG_UARTPINS_DEBUG_UART_TX_NAME "DEBUG_UART_TX" 96 /* @} */ 97 98 /*! 99 * @brief Configures pin routing and optionally pin electrical features. 100 * 101 */ 102 void BOARD_InitDEBUG_UARTPins(void); /* Function assigned for the Cortex-M33 */ 103 104 #define IOCON_PIO_ASW_DI 0x00u /*!<@brief Analog switch is open (disabled) */ 105 #define IOCON_PIO_DIGITAL_EN 0x0100u /*!<@brief Enables digital function */ 106 #define IOCON_PIO_FUNC6 0x06u /*!<@brief Selects pin function 6 */ 107 #define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function is not inverted */ 108 #define IOCON_PIO_MODE_INACT 0x00u /*!<@brief No addition pin function */ 109 #define IOCON_PIO_MODE_PULLDOWN 0x10u /*!<@brief Selects pull-down function */ 110 #define IOCON_PIO_MODE_PULLUP 0x20u /*!<@brief Selects pull-up function */ 111 #define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */ 112 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */ 113 114 /*! @name SWO (number 13), J9[15]/U18[12]/N4M_SWO 115 @{ */ 116 /*! 117 * @brief Device name: SWD */ 118 #define BOARD_INITSWD_DEBUGPINS_DEBUG_SWD_SWO_PERIPHERAL SWD 119 /*! 120 * @brief SWD signal: SWO */ 121 #define BOARD_INITSWD_DEBUGPINS_DEBUG_SWD_SWO_SIGNAL SWO 122 /*! 123 * @brief Pin name */ 124 #define BOARD_INITSWD_DEBUGPINS_DEBUG_SWD_SWO_PIN_NAME SWO 125 /*! 126 * @brief Label */ 127 #define BOARD_INITSWD_DEBUGPINS_DEBUG_SWD_SWO_LABEL "J9[15]/U18[12]/N4M_SWO" 128 /*! 129 * @brief Identifier name */ 130 #define BOARD_INITSWD_DEBUGPINS_DEBUG_SWD_SWO_NAME "DEBUG_SWD_SWO" 131 /* @} */ 132 133 /*! @name SWCLK (number 6), J9[19]/J10[8]/U18[4]/N4M_SWDCLK 134 @{ */ 135 /*! 136 * @brief Device name: SWD */ 137 #define BOARD_INITSWD_DEBUGPINS_DEBUG_SWD_SWDCLK_PERIPHERAL SWD 138 /*! 139 * @brief SWD signal: SWCLK */ 140 #define BOARD_INITSWD_DEBUGPINS_DEBUG_SWD_SWDCLK_SIGNAL SWCLK 141 /*! 142 * @brief Pin name */ 143 #define BOARD_INITSWD_DEBUGPINS_DEBUG_SWD_SWDCLK_PIN_NAME SWCLK 144 /*! 145 * @brief Label */ 146 #define BOARD_INITSWD_DEBUGPINS_DEBUG_SWD_SWDCLK_LABEL "J9[19]/J10[8]/U18[4]/N4M_SWDCLK" 147 /*! 148 * @brief Identifier name */ 149 #define BOARD_INITSWD_DEBUGPINS_DEBUG_SWD_SWDCLK_NAME "DEBUG_SWD_SWDCLK" 150 /* @} */ 151 152 /*! @name SWDIO (number 5), J9[17]/J10[6]/U18[8]/N4M_SWDIO 153 @{ */ 154 /*! 155 * @brief Device name: SWD */ 156 #define BOARD_INITSWD_DEBUGPINS_DEBUG_SWD_SWDIO_PERIPHERAL SWD 157 /*! 158 * @brief SWD signal: SWDIO */ 159 #define BOARD_INITSWD_DEBUGPINS_DEBUG_SWD_SWDIO_SIGNAL SWDIO 160 /*! 161 * @brief Pin name */ 162 #define BOARD_INITSWD_DEBUGPINS_DEBUG_SWD_SWDIO_PIN_NAME SWDIO 163 /*! 164 * @brief Label */ 165 #define BOARD_INITSWD_DEBUGPINS_DEBUG_SWD_SWDIO_LABEL "J9[17]/J10[6]/U18[8]/N4M_SWDIO" 166 /*! 167 * @brief Identifier name */ 168 #define BOARD_INITSWD_DEBUGPINS_DEBUG_SWD_SWDIO_NAME "DEBUG_SWD_SWDIO" 169 /* @} */ 170 171 /*! 172 * @brief Configures pin routing and optionally pin electrical features. 173 * 174 */ 175 void BOARD_InitSWD_DEBUGPins(void); /* Function assigned for the Cortex-M33 */ 176 177 #define IOCON_PIO_ASW_DI 0x00u /*!<@brief Analog switch is open (disabled) */ 178 #define IOCON_PIO_DIGITAL_EN 0x0100u /*!<@brief Enables digital function */ 179 #define IOCON_PIO_FUNC0 0x00u /*!<@brief Selects pin function 0 */ 180 #define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function is not inverted */ 181 #define IOCON_PIO_MODE_PULLUP 0x20u /*!<@brief Selects pull-up function */ 182 #define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */ 183 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */ 184 185 /*! @name PIO0_18 (number 38), J12[4]/Q4[G2]/ARD_LEDG_PWM 186 @{ */ 187 /*! 188 * @brief Device name: GPIO */ 189 #define BOARD_INITLEDSPINS_LED_GREEN_PERIPHERAL GPIO 190 /*! 191 * @brief GPIO signal: PIO0 */ 192 #define BOARD_INITLEDSPINS_LED_GREEN_SIGNAL PIO0 193 /*! 194 * @brief GPIO device name: GPIO */ 195 #define BOARD_INITLEDSPINS_LED_GREEN_GPIO GPIO 196 /*! 197 * @brief PIO0 pin index: 18 */ 198 #define BOARD_INITLEDSPINS_LED_GREEN_GPIO_PIN 18U 199 /*! 200 * @brief PORT device name: 0U */ 201 #define BOARD_INITLEDSPINS_LED_GREEN_PORT 0U 202 /*! 203 * @brief 0U pin index: 18 */ 204 #define BOARD_INITLEDSPINS_LED_GREEN_PIN 18U 205 /*! 206 * @brief GPIO PIO0 channel: 18 */ 207 #define BOARD_INITLEDSPINS_LED_GREEN_CHANNEL 18 208 /*! 209 * @brief Pin name */ 210 #define BOARD_INITLEDSPINS_LED_GREEN_PIN_NAME PIO0_18 211 /*! 212 * @brief Label */ 213 #define BOARD_INITLEDSPINS_LED_GREEN_LABEL "J12[4]/Q4[G2]/ARD_LEDG_PWM" 214 /*! 215 * @brief Identifier name */ 216 #define BOARD_INITLEDSPINS_LED_GREEN_NAME "LED_GREEN" 217 /*! 218 * @brief Direction */ 219 #define BOARD_INITLEDSPINS_LED_GREEN_DIRECTION kPIN_MUX_DirectionOutput 220 /* @} */ 221 222 /*! @name PIO0_21 (number 49), J9[2]/J9[13]/J12[5]/Q5[G1]/ARD_LEDR_PWM 223 @{ */ 224 /*! 225 * @brief Device name: GPIO */ 226 #define BOARD_INITLEDSPINS_LED_RED_PERIPHERAL GPIO 227 /*! 228 * @brief GPIO signal: PIO0 */ 229 #define BOARD_INITLEDSPINS_LED_RED_SIGNAL PIO0 230 /*! 231 * @brief GPIO device name: GPIO */ 232 #define BOARD_INITLEDSPINS_LED_RED_GPIO GPIO 233 /*! 234 * @brief PIO0 pin index: 21 */ 235 #define BOARD_INITLEDSPINS_LED_RED_GPIO_PIN 21U 236 /*! 237 * @brief PORT device name: 0U */ 238 #define BOARD_INITLEDSPINS_LED_RED_PORT 0U 239 /*! 240 * @brief 0U pin index: 21 */ 241 #define BOARD_INITLEDSPINS_LED_RED_PIN 21U 242 /*! 243 * @brief GPIO PIO0 channel: 21 */ 244 #define BOARD_INITLEDSPINS_LED_RED_CHANNEL 21 245 /*! 246 * @brief Pin name */ 247 #define BOARD_INITLEDSPINS_LED_RED_PIN_NAME PIO0_21 248 /*! 249 * @brief Label */ 250 #define BOARD_INITLEDSPINS_LED_RED_LABEL "J9[2]/J9[13]/J12[5]/Q5[G1]/ARD_LEDR_PWM" 251 /*! 252 * @brief Identifier name */ 253 #define BOARD_INITLEDSPINS_LED_RED_NAME "LED_RED" 254 /*! 255 * @brief Direction */ 256 #define BOARD_INITLEDSPINS_LED_RED_DIRECTION kPIN_MUX_DirectionOutput 257 /* @} */ 258 259 /*! @name PIO0_22 (number 51), J12[8]/Q4[G1]/ARD_LEDB_PWM 260 @{ */ 261 #define BOARD_INITLEDSPINS_LED_BLUE_PERIPHERAL GPIO /*!<@brief Device name: GPIO */ 262 #define BOARD_INITLEDSPINS_LED_BLUE_SIGNAL PIO0 /*!<@brief GPIO signal: PIO0 */ 263 #define BOARD_INITLEDSPINS_LED_BLUE_GPIO GPIO /*!<@brief GPIO device name: GPIO */ 264 #define BOARD_INITLEDSPINS_LED_BLUE_GPIO_PIN 22U /*!<@brief PIO0 pin index: 22 */ 265 #define BOARD_INITLEDSPINS_LED_BLUE_PORT 0U /*!<@brief PORT device name: 0U */ 266 #define BOARD_INITLEDSPINS_LED_BLUE_PIN 22U /*!<@brief 0U pin index: 22 */ 267 #define BOARD_INITLEDSPINS_LED_BLUE_CHANNEL 22 /*!<@brief GPIO PIO0 channel: 22 */ 268 #define BOARD_INITLEDSPINS_LED_BLUE_PIN_NAME PIO0_22 /*!<@brief Pin name */ 269 #define BOARD_INITLEDSPINS_LED_BLUE_LABEL "J12[8]/Q4[G1]/ARD_LEDB_PWM" /*!<@brief Label */ 270 #define BOARD_INITLEDSPINS_LED_BLUE_NAME "LED_BLUE" /*!<@brief Identifier name */ 271 #define BOARD_INITLEDSPINS_LED_BLUE_DIRECTION kPIN_MUX_DirectionOutput /*!<@brief Direction */ 272 /* @} */ 273 274 /*! 275 * @brief Configures pin routing and optionally pin electrical features. 276 * 277 */ 278 void BOARD_InitLEDsPins(void); /* Function assigned for the Cortex-M33 */ 279 280 #define IOCON_PIO_ASW_DI 0x00u /*!<@brief Analog switch is open (disabled) */ 281 #define IOCON_PIO_DIGITAL_EN 0x0100u /*!<@brief Enables digital function */ 282 #define IOCON_PIO_FUNC0 0x00u /*!<@brief Selects pin function 0 */ 283 #define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function is not inverted */ 284 #define IOCON_PIO_MODE_PULLUP 0x20u /*!<@brief Selects pull-up function */ 285 #define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */ 286 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */ 287 288 /*! @name PIO1_9 (number 3), SW3/J13[2]/ARD_BTN_USR_P1_9 289 @{ */ 290 #define BOARD_INITBUTTONSPINS_USR_PERIPHERAL GPIO /*!<@brief Device name: GPIO */ 291 #define BOARD_INITBUTTONSPINS_USR_SIGNAL PIO1 /*!<@brief GPIO signal: PIO1 */ 292 #define BOARD_INITBUTTONSPINS_USR_GPIO GPIO /*!<@brief GPIO device name: GPIO */ 293 #define BOARD_INITBUTTONSPINS_USR_GPIO_PIN 9U /*!<@brief PIO1 pin index: 9 */ 294 #define BOARD_INITBUTTONSPINS_USR_PORT 1U /*!<@brief PORT device name: 1U */ 295 #define BOARD_INITBUTTONSPINS_USR_PIN 9U /*!<@brief 1U pin index: 9 */ 296 #define BOARD_INITBUTTONSPINS_USR_CHANNEL 9 /*!<@brief GPIO PIO1 channel: 9 */ 297 #define BOARD_INITBUTTONSPINS_USR_PIN_NAME PIO1_9 /*!<@brief Pin name */ 298 #define BOARD_INITBUTTONSPINS_USR_LABEL "SW3/J13[2]/ARD_BTN_USR_P1_9" /*!<@brief Label */ 299 #define BOARD_INITBUTTONSPINS_USR_NAME "USR" /*!<@brief Identifier name */ 300 #define BOARD_INITBUTTONSPINS_USR_DIRECTION kPIN_MUX_DirectionInput /*!<@brief Direction */ 301 /* @} */ 302 303 /*! @name PIO0_28 (number 44), SW1/J8[2]/J10[1]/J12[15]/MIK_EXP_BTN_WK 304 @{ */ 305 /*! 306 * @brief Device name: GPIO */ 307 #define BOARD_INITBUTTONSPINS_WAKEUP_PERIPHERAL GPIO 308 /*! 309 * @brief GPIO signal: PIO0 */ 310 #define BOARD_INITBUTTONSPINS_WAKEUP_SIGNAL PIO0 311 /*! 312 * @brief GPIO device name: GPIO */ 313 #define BOARD_INITBUTTONSPINS_WAKEUP_GPIO GPIO 314 /*! 315 * @brief PIO0 pin index: 28 */ 316 #define BOARD_INITBUTTONSPINS_WAKEUP_GPIO_PIN 28U 317 /*! 318 * @brief PORT device name: 0U */ 319 #define BOARD_INITBUTTONSPINS_WAKEUP_PORT 0U 320 /*! 321 * @brief 0U pin index: 28 */ 322 #define BOARD_INITBUTTONSPINS_WAKEUP_PIN 28U 323 /*! 324 * @brief GPIO PIO0 channel: 28 */ 325 #define BOARD_INITBUTTONSPINS_WAKEUP_CHANNEL 28 326 /*! 327 * @brief Pin name */ 328 #define BOARD_INITBUTTONSPINS_WAKEUP_PIN_NAME PIO0_28 329 /*! 330 * @brief Label */ 331 #define BOARD_INITBUTTONSPINS_WAKEUP_LABEL "SW1/J8[2]/J10[1]/J12[15]/MIK_EXP_BTN_WK" 332 /*! 333 * @brief Identifier name */ 334 #define BOARD_INITBUTTONSPINS_WAKEUP_NAME "WAKEUP" 335 /*! 336 * @brief Direction */ 337 #define BOARD_INITBUTTONSPINS_WAKEUP_DIRECTION kPIN_MUX_DirectionInput 338 /* @} */ 339 340 /*! @name PIO0_5 (number 58), SW4/J9[7]/J17[7]/JS3[1]/U22[11]/U23[4]/N4M_ISP_MODE 341 @{ */ 342 /*! 343 * @brief Device name: GPIO */ 344 #define BOARD_INITBUTTONSPINS_ISP_PERIPHERAL GPIO 345 /*! 346 * @brief GPIO signal: PIO0 */ 347 #define BOARD_INITBUTTONSPINS_ISP_SIGNAL PIO0 348 /*! 349 * @brief GPIO device name: GPIO */ 350 #define BOARD_INITBUTTONSPINS_ISP_GPIO GPIO 351 /*! 352 * @brief PIO0 pin index: 5 */ 353 #define BOARD_INITBUTTONSPINS_ISP_GPIO_PIN 5U 354 /*! 355 * @brief PORT device name: 0U */ 356 #define BOARD_INITBUTTONSPINS_ISP_PORT 0U 357 /*! 358 * @brief 0U pin index: 5 */ 359 #define BOARD_INITBUTTONSPINS_ISP_PIN 5U 360 /*! 361 * @brief GPIO PIO0 channel: 5 */ 362 #define BOARD_INITBUTTONSPINS_ISP_CHANNEL 5 363 /*! 364 * @brief Pin name */ 365 #define BOARD_INITBUTTONSPINS_ISP_PIN_NAME PIO0_5 366 /*! 367 * @brief Label */ 368 #define BOARD_INITBUTTONSPINS_ISP_LABEL "SW4/J9[7]/J17[7]/JS3[1]/U22[11]/U23[4]/N4M_ISP_MODE" 369 /*! 370 * @brief Identifier name */ 371 #define BOARD_INITBUTTONSPINS_ISP_NAME "ISP" 372 /*! 373 * @brief Direction */ 374 #define BOARD_INITBUTTONSPINS_ISP_DIRECTION kPIN_MUX_DirectionInput 375 /* @} */ 376 377 /*! @name RESETN (number 23), SW2/J7[2]/J10[9]/J10[10]/U18[16]/N4M_RESET# 378 @{ */ 379 /*! 380 * @brief Device name: SYSCON */ 381 #define BOARD_INITBUTTONSPINS_RESET_PERIPHERAL SYSCON 382 /*! 383 * @brief SYSCON signal: RESET */ 384 #define BOARD_INITBUTTONSPINS_RESET_SIGNAL RESET 385 /*! 386 * @brief Pin name */ 387 #define BOARD_INITBUTTONSPINS_RESET_PIN_NAME RESETN 388 /*! 389 * @brief Label */ 390 #define BOARD_INITBUTTONSPINS_RESET_LABEL "SW2/J7[2]/J10[9]/J10[10]/U18[16]/N4M_RESET#" 391 /*! 392 * @brief Identifier name */ 393 #define BOARD_INITBUTTONSPINS_RESET_NAME "RESET" 394 /* @} */ 395 396 /*! 397 * @brief Configures pin routing and optionally pin electrical features. 398 * 399 */ 400 void BOARD_InitBUTTONsPins(void); /* Function assigned for the Cortex-M33 */ 401 402 #define IOCON_PIO_DIGITAL_EN 0x0100u /*!<@brief Enables digital function */ 403 #define IOCON_PIO_FUNC0 0x00u /*!<@brief Selects pin function 0 */ 404 #define IOCON_PIO_FUNC1 0x01u /*!<@brief Selects pin function 1 */ 405 #define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function is not inverted */ 406 #define IOCON_PIO_MODE_INACT 0x00u /*!<@brief No addition pin function */ 407 #define IOCON_PIO_MODE_PULLUP 0x20u /*!<@brief Selects pull-up function */ 408 #define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */ 409 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */ 410 411 /*! @name FC0_RXD_SDA_MOSI_DATA (number 45), J8[6]/J9[18]/U12[6]/FC0_I2C_SDA 412 @{ */ 413 /*! 414 * @brief Device name: FLEXCOMM0 */ 415 #define BOARD_INITACCELPINS_FC0_I2C_SDA_PERIPHERAL FLEXCOMM0 416 /*! 417 * @brief FLEXCOMM0 signal: RXD_SDA_MOSI_DATA */ 418 #define BOARD_INITACCELPINS_FC0_I2C_SDA_SIGNAL RXD_SDA_MOSI_DATA 419 /*! 420 * @brief Pin name */ 421 #define BOARD_INITACCELPINS_FC0_I2C_SDA_PIN_NAME FC0_RXD_SDA_MOSI_DATA 422 /*! 423 * @brief Label */ 424 #define BOARD_INITACCELPINS_FC0_I2C_SDA_LABEL "J8[6]/J9[18]/U12[6]/FC0_I2C_SDA" 425 /*! 426 * @brief Identifier name */ 427 #define BOARD_INITACCELPINS_FC0_I2C_SDA_NAME "FC0_I2C_SDA" 428 /* @} */ 429 430 /*! @name FC0_TXD_SCL_MISO_WS (number 52), J8[5]/J10[3]/U12[4]/FC0_I2C_SCL 431 @{ */ 432 /*! 433 * @brief Device name: FLEXCOMM0 */ 434 #define BOARD_INITACCELPINS_FC0_I2C_SCL_PERIPHERAL FLEXCOMM0 435 /*! 436 * @brief FLEXCOMM0 signal: TXD_SCL_MISO_WS */ 437 #define BOARD_INITACCELPINS_FC0_I2C_SCL_SIGNAL TXD_SCL_MISO_WS 438 /*! 439 * @brief Pin name */ 440 #define BOARD_INITACCELPINS_FC0_I2C_SCL_PIN_NAME FC0_TXD_SCL_MISO_WS 441 /*! 442 * @brief Label */ 443 #define BOARD_INITACCELPINS_FC0_I2C_SCL_LABEL "J8[5]/J10[3]/U12[4]/FC0_I2C_SCL" 444 /*! 445 * @brief Identifier name */ 446 #define BOARD_INITACCELPINS_FC0_I2C_SCL_NAME "FC0_I2C_SCL" 447 /* @} */ 448 449 /*! @name PIO1_23 (number 27), J9[5]/U12[11]/ACC_INT_EXP_P1_23 450 @{ */ 451 /*! 452 * @brief Device name: GPIO */ 453 #define BOARD_INITACCELPINS_ACCL_INTR_PERIPHERAL GPIO 454 /*! 455 * @brief GPIO signal: PIO1 */ 456 #define BOARD_INITACCELPINS_ACCL_INTR_SIGNAL PIO1 457 /*! 458 * @brief GPIO device name: GPIO */ 459 #define BOARD_INITACCELPINS_ACCL_INTR_GPIO GPIO 460 /*! 461 * @brief PIO1 pin index: 23 */ 462 #define BOARD_INITACCELPINS_ACCL_INTR_GPIO_PIN 23U 463 /*! 464 * @brief PORT device name: 1U */ 465 #define BOARD_INITACCELPINS_ACCL_INTR_PORT 1U 466 /*! 467 * @brief 1U pin index: 23 */ 468 #define BOARD_INITACCELPINS_ACCL_INTR_PIN 23U 469 /*! 470 * @brief GPIO PIO1 channel: 23 */ 471 #define BOARD_INITACCELPINS_ACCL_INTR_CHANNEL 23 472 /*! 473 * @brief Pin name */ 474 #define BOARD_INITACCELPINS_ACCL_INTR_PIN_NAME PIO1_23 475 /*! 476 * @brief Label */ 477 #define BOARD_INITACCELPINS_ACCL_INTR_LABEL "J9[5]/U12[11]/ACC_INT_EXP_P1_23" 478 /*! 479 * @brief Identifier name */ 480 #define BOARD_INITACCELPINS_ACCL_INTR_NAME "ACCL_INTR" 481 /* @} */ 482 483 /*! 484 * @brief Configures pin routing and optionally pin electrical features. 485 * 486 */ 487 void BOARD_InitACCELPins(void); /* Function assigned for the Cortex-M33 */ 488 489 #define IOCON_PIO_DIGITAL_EN 0x0100u /*!<@brief Enables digital function */ 490 #define IOCON_PIO_FUNC1 0x01u /*!<@brief Selects pin function 1 */ 491 #define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function is not inverted */ 492 #define IOCON_PIO_MODE_INACT 0x00u /*!<@brief No addition pin function */ 493 #define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */ 494 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */ 495 496 /*! @name CAN0_TD (number 41), J18[7]/JP26[2]/U24[13]/CAN__HSSPI_ISP_PIO1_2 497 @{ */ 498 /*! 499 * @brief Device name: CAN0 */ 500 #define BOARD_INITCANPINS_CAN_TXD_PERIPHERAL CAN0 501 /*! 502 * @brief CAN0 signal: CAN_TD */ 503 #define BOARD_INITCANPINS_CAN_TXD_SIGNAL CAN_TD 504 /*! 505 * @brief Pin name */ 506 #define BOARD_INITCANPINS_CAN_TXD_PIN_NAME CAN0_TD 507 /*! 508 * @brief Label */ 509 #define BOARD_INITCANPINS_CAN_TXD_LABEL "J18[7]/JP26[2]/U24[13]/CAN__HSSPI_ISP_PIO1_2" 510 /*! 511 * @brief Identifier name */ 512 #define BOARD_INITCANPINS_CAN_TXD_NAME "CAN_TXD" 513 /* @} */ 514 515 /*! @name CAN0_RD (number 42), J18[5]/JP25[2]/U24[12]/CAN__HSSPI_ISP_PIO1_3 516 @{ */ 517 /*! 518 * @brief Device name: CAN0 */ 519 #define BOARD_INITCANPINS_CAN_RXD_PERIPHERAL CAN0 520 /*! 521 * @brief CAN0 signal: CAN_RD */ 522 #define BOARD_INITCANPINS_CAN_RXD_SIGNAL CAN_RD 523 /*! 524 * @brief Pin name */ 525 #define BOARD_INITCANPINS_CAN_RXD_PIN_NAME CAN0_RD 526 /*! 527 * @brief Label */ 528 #define BOARD_INITCANPINS_CAN_RXD_LABEL "J18[5]/JP25[2]/U24[12]/CAN__HSSPI_ISP_PIO1_3" 529 /*! 530 * @brief Identifier name */ 531 #define BOARD_INITCANPINS_CAN_RXD_NAME "CAN_RXD" 532 /* @} */ 533 534 /*! 535 * @brief Configures pin routing and optionally pin electrical features. 536 * 537 */ 538 void BOARD_InitCANPins(void); /* Function assigned for the Cortex-M33 */ 539 540 #if defined(__cplusplus) 541 } 542 #endif 543 544 /*! 545 * @} 546 */ 547 #endif /* _PIN_MUX_H_ */ 548 549 /*********************************************************************************************************************** 550 * EOF 551 **********************************************************************************************************************/ 552