mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
1018 lines
67 KiB
C
1018 lines
67 KiB
C
/**
|
|
* \file
|
|
*
|
|
* \brief Peripheral I/O description for SAMR21G18A
|
|
*
|
|
* Copyright (c) 2014 Atmel Corporation. All rights reserved.
|
|
*
|
|
* \asf_license_start
|
|
*
|
|
* \page License
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* modification, are permitted provided that the following conditions are met:
|
|
*
|
|
* 1. Redistributions of source code must retain the above copyright notice,
|
|
* this list of conditions and the following disclaimer.
|
|
*
|
|
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
* this list of conditions and the following disclaimer in the documentation
|
|
* and/or other materials provided with the distribution.
|
|
*
|
|
* 3. The name of Atmel may not be used to endorse or promote products derived
|
|
* from this software without specific prior written permission.
|
|
*
|
|
* 4. This software may only be redistributed and used in connection with an
|
|
* Atmel microcontroller product.
|
|
*
|
|
* THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
|
|
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
|
* EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
|
|
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
* POSSIBILITY OF SUCH DAMAGE.
|
|
*
|
|
* \asf_license_stop
|
|
*
|
|
*/
|
|
|
|
#ifndef _SAMR21G18A_PIO_
|
|
#define _SAMR21G18A_PIO_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define PIN_PA00 0 /**< \brief Pin Number for PA00 */
|
|
#define PORT_PA00 (1u << 0) /**< \brief PORT Mask for PA00 */
|
|
#define PIN_PA01 1 /**< \brief Pin Number for PA01 */
|
|
#define PORT_PA01 (1u << 1) /**< \brief PORT Mask for PA01 */
|
|
#define PIN_PA04 4 /**< \brief Pin Number for PA04 */
|
|
#define PORT_PA04 (1u << 4) /**< \brief PORT Mask for PA04 */
|
|
#define PIN_PA05 5 /**< \brief Pin Number for PA05 */
|
|
#define PORT_PA05 (1u << 5) /**< \brief PORT Mask for PA05 */
|
|
#define PIN_PA06 6 /**< \brief Pin Number for PA06 */
|
|
#define PORT_PA06 (1u << 6) /**< \brief PORT Mask for PA06 */
|
|
#define PIN_PA07 7 /**< \brief Pin Number for PA07 */
|
|
#define PORT_PA07 (1u << 7) /**< \brief PORT Mask for PA07 */
|
|
#define PIN_PA08 8 /**< \brief Pin Number for PA08 */
|
|
#define PORT_PA08 (1u << 8) /**< \brief PORT Mask for PA08 */
|
|
#define PIN_PA09 9 /**< \brief Pin Number for PA09 */
|
|
#define PORT_PA09 (1u << 9) /**< \brief PORT Mask for PA09 */
|
|
#define PIN_PA10 10 /**< \brief Pin Number for PA10 */
|
|
#define PORT_PA10 (1u << 10) /**< \brief PORT Mask for PA10 */
|
|
#define PIN_PA11 11 /**< \brief Pin Number for PA11 */
|
|
#define PORT_PA11 (1u << 11) /**< \brief PORT Mask for PA11 */
|
|
#define PIN_PA12 12 /**< \brief Pin Number for PA12 */
|
|
#define PORT_PA12 (1u << 12) /**< \brief PORT Mask for PA12 */
|
|
#define PIN_PA13 13 /**< \brief Pin Number for PA13 */
|
|
#define PORT_PA13 (1u << 13) /**< \brief PORT Mask for PA13 */
|
|
#define PIN_PA14 14 /**< \brief Pin Number for PA14 */
|
|
#define PORT_PA14 (1u << 14) /**< \brief PORT Mask for PA14 */
|
|
#define PIN_PA15 15 /**< \brief Pin Number for PA15 */
|
|
#define PORT_PA15 (1u << 15) /**< \brief PORT Mask for PA15 */
|
|
#define PIN_PA16 16 /**< \brief Pin Number for PA16 */
|
|
#define PORT_PA16 (1u << 16) /**< \brief PORT Mask for PA16 */
|
|
#define PIN_PA17 17 /**< \brief Pin Number for PA17 */
|
|
#define PORT_PA17 (1u << 17) /**< \brief PORT Mask for PA17 */
|
|
#define PIN_PA18 18 /**< \brief Pin Number for PA18 */
|
|
#define PORT_PA18 (1u << 18) /**< \brief PORT Mask for PA18 */
|
|
#define PIN_PA19 19 /**< \brief Pin Number for PA19 */
|
|
#define PORT_PA19 (1u << 19) /**< \brief PORT Mask for PA19 */
|
|
#define PIN_PA20 20 /**< \brief Pin Number for PA20 */
|
|
#define PORT_PA20 (1u << 20) /**< \brief PORT Mask for PA20 */
|
|
#define PIN_PA22 22 /**< \brief Pin Number for PA22 */
|
|
#define PORT_PA22 (1u << 22) /**< \brief PORT Mask for PA22 */
|
|
#define PIN_PA23 23 /**< \brief Pin Number for PA23 */
|
|
#define PORT_PA23 (1u << 23) /**< \brief PORT Mask for PA23 */
|
|
#define PIN_PA24 24 /**< \brief Pin Number for PA24 */
|
|
#define PORT_PA24 (1u << 24) /**< \brief PORT Mask for PA24 */
|
|
#define PIN_PA25 25 /**< \brief Pin Number for PA25 */
|
|
#define PORT_PA25 (1u << 25) /**< \brief PORT Mask for PA25 */
|
|
#define PIN_PA27 27 /**< \brief Pin Number for PA27 */
|
|
#define PORT_PA27 (1u << 27) /**< \brief PORT Mask for PA27 */
|
|
#define PIN_PA28 28 /**< \brief Pin Number for PA28 */
|
|
#define PORT_PA28 (1u << 28) /**< \brief PORT Mask for PA28 */
|
|
#define PIN_PA30 30 /**< \brief Pin Number for PA30 */
|
|
#define PORT_PA30 (1u << 30) /**< \brief PORT Mask for PA30 */
|
|
#define PIN_PA31 31 /**< \brief Pin Number for PA31 */
|
|
#define PORT_PA31 (1u << 31) /**< \brief PORT Mask for PA31 */
|
|
#define PIN_PB00 32 /**< \brief Pin Number for PB00 */
|
|
#define PORT_PB00 (1u << 0) /**< \brief PORT Mask for PB00 */
|
|
#define PIN_PB02 34 /**< \brief Pin Number for PB02 */
|
|
#define PORT_PB02 (1u << 2) /**< \brief PORT Mask for PB02 */
|
|
#define PIN_PB03 35 /**< \brief Pin Number for PB03 */
|
|
#define PORT_PB03 (1u << 3) /**< \brief PORT Mask for PB03 */
|
|
#define PIN_PB08 40 /**< \brief Pin Number for PB08 */
|
|
#define PORT_PB08 (1u << 8) /**< \brief PORT Mask for PB08 */
|
|
#define PIN_PB09 41 /**< \brief Pin Number for PB09 */
|
|
#define PORT_PB09 (1u << 9) /**< \brief PORT Mask for PB09 */
|
|
#define PIN_PB14 46 /**< \brief Pin Number for PB14 */
|
|
#define PORT_PB14 (1u << 14) /**< \brief PORT Mask for PB14 */
|
|
#define PIN_PB15 47 /**< \brief Pin Number for PB15 */
|
|
#define PORT_PB15 (1u << 15) /**< \brief PORT Mask for PB15 */
|
|
#define PIN_PB16 48 /**< \brief Pin Number for PB16 */
|
|
#define PORT_PB16 (1u << 16) /**< \brief PORT Mask for PB16 */
|
|
#define PIN_PB17 49 /**< \brief Pin Number for PB17 */
|
|
#define PORT_PB17 (1u << 17) /**< \brief PORT Mask for PB17 */
|
|
#define PIN_PB22 54 /**< \brief Pin Number for PB22 */
|
|
#define PORT_PB22 (1u << 22) /**< \brief PORT Mask for PB22 */
|
|
#define PIN_PB23 55 /**< \brief Pin Number for PB23 */
|
|
#define PORT_PB23 (1u << 23) /**< \brief PORT Mask for PB23 */
|
|
#define PIN_PB30 62 /**< \brief Pin Number for PB30 */
|
|
#define PORT_PB30 (1u << 30) /**< \brief PORT Mask for PB30 */
|
|
#define PIN_PB31 63 /**< \brief Pin Number for PB31 */
|
|
#define PORT_PB31 (1u << 31) /**< \brief PORT Mask for PB31 */
|
|
#define PIN_PC16 80 /**< \brief Pin Number for PC16 */
|
|
#define PORT_PC16 (1u << 16) /**< \brief PORT Mask for PC16 */
|
|
#define PIN_PC18 82 /**< \brief Pin Number for PC18 */
|
|
#define PORT_PC18 (1u << 18) /**< \brief PORT Mask for PC18 */
|
|
#define PIN_PC19 83 /**< \brief Pin Number for PC19 */
|
|
#define PORT_PC19 (1u << 19) /**< \brief PORT Mask for PC19 */
|
|
/* ========== PORT definition for CORE peripheral ========== */
|
|
#define PIN_PA30G_CORE_SWCLK 30 /**< \brief CORE signal: SWCLK on PA30 mux G */
|
|
#define MUX_PA30G_CORE_SWCLK 6
|
|
#define PINMUX_PA30G_CORE_SWCLK ((PIN_PA30G_CORE_SWCLK << 16) | MUX_PA30G_CORE_SWCLK)
|
|
#define PORT_PA30G_CORE_SWCLK (1u << 30)
|
|
/* ========== PORT definition for GCLK peripheral ========== */
|
|
#define PIN_PB14H_GCLK_IO0 46 /**< \brief GCLK signal: IO0 on PB14 mux H */
|
|
#define MUX_PB14H_GCLK_IO0 7
|
|
#define PINMUX_PB14H_GCLK_IO0 ((PIN_PB14H_GCLK_IO0 << 16) | MUX_PB14H_GCLK_IO0)
|
|
#define PORT_PB14H_GCLK_IO0 (1u << 14)
|
|
#define PIN_PB22H_GCLK_IO0 54 /**< \brief GCLK signal: IO0 on PB22 mux H */
|
|
#define MUX_PB22H_GCLK_IO0 7
|
|
#define PINMUX_PB22H_GCLK_IO0 ((PIN_PB22H_GCLK_IO0 << 16) | MUX_PB22H_GCLK_IO0)
|
|
#define PORT_PB22H_GCLK_IO0 (1u << 22)
|
|
#define PIN_PA14H_GCLK_IO0 14 /**< \brief GCLK signal: IO0 on PA14 mux H */
|
|
#define MUX_PA14H_GCLK_IO0 7
|
|
#define PINMUX_PA14H_GCLK_IO0 ((PIN_PA14H_GCLK_IO0 << 16) | MUX_PA14H_GCLK_IO0)
|
|
#define PORT_PA14H_GCLK_IO0 (1u << 14)
|
|
#define PIN_PA27H_GCLK_IO0 27 /**< \brief GCLK signal: IO0 on PA27 mux H */
|
|
#define MUX_PA27H_GCLK_IO0 7
|
|
#define PINMUX_PA27H_GCLK_IO0 ((PIN_PA27H_GCLK_IO0 << 16) | MUX_PA27H_GCLK_IO0)
|
|
#define PORT_PA27H_GCLK_IO0 (1u << 27)
|
|
#define PIN_PA28H_GCLK_IO0 28 /**< \brief GCLK signal: IO0 on PA28 mux H */
|
|
#define MUX_PA28H_GCLK_IO0 7
|
|
#define PINMUX_PA28H_GCLK_IO0 ((PIN_PA28H_GCLK_IO0 << 16) | MUX_PA28H_GCLK_IO0)
|
|
#define PORT_PA28H_GCLK_IO0 (1u << 28)
|
|
#define PIN_PA30H_GCLK_IO0 30 /**< \brief GCLK signal: IO0 on PA30 mux H */
|
|
#define MUX_PA30H_GCLK_IO0 7
|
|
#define PINMUX_PA30H_GCLK_IO0 ((PIN_PA30H_GCLK_IO0 << 16) | MUX_PA30H_GCLK_IO0)
|
|
#define PORT_PA30H_GCLK_IO0 (1u << 30)
|
|
#define PIN_PB15H_GCLK_IO1 47 /**< \brief GCLK signal: IO1 on PB15 mux H */
|
|
#define MUX_PB15H_GCLK_IO1 7
|
|
#define PINMUX_PB15H_GCLK_IO1 ((PIN_PB15H_GCLK_IO1 << 16) | MUX_PB15H_GCLK_IO1)
|
|
#define PORT_PB15H_GCLK_IO1 (1u << 15)
|
|
#define PIN_PB23H_GCLK_IO1 55 /**< \brief GCLK signal: IO1 on PB23 mux H */
|
|
#define MUX_PB23H_GCLK_IO1 7
|
|
#define PINMUX_PB23H_GCLK_IO1 ((PIN_PB23H_GCLK_IO1 << 16) | MUX_PB23H_GCLK_IO1)
|
|
#define PORT_PB23H_GCLK_IO1 (1u << 23)
|
|
#define PIN_PA15H_GCLK_IO1 15 /**< \brief GCLK signal: IO1 on PA15 mux H */
|
|
#define MUX_PA15H_GCLK_IO1 7
|
|
#define PINMUX_PA15H_GCLK_IO1 ((PIN_PA15H_GCLK_IO1 << 16) | MUX_PA15H_GCLK_IO1)
|
|
#define PORT_PA15H_GCLK_IO1 (1u << 15)
|
|
#define PIN_PC16F_GCLK_IO1 80 /**< \brief GCLK signal: IO1 on PC16 mux F */
|
|
#define MUX_PC16F_GCLK_IO1 5
|
|
#define PINMUX_PC16F_GCLK_IO1 ((PIN_PC16F_GCLK_IO1 << 16) | MUX_PC16F_GCLK_IO1)
|
|
#define PORT_PC16F_GCLK_IO1 (1u << 16)
|
|
#define PIN_PB16H_GCLK_IO2 48 /**< \brief GCLK signal: IO2 on PB16 mux H */
|
|
#define MUX_PB16H_GCLK_IO2 7
|
|
#define PINMUX_PB16H_GCLK_IO2 ((PIN_PB16H_GCLK_IO2 << 16) | MUX_PB16H_GCLK_IO2)
|
|
#define PORT_PB16H_GCLK_IO2 (1u << 16)
|
|
#define PIN_PA16H_GCLK_IO2 16 /**< \brief GCLK signal: IO2 on PA16 mux H */
|
|
#define MUX_PA16H_GCLK_IO2 7
|
|
#define PINMUX_PA16H_GCLK_IO2 ((PIN_PA16H_GCLK_IO2 << 16) | MUX_PA16H_GCLK_IO2)
|
|
#define PORT_PA16H_GCLK_IO2 (1u << 16)
|
|
#define PIN_PA17H_GCLK_IO3 17 /**< \brief GCLK signal: IO3 on PA17 mux H */
|
|
#define MUX_PA17H_GCLK_IO3 7
|
|
#define PINMUX_PA17H_GCLK_IO3 ((PIN_PA17H_GCLK_IO3 << 16) | MUX_PA17H_GCLK_IO3)
|
|
#define PORT_PA17H_GCLK_IO3 (1u << 17)
|
|
#define PIN_PB17H_GCLK_IO3 49 /**< \brief GCLK signal: IO3 on PB17 mux H */
|
|
#define MUX_PB17H_GCLK_IO3 7
|
|
#define PINMUX_PB17H_GCLK_IO3 ((PIN_PB17H_GCLK_IO3 << 16) | MUX_PB17H_GCLK_IO3)
|
|
#define PORT_PB17H_GCLK_IO3 (1u << 17)
|
|
#define PIN_PA10H_GCLK_IO4 10 /**< \brief GCLK signal: IO4 on PA10 mux H */
|
|
#define MUX_PA10H_GCLK_IO4 7
|
|
#define PINMUX_PA10H_GCLK_IO4 ((PIN_PA10H_GCLK_IO4 << 16) | MUX_PA10H_GCLK_IO4)
|
|
#define PORT_PA10H_GCLK_IO4 (1u << 10)
|
|
#define PIN_PA20H_GCLK_IO4 20 /**< \brief GCLK signal: IO4 on PA20 mux H */
|
|
#define MUX_PA20H_GCLK_IO4 7
|
|
#define PINMUX_PA20H_GCLK_IO4 ((PIN_PA20H_GCLK_IO4 << 16) | MUX_PA20H_GCLK_IO4)
|
|
#define PORT_PA20H_GCLK_IO4 (1u << 20)
|
|
#define PIN_PA11H_GCLK_IO5 11 /**< \brief GCLK signal: IO5 on PA11 mux H */
|
|
#define MUX_PA11H_GCLK_IO5 7
|
|
#define PINMUX_PA11H_GCLK_IO5 ((PIN_PA11H_GCLK_IO5 << 16) | MUX_PA11H_GCLK_IO5)
|
|
#define PORT_PA11H_GCLK_IO5 (1u << 11)
|
|
#define PIN_PA22H_GCLK_IO6 22 /**< \brief GCLK signal: IO6 on PA22 mux H */
|
|
#define MUX_PA22H_GCLK_IO6 7
|
|
#define PINMUX_PA22H_GCLK_IO6 ((PIN_PA22H_GCLK_IO6 << 16) | MUX_PA22H_GCLK_IO6)
|
|
#define PORT_PA22H_GCLK_IO6 (1u << 22)
|
|
#define PIN_PA23H_GCLK_IO7 23 /**< \brief GCLK signal: IO7 on PA23 mux H */
|
|
#define MUX_PA23H_GCLK_IO7 7
|
|
#define PINMUX_PA23H_GCLK_IO7 ((PIN_PA23H_GCLK_IO7 << 16) | MUX_PA23H_GCLK_IO7)
|
|
#define PORT_PA23H_GCLK_IO7 (1u << 23)
|
|
/* ========== PORT definition for EIC peripheral ========== */
|
|
#define PIN_PA16A_EIC_EXTINT0 16 /**< \brief EIC signal: EXTINT0 on PA16 mux A */
|
|
#define MUX_PA16A_EIC_EXTINT0 0
|
|
#define PINMUX_PA16A_EIC_EXTINT0 ((PIN_PA16A_EIC_EXTINT0 << 16) | MUX_PA16A_EIC_EXTINT0)
|
|
#define PORT_PA16A_EIC_EXTINT0 (1u << 16)
|
|
#define PIN_PB00A_EIC_EXTINT0 32 /**< \brief EIC signal: EXTINT0 on PB00 mux A */
|
|
#define MUX_PB00A_EIC_EXTINT0 0
|
|
#define PINMUX_PB00A_EIC_EXTINT0 ((PIN_PB00A_EIC_EXTINT0 << 16) | MUX_PB00A_EIC_EXTINT0)
|
|
#define PORT_PB00A_EIC_EXTINT0 (1u << 0)
|
|
#define PIN_PB16A_EIC_EXTINT0 48 /**< \brief EIC signal: EXTINT0 on PB16 mux A */
|
|
#define MUX_PB16A_EIC_EXTINT0 0
|
|
#define PINMUX_PB16A_EIC_EXTINT0 ((PIN_PB16A_EIC_EXTINT0 << 16) | MUX_PB16A_EIC_EXTINT0)
|
|
#define PORT_PB16A_EIC_EXTINT0 (1u << 16)
|
|
#define PIN_PA00A_EIC_EXTINT0 0 /**< \brief EIC signal: EXTINT0 on PA00 mux A */
|
|
#define MUX_PA00A_EIC_EXTINT0 0
|
|
#define PINMUX_PA00A_EIC_EXTINT0 ((PIN_PA00A_EIC_EXTINT0 << 16) | MUX_PA00A_EIC_EXTINT0)
|
|
#define PORT_PA00A_EIC_EXTINT0 (1u << 0)
|
|
#define PIN_PA17A_EIC_EXTINT1 17 /**< \brief EIC signal: EXTINT1 on PA17 mux A */
|
|
#define MUX_PA17A_EIC_EXTINT1 0
|
|
#define PINMUX_PA17A_EIC_EXTINT1 ((PIN_PA17A_EIC_EXTINT1 << 16) | MUX_PA17A_EIC_EXTINT1)
|
|
#define PORT_PA17A_EIC_EXTINT1 (1u << 17)
|
|
#define PIN_PB17A_EIC_EXTINT1 49 /**< \brief EIC signal: EXTINT1 on PB17 mux A */
|
|
#define MUX_PB17A_EIC_EXTINT1 0
|
|
#define PINMUX_PB17A_EIC_EXTINT1 ((PIN_PB17A_EIC_EXTINT1 << 16) | MUX_PB17A_EIC_EXTINT1)
|
|
#define PORT_PB17A_EIC_EXTINT1 (1u << 17)
|
|
#define PIN_PA01A_EIC_EXTINT1 1 /**< \brief EIC signal: EXTINT1 on PA01 mux A */
|
|
#define MUX_PA01A_EIC_EXTINT1 0
|
|
#define PINMUX_PA01A_EIC_EXTINT1 ((PIN_PA01A_EIC_EXTINT1 << 16) | MUX_PA01A_EIC_EXTINT1)
|
|
#define PORT_PA01A_EIC_EXTINT1 (1u << 1)
|
|
#define PIN_PA18A_EIC_EXTINT2 18 /**< \brief EIC signal: EXTINT2 on PA18 mux A */
|
|
#define MUX_PA18A_EIC_EXTINT2 0
|
|
#define PINMUX_PA18A_EIC_EXTINT2 ((PIN_PA18A_EIC_EXTINT2 << 16) | MUX_PA18A_EIC_EXTINT2)
|
|
#define PORT_PA18A_EIC_EXTINT2 (1u << 18)
|
|
#define PIN_PB02A_EIC_EXTINT2 34 /**< \brief EIC signal: EXTINT2 on PB02 mux A */
|
|
#define MUX_PB02A_EIC_EXTINT2 0
|
|
#define PINMUX_PB02A_EIC_EXTINT2 ((PIN_PB02A_EIC_EXTINT2 << 16) | MUX_PB02A_EIC_EXTINT2)
|
|
#define PORT_PB02A_EIC_EXTINT2 (1u << 2)
|
|
#define PIN_PA19A_EIC_EXTINT3 19 /**< \brief EIC signal: EXTINT3 on PA19 mux A */
|
|
#define MUX_PA19A_EIC_EXTINT3 0
|
|
#define PINMUX_PA19A_EIC_EXTINT3 ((PIN_PA19A_EIC_EXTINT3 << 16) | MUX_PA19A_EIC_EXTINT3)
|
|
#define PORT_PA19A_EIC_EXTINT3 (1u << 19)
|
|
#define PIN_PB03A_EIC_EXTINT3 35 /**< \brief EIC signal: EXTINT3 on PB03 mux A */
|
|
#define MUX_PB03A_EIC_EXTINT3 0
|
|
#define PINMUX_PB03A_EIC_EXTINT3 ((PIN_PB03A_EIC_EXTINT3 << 16) | MUX_PB03A_EIC_EXTINT3)
|
|
#define PORT_PB03A_EIC_EXTINT3 (1u << 3)
|
|
#define PIN_PA04A_EIC_EXTINT4 4 /**< \brief EIC signal: EXTINT4 on PA04 mux A */
|
|
#define MUX_PA04A_EIC_EXTINT4 0
|
|
#define PINMUX_PA04A_EIC_EXTINT4 ((PIN_PA04A_EIC_EXTINT4 << 16) | MUX_PA04A_EIC_EXTINT4)
|
|
#define PORT_PA04A_EIC_EXTINT4 (1u << 4)
|
|
#define PIN_PA20A_EIC_EXTINT4 20 /**< \brief EIC signal: EXTINT4 on PA20 mux A */
|
|
#define MUX_PA20A_EIC_EXTINT4 0
|
|
#define PINMUX_PA20A_EIC_EXTINT4 ((PIN_PA20A_EIC_EXTINT4 << 16) | MUX_PA20A_EIC_EXTINT4)
|
|
#define PORT_PA20A_EIC_EXTINT4 (1u << 20)
|
|
#define PIN_PA05A_EIC_EXTINT5 5 /**< \brief EIC signal: EXTINT5 on PA05 mux A */
|
|
#define MUX_PA05A_EIC_EXTINT5 0
|
|
#define PINMUX_PA05A_EIC_EXTINT5 ((PIN_PA05A_EIC_EXTINT5 << 16) | MUX_PA05A_EIC_EXTINT5)
|
|
#define PORT_PA05A_EIC_EXTINT5 (1u << 5)
|
|
#define PIN_PA06A_EIC_EXTINT6 6 /**< \brief EIC signal: EXTINT6 on PA06 mux A */
|
|
#define MUX_PA06A_EIC_EXTINT6 0
|
|
#define PINMUX_PA06A_EIC_EXTINT6 ((PIN_PA06A_EIC_EXTINT6 << 16) | MUX_PA06A_EIC_EXTINT6)
|
|
#define PORT_PA06A_EIC_EXTINT6 (1u << 6)
|
|
#define PIN_PA22A_EIC_EXTINT6 22 /**< \brief EIC signal: EXTINT6 on PA22 mux A */
|
|
#define MUX_PA22A_EIC_EXTINT6 0
|
|
#define PINMUX_PA22A_EIC_EXTINT6 ((PIN_PA22A_EIC_EXTINT6 << 16) | MUX_PA22A_EIC_EXTINT6)
|
|
#define PORT_PA22A_EIC_EXTINT6 (1u << 22)
|
|
#define PIN_PB22A_EIC_EXTINT6 54 /**< \brief EIC signal: EXTINT6 on PB22 mux A */
|
|
#define MUX_PB22A_EIC_EXTINT6 0
|
|
#define PINMUX_PB22A_EIC_EXTINT6 ((PIN_PB22A_EIC_EXTINT6 << 16) | MUX_PB22A_EIC_EXTINT6)
|
|
#define PORT_PB22A_EIC_EXTINT6 (1u << 22)
|
|
#define PIN_PA07A_EIC_EXTINT7 7 /**< \brief EIC signal: EXTINT7 on PA07 mux A */
|
|
#define MUX_PA07A_EIC_EXTINT7 0
|
|
#define PINMUX_PA07A_EIC_EXTINT7 ((PIN_PA07A_EIC_EXTINT7 << 16) | MUX_PA07A_EIC_EXTINT7)
|
|
#define PORT_PA07A_EIC_EXTINT7 (1u << 7)
|
|
#define PIN_PA23A_EIC_EXTINT7 23 /**< \brief EIC signal: EXTINT7 on PA23 mux A */
|
|
#define MUX_PA23A_EIC_EXTINT7 0
|
|
#define PINMUX_PA23A_EIC_EXTINT7 ((PIN_PA23A_EIC_EXTINT7 << 16) | MUX_PA23A_EIC_EXTINT7)
|
|
#define PORT_PA23A_EIC_EXTINT7 (1u << 23)
|
|
#define PIN_PB23A_EIC_EXTINT7 55 /**< \brief EIC signal: EXTINT7 on PB23 mux A */
|
|
#define MUX_PB23A_EIC_EXTINT7 0
|
|
#define PINMUX_PB23A_EIC_EXTINT7 ((PIN_PB23A_EIC_EXTINT7 << 16) | MUX_PB23A_EIC_EXTINT7)
|
|
#define PORT_PB23A_EIC_EXTINT7 (1u << 23)
|
|
#define PIN_PA28A_EIC_EXTINT8 28 /**< \brief EIC signal: EXTINT8 on PA28 mux A */
|
|
#define MUX_PA28A_EIC_EXTINT8 0
|
|
#define PINMUX_PA28A_EIC_EXTINT8 ((PIN_PA28A_EIC_EXTINT8 << 16) | MUX_PA28A_EIC_EXTINT8)
|
|
#define PORT_PA28A_EIC_EXTINT8 (1u << 28)
|
|
#define PIN_PB08A_EIC_EXTINT8 40 /**< \brief EIC signal: EXTINT8 on PB08 mux A */
|
|
#define MUX_PB08A_EIC_EXTINT8 0
|
|
#define PINMUX_PB08A_EIC_EXTINT8 ((PIN_PB08A_EIC_EXTINT8 << 16) | MUX_PB08A_EIC_EXTINT8)
|
|
#define PORT_PB08A_EIC_EXTINT8 (1u << 8)
|
|
#define PIN_PA09A_EIC_EXTINT9 9 /**< \brief EIC signal: EXTINT9 on PA09 mux A */
|
|
#define MUX_PA09A_EIC_EXTINT9 0
|
|
#define PINMUX_PA09A_EIC_EXTINT9 ((PIN_PA09A_EIC_EXTINT9 << 16) | MUX_PA09A_EIC_EXTINT9)
|
|
#define PORT_PA09A_EIC_EXTINT9 (1u << 9)
|
|
#define PIN_PB09A_EIC_EXTINT9 41 /**< \brief EIC signal: EXTINT9 on PB09 mux A */
|
|
#define MUX_PB09A_EIC_EXTINT9 0
|
|
#define PINMUX_PB09A_EIC_EXTINT9 ((PIN_PB09A_EIC_EXTINT9 << 16) | MUX_PB09A_EIC_EXTINT9)
|
|
#define PORT_PB09A_EIC_EXTINT9 (1u << 9)
|
|
#define PIN_PA10A_EIC_EXTINT10 10 /**< \brief EIC signal: EXTINT10 on PA10 mux A */
|
|
#define MUX_PA10A_EIC_EXTINT10 0
|
|
#define PINMUX_PA10A_EIC_EXTINT10 ((PIN_PA10A_EIC_EXTINT10 << 16) | MUX_PA10A_EIC_EXTINT10)
|
|
#define PORT_PA10A_EIC_EXTINT10 (1u << 10)
|
|
#define PIN_PA30A_EIC_EXTINT10 30 /**< \brief EIC signal: EXTINT10 on PA30 mux A */
|
|
#define MUX_PA30A_EIC_EXTINT10 0
|
|
#define PINMUX_PA30A_EIC_EXTINT10 ((PIN_PA30A_EIC_EXTINT10 << 16) | MUX_PA30A_EIC_EXTINT10)
|
|
#define PORT_PA30A_EIC_EXTINT10 (1u << 30)
|
|
#define PIN_PA18A_EIC_EXTINT10 18 /**< \brief EIC signal: EXTINT10 on PA18 mux A */
|
|
#define MUX_PA18A_EIC_EXTINT10 0
|
|
#define PINMUX_PA18A_EIC_EXTINT10 ((PIN_PA18A_EIC_EXTINT10 << 16) | MUX_PA18A_EIC_EXTINT10)
|
|
#define PORT_PA18A_EIC_EXTINT10 (1u << 18)
|
|
#define PIN_PA11A_EIC_EXTINT11 11 /**< \brief EIC signal: EXTINT11 on PA11 mux A */
|
|
#define MUX_PA11A_EIC_EXTINT11 0
|
|
#define PINMUX_PA11A_EIC_EXTINT11 ((PIN_PA11A_EIC_EXTINT11 << 16) | MUX_PA11A_EIC_EXTINT11)
|
|
#define PORT_PA11A_EIC_EXTINT11 (1u << 11)
|
|
#define PIN_PA31A_EIC_EXTINT11 31 /**< \brief EIC signal: EXTINT11 on PA31 mux A */
|
|
#define MUX_PA31A_EIC_EXTINT11 0
|
|
#define PINMUX_PA31A_EIC_EXTINT11 ((PIN_PA31A_EIC_EXTINT11 << 16) | MUX_PA31A_EIC_EXTINT11)
|
|
#define PORT_PA31A_EIC_EXTINT11 (1u << 31)
|
|
#define PIN_PA12A_EIC_EXTINT12 12 /**< \brief EIC signal: EXTINT12 on PA12 mux A */
|
|
#define MUX_PA12A_EIC_EXTINT12 0
|
|
#define PINMUX_PA12A_EIC_EXTINT12 ((PIN_PA12A_EIC_EXTINT12 << 16) | MUX_PA12A_EIC_EXTINT12)
|
|
#define PORT_PA12A_EIC_EXTINT12 (1u << 12)
|
|
#define PIN_PA24A_EIC_EXTINT12 24 /**< \brief EIC signal: EXTINT12 on PA24 mux A */
|
|
#define MUX_PA24A_EIC_EXTINT12 0
|
|
#define PINMUX_PA24A_EIC_EXTINT12 ((PIN_PA24A_EIC_EXTINT12 << 16) | MUX_PA24A_EIC_EXTINT12)
|
|
#define PORT_PA24A_EIC_EXTINT12 (1u << 24)
|
|
#define PIN_PA13A_EIC_EXTINT13 13 /**< \brief EIC signal: EXTINT13 on PA13 mux A */
|
|
#define MUX_PA13A_EIC_EXTINT13 0
|
|
#define PINMUX_PA13A_EIC_EXTINT13 ((PIN_PA13A_EIC_EXTINT13 << 16) | MUX_PA13A_EIC_EXTINT13)
|
|
#define PORT_PA13A_EIC_EXTINT13 (1u << 13)
|
|
#define PIN_PA25A_EIC_EXTINT13 25 /**< \brief EIC signal: EXTINT13 on PA25 mux A */
|
|
#define MUX_PA25A_EIC_EXTINT13 0
|
|
#define PINMUX_PA25A_EIC_EXTINT13 ((PIN_PA25A_EIC_EXTINT13 << 16) | MUX_PA25A_EIC_EXTINT13)
|
|
#define PORT_PA25A_EIC_EXTINT13 (1u << 25)
|
|
#define PIN_PC16A_EIC_EXTINT13 80 /**< \brief EIC signal: EXTINT13 on PC16 mux A */
|
|
#define MUX_PC16A_EIC_EXTINT13 0
|
|
#define PINMUX_PC16A_EIC_EXTINT13 ((PIN_PC16A_EIC_EXTINT13 << 16) | MUX_PC16A_EIC_EXTINT13)
|
|
#define PORT_PC16A_EIC_EXTINT13 (1u << 16)
|
|
#define PIN_PB14A_EIC_EXTINT14 46 /**< \brief EIC signal: EXTINT14 on PB14 mux A */
|
|
#define MUX_PB14A_EIC_EXTINT14 0
|
|
#define PINMUX_PB14A_EIC_EXTINT14 ((PIN_PB14A_EIC_EXTINT14 << 16) | MUX_PB14A_EIC_EXTINT14)
|
|
#define PORT_PB14A_EIC_EXTINT14 (1u << 14)
|
|
#define PIN_PB30A_EIC_EXTINT14 62 /**< \brief EIC signal: EXTINT14 on PB30 mux A */
|
|
#define MUX_PB30A_EIC_EXTINT14 0
|
|
#define PINMUX_PB30A_EIC_EXTINT14 ((PIN_PB30A_EIC_EXTINT14 << 16) | MUX_PB30A_EIC_EXTINT14)
|
|
#define PORT_PB30A_EIC_EXTINT14 (1u << 30)
|
|
#define PIN_PA14A_EIC_EXTINT14 14 /**< \brief EIC signal: EXTINT14 on PA14 mux A */
|
|
#define MUX_PA14A_EIC_EXTINT14 0
|
|
#define PINMUX_PA14A_EIC_EXTINT14 ((PIN_PA14A_EIC_EXTINT14 << 16) | MUX_PA14A_EIC_EXTINT14)
|
|
#define PORT_PA14A_EIC_EXTINT14 (1u << 14)
|
|
#define PIN_PA15A_EIC_EXTINT15 15 /**< \brief EIC signal: EXTINT15 on PA15 mux A */
|
|
#define MUX_PA15A_EIC_EXTINT15 0
|
|
#define PINMUX_PA15A_EIC_EXTINT15 ((PIN_PA15A_EIC_EXTINT15 << 16) | MUX_PA15A_EIC_EXTINT15)
|
|
#define PORT_PA15A_EIC_EXTINT15 (1u << 15)
|
|
#define PIN_PA27A_EIC_EXTINT15 27 /**< \brief EIC signal: EXTINT15 on PA27 mux A */
|
|
#define MUX_PA27A_EIC_EXTINT15 0
|
|
#define PINMUX_PA27A_EIC_EXTINT15 ((PIN_PA27A_EIC_EXTINT15 << 16) | MUX_PA27A_EIC_EXTINT15)
|
|
#define PORT_PA27A_EIC_EXTINT15 (1u << 27)
|
|
#define PIN_PB15A_EIC_EXTINT15 47 /**< \brief EIC signal: EXTINT15 on PB15 mux A */
|
|
#define MUX_PB15A_EIC_EXTINT15 0
|
|
#define PINMUX_PB15A_EIC_EXTINT15 ((PIN_PB15A_EIC_EXTINT15 << 16) | MUX_PB15A_EIC_EXTINT15)
|
|
#define PORT_PB15A_EIC_EXTINT15 (1u << 15)
|
|
#define PIN_PB31A_EIC_EXTINT15 63 /**< \brief EIC signal: EXTINT15 on PB31 mux A */
|
|
#define MUX_PB31A_EIC_EXTINT15 0
|
|
#define PINMUX_PB31A_EIC_EXTINT15 ((PIN_PB31A_EIC_EXTINT15 << 16) | MUX_PB31A_EIC_EXTINT15)
|
|
#define PORT_PB31A_EIC_EXTINT15 (1u << 31)
|
|
#define PIN_PC18A_EIC_EXTINT15 82 /**< \brief EIC signal: EXTINT15 on PC18 mux A */
|
|
#define MUX_PC18A_EIC_EXTINT15 0
|
|
#define PINMUX_PC18A_EIC_EXTINT15 ((PIN_PC18A_EIC_EXTINT15 << 16) | MUX_PC18A_EIC_EXTINT15)
|
|
#define PORT_PC18A_EIC_EXTINT15 (1u << 18)
|
|
#define PIN_PC19A_EIC_EXTINT16 83 /**< \brief EIC signal: EXTINT16 on PC19 mux A */
|
|
#define MUX_PC19A_EIC_EXTINT16 0
|
|
#define PINMUX_PC19A_EIC_EXTINT16 ((PIN_PC19A_EIC_EXTINT16 << 16) | MUX_PC19A_EIC_EXTINT16)
|
|
#define PORT_PC19A_EIC_EXTINT16 (1u << 19)
|
|
#define PIN_PA12A_EIC_EXTINT17 12 /**< \brief EIC signal: EXTINT17 on PA12 mux A */
|
|
#define MUX_PA12A_EIC_EXTINT17 0
|
|
#define PINMUX_PA12A_EIC_EXTINT17 ((PIN_PA12A_EIC_EXTINT17 << 16) | MUX_PA12A_EIC_EXTINT17)
|
|
#define PORT_PA12A_EIC_EXTINT17 (1u << 12)
|
|
#define PIN_PA08A_EIC_NMI 8 /**< \brief EIC signal: NMI on PA08 mux A */
|
|
#define MUX_PA08A_EIC_NMI 0
|
|
#define PINMUX_PA08A_EIC_NMI ((PIN_PA08A_EIC_NMI << 16) | MUX_PA08A_EIC_NMI)
|
|
#define PORT_PA08A_EIC_NMI (1u << 8)
|
|
/* ========== PORT definition for USB peripheral ========== */
|
|
#define PIN_PA24G_USB_DM 24 /**< \brief USB signal: DM on PA24 mux G */
|
|
#define MUX_PA24G_USB_DM 6
|
|
#define PINMUX_PA24G_USB_DM ((PIN_PA24G_USB_DM << 16) | MUX_PA24G_USB_DM)
|
|
#define PORT_PA24G_USB_DM (1u << 24)
|
|
#define PIN_PA25G_USB_DP 25 /**< \brief USB signal: DP on PA25 mux G */
|
|
#define MUX_PA25G_USB_DP 6
|
|
#define PINMUX_PA25G_USB_DP ((PIN_PA25G_USB_DP << 16) | MUX_PA25G_USB_DP)
|
|
#define PORT_PA25G_USB_DP (1u << 25)
|
|
#define PIN_PA23G_USB_SOF_1KHZ 23 /**< \brief USB signal: SOF_1KHZ on PA23 mux G */
|
|
#define MUX_PA23G_USB_SOF_1KHZ 6
|
|
#define PINMUX_PA23G_USB_SOF_1KHZ ((PIN_PA23G_USB_SOF_1KHZ << 16) | MUX_PA23G_USB_SOF_1KHZ)
|
|
#define PORT_PA23G_USB_SOF_1KHZ (1u << 23)
|
|
/* ========== PORT definition for SERCOM0 peripheral ========== */
|
|
#define PIN_PA04D_SERCOM0_PAD0 4 /**< \brief SERCOM0 signal: PAD0 on PA04 mux D */
|
|
#define MUX_PA04D_SERCOM0_PAD0 3
|
|
#define PINMUX_PA04D_SERCOM0_PAD0 ((PIN_PA04D_SERCOM0_PAD0 << 16) | MUX_PA04D_SERCOM0_PAD0)
|
|
#define PORT_PA04D_SERCOM0_PAD0 (1u << 4)
|
|
#define PIN_PA08C_SERCOM0_PAD0 8 /**< \brief SERCOM0 signal: PAD0 on PA08 mux C */
|
|
#define MUX_PA08C_SERCOM0_PAD0 2
|
|
#define PINMUX_PA08C_SERCOM0_PAD0 ((PIN_PA08C_SERCOM0_PAD0 << 16) | MUX_PA08C_SERCOM0_PAD0)
|
|
#define PORT_PA08C_SERCOM0_PAD0 (1u << 8)
|
|
#define PIN_PA13A_SERCOM0_PAD0 13 /**< \brief SERCOM0 signal: PAD0 on PA13 mux A */
|
|
#define MUX_PA13A_SERCOM0_PAD0 0
|
|
#define PINMUX_PA13A_SERCOM0_PAD0 ((PIN_PA13A_SERCOM0_PAD0 << 16) | MUX_PA13A_SERCOM0_PAD0)
|
|
#define PORT_PA13A_SERCOM0_PAD0 (1u << 13)
|
|
#define PIN_PA05D_SERCOM0_PAD1 5 /**< \brief SERCOM0 signal: PAD1 on PA05 mux D */
|
|
#define MUX_PA05D_SERCOM0_PAD1 3
|
|
#define PINMUX_PA05D_SERCOM0_PAD1 ((PIN_PA05D_SERCOM0_PAD1 << 16) | MUX_PA05D_SERCOM0_PAD1)
|
|
#define PORT_PA05D_SERCOM0_PAD1 (1u << 5)
|
|
#define PIN_PA09C_SERCOM0_PAD1 9 /**< \brief SERCOM0 signal: PAD1 on PA09 mux C */
|
|
#define MUX_PA09C_SERCOM0_PAD1 2
|
|
#define PINMUX_PA09C_SERCOM0_PAD1 ((PIN_PA09C_SERCOM0_PAD1 << 16) | MUX_PA09C_SERCOM0_PAD1)
|
|
#define PORT_PA09C_SERCOM0_PAD1 (1u << 9)
|
|
#define PIN_PA06D_SERCOM0_PAD2 6 /**< \brief SERCOM0 signal: PAD2 on PA06 mux D */
|
|
#define MUX_PA06D_SERCOM0_PAD2 3
|
|
#define PINMUX_PA06D_SERCOM0_PAD2 ((PIN_PA06D_SERCOM0_PAD2 << 16) | MUX_PA06D_SERCOM0_PAD2)
|
|
#define PORT_PA06D_SERCOM0_PAD2 (1u << 6)
|
|
#define PIN_PA10C_SERCOM0_PAD2 10 /**< \brief SERCOM0 signal: PAD2 on PA10 mux C */
|
|
#define MUX_PA10C_SERCOM0_PAD2 2
|
|
#define PINMUX_PA10C_SERCOM0_PAD2 ((PIN_PA10C_SERCOM0_PAD2 << 16) | MUX_PA10C_SERCOM0_PAD2)
|
|
#define PORT_PA10C_SERCOM0_PAD2 (1u << 10)
|
|
#define PIN_PA07D_SERCOM0_PAD3 7 /**< \brief SERCOM0 signal: PAD3 on PA07 mux D */
|
|
#define MUX_PA07D_SERCOM0_PAD3 3
|
|
#define PINMUX_PA07D_SERCOM0_PAD3 ((PIN_PA07D_SERCOM0_PAD3 << 16) | MUX_PA07D_SERCOM0_PAD3)
|
|
#define PORT_PA07D_SERCOM0_PAD3 (1u << 7)
|
|
#define PIN_PA11C_SERCOM0_PAD3 11 /**< \brief SERCOM0 signal: PAD3 on PA11 mux C */
|
|
#define MUX_PA11C_SERCOM0_PAD3 2
|
|
#define PINMUX_PA11C_SERCOM0_PAD3 ((PIN_PA11C_SERCOM0_PAD3 << 16) | MUX_PA11C_SERCOM0_PAD3)
|
|
#define PORT_PA11C_SERCOM0_PAD3 (1u << 11)
|
|
/* ========== PORT definition for SERCOM1 peripheral ========== */
|
|
#define PIN_PA16C_SERCOM1_PAD0 16 /**< \brief SERCOM1 signal: PAD0 on PA16 mux C */
|
|
#define MUX_PA16C_SERCOM1_PAD0 2
|
|
#define PINMUX_PA16C_SERCOM1_PAD0 ((PIN_PA16C_SERCOM1_PAD0 << 16) | MUX_PA16C_SERCOM1_PAD0)
|
|
#define PORT_PA16C_SERCOM1_PAD0 (1u << 16)
|
|
#define PIN_PA00D_SERCOM1_PAD0 0 /**< \brief SERCOM1 signal: PAD0 on PA00 mux D */
|
|
#define MUX_PA00D_SERCOM1_PAD0 3
|
|
#define PINMUX_PA00D_SERCOM1_PAD0 ((PIN_PA00D_SERCOM1_PAD0 << 16) | MUX_PA00D_SERCOM1_PAD0)
|
|
#define PORT_PA00D_SERCOM1_PAD0 (1u << 0)
|
|
#define PIN_PA17C_SERCOM1_PAD1 17 /**< \brief SERCOM1 signal: PAD1 on PA17 mux C */
|
|
#define MUX_PA17C_SERCOM1_PAD1 2
|
|
#define PINMUX_PA17C_SERCOM1_PAD1 ((PIN_PA17C_SERCOM1_PAD1 << 16) | MUX_PA17C_SERCOM1_PAD1)
|
|
#define PORT_PA17C_SERCOM1_PAD1 (1u << 17)
|
|
#define PIN_PA01D_SERCOM1_PAD1 1 /**< \brief SERCOM1 signal: PAD1 on PA01 mux D */
|
|
#define MUX_PA01D_SERCOM1_PAD1 3
|
|
#define PINMUX_PA01D_SERCOM1_PAD1 ((PIN_PA01D_SERCOM1_PAD1 << 16) | MUX_PA01D_SERCOM1_PAD1)
|
|
#define PORT_PA01D_SERCOM1_PAD1 (1u << 1)
|
|
#define PIN_PA30D_SERCOM1_PAD2 30 /**< \brief SERCOM1 signal: PAD2 on PA30 mux D */
|
|
#define MUX_PA30D_SERCOM1_PAD2 3
|
|
#define PINMUX_PA30D_SERCOM1_PAD2 ((PIN_PA30D_SERCOM1_PAD2 << 16) | MUX_PA30D_SERCOM1_PAD2)
|
|
#define PORT_PA30D_SERCOM1_PAD2 (1u << 30)
|
|
#define PIN_PA18C_SERCOM1_PAD2 18 /**< \brief SERCOM1 signal: PAD2 on PA18 mux C */
|
|
#define MUX_PA18C_SERCOM1_PAD2 2
|
|
#define PINMUX_PA18C_SERCOM1_PAD2 ((PIN_PA18C_SERCOM1_PAD2 << 16) | MUX_PA18C_SERCOM1_PAD2)
|
|
#define PORT_PA18C_SERCOM1_PAD2 (1u << 18)
|
|
#define PIN_PA31D_SERCOM1_PAD3 31 /**< \brief SERCOM1 signal: PAD3 on PA31 mux D */
|
|
#define MUX_PA31D_SERCOM1_PAD3 3
|
|
#define PINMUX_PA31D_SERCOM1_PAD3 ((PIN_PA31D_SERCOM1_PAD3 << 16) | MUX_PA31D_SERCOM1_PAD3)
|
|
#define PORT_PA31D_SERCOM1_PAD3 (1u << 31)
|
|
#define PIN_PA19C_SERCOM1_PAD3 19 /**< \brief SERCOM1 signal: PAD3 on PA19 mux C */
|
|
#define MUX_PA19C_SERCOM1_PAD3 2
|
|
#define PINMUX_PA19C_SERCOM1_PAD3 ((PIN_PA19C_SERCOM1_PAD3 << 16) | MUX_PA19C_SERCOM1_PAD3)
|
|
#define PORT_PA19C_SERCOM1_PAD3 (1u << 19)
|
|
/* ========== PORT definition for SERCOM2 peripheral ========== */
|
|
#define PIN_PA08D_SERCOM2_PAD0 8 /**< \brief SERCOM2 signal: PAD0 on PA08 mux D */
|
|
#define MUX_PA08D_SERCOM2_PAD0 3
|
|
#define PINMUX_PA08D_SERCOM2_PAD0 ((PIN_PA08D_SERCOM2_PAD0 << 16) | MUX_PA08D_SERCOM2_PAD0)
|
|
#define PORT_PA08D_SERCOM2_PAD0 (1u << 8)
|
|
#define PIN_PA12C_SERCOM2_PAD0 12 /**< \brief SERCOM2 signal: PAD0 on PA12 mux C */
|
|
#define MUX_PA12C_SERCOM2_PAD0 2
|
|
#define PINMUX_PA12C_SERCOM2_PAD0 ((PIN_PA12C_SERCOM2_PAD0 << 16) | MUX_PA12C_SERCOM2_PAD0)
|
|
#define PORT_PA12C_SERCOM2_PAD0 (1u << 12)
|
|
#define PIN_PA15A_SERCOM2_PAD0 15 /**< \brief SERCOM2 signal: PAD0 on PA15 mux A */
|
|
#define MUX_PA15A_SERCOM2_PAD0 0
|
|
#define PINMUX_PA15A_SERCOM2_PAD0 ((PIN_PA15A_SERCOM2_PAD0 << 16) | MUX_PA15A_SERCOM2_PAD0)
|
|
#define PORT_PA15A_SERCOM2_PAD0 (1u << 15)
|
|
#define PIN_PA09D_SERCOM2_PAD1 9 /**< \brief SERCOM2 signal: PAD1 on PA09 mux D */
|
|
#define MUX_PA09D_SERCOM2_PAD1 3
|
|
#define PINMUX_PA09D_SERCOM2_PAD1 ((PIN_PA09D_SERCOM2_PAD1 << 16) | MUX_PA09D_SERCOM2_PAD1)
|
|
#define PORT_PA09D_SERCOM2_PAD1 (1u << 9)
|
|
#define PIN_PA13C_SERCOM2_PAD1 13 /**< \brief SERCOM2 signal: PAD1 on PA13 mux C */
|
|
#define MUX_PA13C_SERCOM2_PAD1 2
|
|
#define PINMUX_PA13C_SERCOM2_PAD1 ((PIN_PA13C_SERCOM2_PAD1 << 16) | MUX_PA13C_SERCOM2_PAD1)
|
|
#define PORT_PA13C_SERCOM2_PAD1 (1u << 13)
|
|
#define PIN_PA10D_SERCOM2_PAD2 10 /**< \brief SERCOM2 signal: PAD2 on PA10 mux D */
|
|
#define MUX_PA10D_SERCOM2_PAD2 3
|
|
#define PINMUX_PA10D_SERCOM2_PAD2 ((PIN_PA10D_SERCOM2_PAD2 << 16) | MUX_PA10D_SERCOM2_PAD2)
|
|
#define PORT_PA10D_SERCOM2_PAD2 (1u << 10)
|
|
#define PIN_PA14C_SERCOM2_PAD2 14 /**< \brief SERCOM2 signal: PAD2 on PA14 mux C */
|
|
#define MUX_PA14C_SERCOM2_PAD2 2
|
|
#define PINMUX_PA14C_SERCOM2_PAD2 ((PIN_PA14C_SERCOM2_PAD2 << 16) | MUX_PA14C_SERCOM2_PAD2)
|
|
#define PORT_PA14C_SERCOM2_PAD2 (1u << 14)
|
|
#define PIN_PA11D_SERCOM2_PAD3 11 /**< \brief SERCOM2 signal: PAD3 on PA11 mux D */
|
|
#define MUX_PA11D_SERCOM2_PAD3 3
|
|
#define PINMUX_PA11D_SERCOM2_PAD3 ((PIN_PA11D_SERCOM2_PAD3 << 16) | MUX_PA11D_SERCOM2_PAD3)
|
|
#define PORT_PA11D_SERCOM2_PAD3 (1u << 11)
|
|
#define PIN_PA15C_SERCOM2_PAD3 15 /**< \brief SERCOM2 signal: PAD3 on PA15 mux C */
|
|
#define MUX_PA15C_SERCOM2_PAD3 2
|
|
#define PINMUX_PA15C_SERCOM2_PAD3 ((PIN_PA15C_SERCOM2_PAD3 << 16) | MUX_PA15C_SERCOM2_PAD3)
|
|
#define PORT_PA15C_SERCOM2_PAD3 (1u << 15)
|
|
/* ========== PORT definition for SERCOM3 peripheral ========== */
|
|
#define PIN_PA16D_SERCOM3_PAD0 16 /**< \brief SERCOM3 signal: PAD0 on PA16 mux D */
|
|
#define MUX_PA16D_SERCOM3_PAD0 3
|
|
#define PINMUX_PA16D_SERCOM3_PAD0 ((PIN_PA16D_SERCOM3_PAD0 << 16) | MUX_PA16D_SERCOM3_PAD0)
|
|
#define PORT_PA16D_SERCOM3_PAD0 (1u << 16)
|
|
#define PIN_PA22C_SERCOM3_PAD0 22 /**< \brief SERCOM3 signal: PAD0 on PA22 mux C */
|
|
#define MUX_PA22C_SERCOM3_PAD0 2
|
|
#define PINMUX_PA22C_SERCOM3_PAD0 ((PIN_PA22C_SERCOM3_PAD0 << 16) | MUX_PA22C_SERCOM3_PAD0)
|
|
#define PORT_PA22C_SERCOM3_PAD0 (1u << 22)
|
|
#define PIN_PA27F_SERCOM3_PAD0 27 /**< \brief SERCOM3 signal: PAD0 on PA27 mux F */
|
|
#define MUX_PA27F_SERCOM3_PAD0 5
|
|
#define PINMUX_PA27F_SERCOM3_PAD0 ((PIN_PA27F_SERCOM3_PAD0 << 16) | MUX_PA27F_SERCOM3_PAD0)
|
|
#define PORT_PA27F_SERCOM3_PAD0 (1u << 27)
|
|
#define PIN_PA17D_SERCOM3_PAD1 17 /**< \brief SERCOM3 signal: PAD1 on PA17 mux D */
|
|
#define MUX_PA17D_SERCOM3_PAD1 3
|
|
#define PINMUX_PA17D_SERCOM3_PAD1 ((PIN_PA17D_SERCOM3_PAD1 << 16) | MUX_PA17D_SERCOM3_PAD1)
|
|
#define PORT_PA17D_SERCOM3_PAD1 (1u << 17)
|
|
#define PIN_PA23C_SERCOM3_PAD1 23 /**< \brief SERCOM3 signal: PAD1 on PA23 mux C */
|
|
#define MUX_PA23C_SERCOM3_PAD1 2
|
|
#define PINMUX_PA23C_SERCOM3_PAD1 ((PIN_PA23C_SERCOM3_PAD1 << 16) | MUX_PA23C_SERCOM3_PAD1)
|
|
#define PORT_PA23C_SERCOM3_PAD1 (1u << 23)
|
|
#define PIN_PA28F_SERCOM3_PAD1 28 /**< \brief SERCOM3 signal: PAD1 on PA28 mux F */
|
|
#define MUX_PA28F_SERCOM3_PAD1 5
|
|
#define PINMUX_PA28F_SERCOM3_PAD1 ((PIN_PA28F_SERCOM3_PAD1 << 16) | MUX_PA28F_SERCOM3_PAD1)
|
|
#define PORT_PA28F_SERCOM3_PAD1 (1u << 28)
|
|
#define PIN_PA18D_SERCOM3_PAD2 18 /**< \brief SERCOM3 signal: PAD2 on PA18 mux D */
|
|
#define MUX_PA18D_SERCOM3_PAD2 3
|
|
#define PINMUX_PA18D_SERCOM3_PAD2 ((PIN_PA18D_SERCOM3_PAD2 << 16) | MUX_PA18D_SERCOM3_PAD2)
|
|
#define PORT_PA18D_SERCOM3_PAD2 (1u << 18)
|
|
#define PIN_PA20D_SERCOM3_PAD2 20 /**< \brief SERCOM3 signal: PAD2 on PA20 mux D */
|
|
#define MUX_PA20D_SERCOM3_PAD2 3
|
|
#define PINMUX_PA20D_SERCOM3_PAD2 ((PIN_PA20D_SERCOM3_PAD2 << 16) | MUX_PA20D_SERCOM3_PAD2)
|
|
#define PORT_PA20D_SERCOM3_PAD2 (1u << 20)
|
|
#define PIN_PA24C_SERCOM3_PAD2 24 /**< \brief SERCOM3 signal: PAD2 on PA24 mux C */
|
|
#define MUX_PA24C_SERCOM3_PAD2 2
|
|
#define PINMUX_PA24C_SERCOM3_PAD2 ((PIN_PA24C_SERCOM3_PAD2 << 16) | MUX_PA24C_SERCOM3_PAD2)
|
|
#define PORT_PA24C_SERCOM3_PAD2 (1u << 24)
|
|
#define PIN_PA19D_SERCOM3_PAD3 19 /**< \brief SERCOM3 signal: PAD3 on PA19 mux D */
|
|
#define MUX_PA19D_SERCOM3_PAD3 3
|
|
#define PINMUX_PA19D_SERCOM3_PAD3 ((PIN_PA19D_SERCOM3_PAD3 << 16) | MUX_PA19D_SERCOM3_PAD3)
|
|
#define PORT_PA19D_SERCOM3_PAD3 (1u << 19)
|
|
#define PIN_PA25C_SERCOM3_PAD3 25 /**< \brief SERCOM3 signal: PAD3 on PA25 mux C */
|
|
#define MUX_PA25C_SERCOM3_PAD3 2
|
|
#define PINMUX_PA25C_SERCOM3_PAD3 ((PIN_PA25C_SERCOM3_PAD3 << 16) | MUX_PA25C_SERCOM3_PAD3)
|
|
#define PORT_PA25C_SERCOM3_PAD3 (1u << 25)
|
|
/* ========== PORT definition for SERCOM4 peripheral ========== */
|
|
#define PIN_PA12D_SERCOM4_PAD0 12 /**< \brief SERCOM4 signal: PAD0 on PA12 mux D */
|
|
#define MUX_PA12D_SERCOM4_PAD0 3
|
|
#define PINMUX_PA12D_SERCOM4_PAD0 ((PIN_PA12D_SERCOM4_PAD0 << 16) | MUX_PA12D_SERCOM4_PAD0)
|
|
#define PORT_PA12D_SERCOM4_PAD0 (1u << 12)
|
|
#define PIN_PB08D_SERCOM4_PAD0 40 /**< \brief SERCOM4 signal: PAD0 on PB08 mux D */
|
|
#define MUX_PB08D_SERCOM4_PAD0 3
|
|
#define PINMUX_PB08D_SERCOM4_PAD0 ((PIN_PB08D_SERCOM4_PAD0 << 16) | MUX_PB08D_SERCOM4_PAD0)
|
|
#define PORT_PB08D_SERCOM4_PAD0 (1u << 8)
|
|
#define PIN_PC19F_SERCOM4_PAD0 83 /**< \brief SERCOM4 signal: PAD0 on PC19 mux F */
|
|
#define MUX_PC19F_SERCOM4_PAD0 5
|
|
#define PINMUX_PC19F_SERCOM4_PAD0 ((PIN_PC19F_SERCOM4_PAD0 << 16) | MUX_PC19F_SERCOM4_PAD0)
|
|
#define PORT_PC19F_SERCOM4_PAD0 (1u << 19)
|
|
#define PIN_PA13D_SERCOM4_PAD1 13 /**< \brief SERCOM4 signal: PAD1 on PA13 mux D */
|
|
#define MUX_PA13D_SERCOM4_PAD1 3
|
|
#define PINMUX_PA13D_SERCOM4_PAD1 ((PIN_PA13D_SERCOM4_PAD1 << 16) | MUX_PA13D_SERCOM4_PAD1)
|
|
#define PORT_PA13D_SERCOM4_PAD1 (1u << 13)
|
|
#define PIN_PB09D_SERCOM4_PAD1 41 /**< \brief SERCOM4 signal: PAD1 on PB09 mux D */
|
|
#define MUX_PB09D_SERCOM4_PAD1 3
|
|
#define PINMUX_PB09D_SERCOM4_PAD1 ((PIN_PB09D_SERCOM4_PAD1 << 16) | MUX_PB09D_SERCOM4_PAD1)
|
|
#define PORT_PB09D_SERCOM4_PAD1 (1u << 9)
|
|
#define PIN_PB31F_SERCOM4_PAD1 63 /**< \brief SERCOM4 signal: PAD1 on PB31 mux F */
|
|
#define MUX_PB31F_SERCOM4_PAD1 5
|
|
#define PINMUX_PB31F_SERCOM4_PAD1 ((PIN_PB31F_SERCOM4_PAD1 << 16) | MUX_PB31F_SERCOM4_PAD1)
|
|
#define PORT_PB31F_SERCOM4_PAD1 (1u << 31)
|
|
#define PIN_PA14D_SERCOM4_PAD2 14 /**< \brief SERCOM4 signal: PAD2 on PA14 mux D */
|
|
#define MUX_PA14D_SERCOM4_PAD2 3
|
|
#define PINMUX_PA14D_SERCOM4_PAD2 ((PIN_PA14D_SERCOM4_PAD2 << 16) | MUX_PA14D_SERCOM4_PAD2)
|
|
#define PORT_PA14D_SERCOM4_PAD2 (1u << 14)
|
|
#define PIN_PB14C_SERCOM4_PAD2 46 /**< \brief SERCOM4 signal: PAD2 on PB14 mux C */
|
|
#define MUX_PB14C_SERCOM4_PAD2 2
|
|
#define PINMUX_PB14C_SERCOM4_PAD2 ((PIN_PB14C_SERCOM4_PAD2 << 16) | MUX_PB14C_SERCOM4_PAD2)
|
|
#define PORT_PB14C_SERCOM4_PAD2 (1u << 14)
|
|
#define PIN_PB30F_SERCOM4_PAD2 62 /**< \brief SERCOM4 signal: PAD2 on PB30 mux F */
|
|
#define MUX_PB30F_SERCOM4_PAD2 5
|
|
#define PINMUX_PB30F_SERCOM4_PAD2 ((PIN_PB30F_SERCOM4_PAD2 << 16) | MUX_PB30F_SERCOM4_PAD2)
|
|
#define PORT_PB30F_SERCOM4_PAD2 (1u << 30)
|
|
#define PIN_PA15D_SERCOM4_PAD3 15 /**< \brief SERCOM4 signal: PAD3 on PA15 mux D */
|
|
#define MUX_PA15D_SERCOM4_PAD3 3
|
|
#define PINMUX_PA15D_SERCOM4_PAD3 ((PIN_PA15D_SERCOM4_PAD3 << 16) | MUX_PA15D_SERCOM4_PAD3)
|
|
#define PORT_PA15D_SERCOM4_PAD3 (1u << 15)
|
|
#define PIN_PB15C_SERCOM4_PAD3 47 /**< \brief SERCOM4 signal: PAD3 on PB15 mux C */
|
|
#define MUX_PB15C_SERCOM4_PAD3 2
|
|
#define PINMUX_PB15C_SERCOM4_PAD3 ((PIN_PB15C_SERCOM4_PAD3 << 16) | MUX_PB15C_SERCOM4_PAD3)
|
|
#define PORT_PB15C_SERCOM4_PAD3 (1u << 15)
|
|
#define PIN_PC18F_SERCOM4_PAD3 82 /**< \brief SERCOM4 signal: PAD3 on PC18 mux F */
|
|
#define MUX_PC18F_SERCOM4_PAD3 5
|
|
#define PINMUX_PC18F_SERCOM4_PAD3 ((PIN_PC18F_SERCOM4_PAD3 << 16) | MUX_PC18F_SERCOM4_PAD3)
|
|
#define PORT_PC18F_SERCOM4_PAD3 (1u << 18)
|
|
/* ========== PORT definition for SERCOM5 peripheral ========== */
|
|
#define PIN_PB16C_SERCOM5_PAD0 48 /**< \brief SERCOM5 signal: PAD0 on PB16 mux C */
|
|
#define MUX_PB16C_SERCOM5_PAD0 2
|
|
#define PINMUX_PB16C_SERCOM5_PAD0 ((PIN_PB16C_SERCOM5_PAD0 << 16) | MUX_PB16C_SERCOM5_PAD0)
|
|
#define PORT_PB16C_SERCOM5_PAD0 (1u << 16)
|
|
#define PIN_PA22D_SERCOM5_PAD0 22 /**< \brief SERCOM5 signal: PAD0 on PA22 mux D */
|
|
#define MUX_PA22D_SERCOM5_PAD0 3
|
|
#define PINMUX_PA22D_SERCOM5_PAD0 ((PIN_PA22D_SERCOM5_PAD0 << 16) | MUX_PA22D_SERCOM5_PAD0)
|
|
#define PORT_PA22D_SERCOM5_PAD0 (1u << 22)
|
|
#define PIN_PB02D_SERCOM5_PAD0 34 /**< \brief SERCOM5 signal: PAD0 on PB02 mux D */
|
|
#define MUX_PB02D_SERCOM5_PAD0 3
|
|
#define PINMUX_PB02D_SERCOM5_PAD0 ((PIN_PB02D_SERCOM5_PAD0 << 16) | MUX_PB02D_SERCOM5_PAD0)
|
|
#define PORT_PB02D_SERCOM5_PAD0 (1u << 2)
|
|
#define PIN_PB30D_SERCOM5_PAD0 62 /**< \brief SERCOM5 signal: PAD0 on PB30 mux D */
|
|
#define MUX_PB30D_SERCOM5_PAD0 3
|
|
#define PINMUX_PB30D_SERCOM5_PAD0 ((PIN_PB30D_SERCOM5_PAD0 << 16) | MUX_PB30D_SERCOM5_PAD0)
|
|
#define PORT_PB30D_SERCOM5_PAD0 (1u << 30)
|
|
#define PIN_PB17C_SERCOM5_PAD0 49 /**< \brief SERCOM5 signal: PAD0 on PB17 mux C */
|
|
#define MUX_PB17C_SERCOM5_PAD0 2
|
|
#define PINMUX_PB17C_SERCOM5_PAD0 ((PIN_PB17C_SERCOM5_PAD0 << 16) | MUX_PB17C_SERCOM5_PAD0)
|
|
#define PORT_PB17C_SERCOM5_PAD0 (1u << 17)
|
|
#define PIN_PB17C_SERCOM5_PAD1 49 /**< \brief SERCOM5 signal: PAD1 on PB17 mux C */
|
|
#define MUX_PB17C_SERCOM5_PAD1 2
|
|
#define PINMUX_PB17C_SERCOM5_PAD1 ((PIN_PB17C_SERCOM5_PAD1 << 16) | MUX_PB17C_SERCOM5_PAD1)
|
|
#define PORT_PB17C_SERCOM5_PAD1 (1u << 17)
|
|
#define PIN_PA23D_SERCOM5_PAD1 23 /**< \brief SERCOM5 signal: PAD1 on PA23 mux D */
|
|
#define MUX_PA23D_SERCOM5_PAD1 3
|
|
#define PINMUX_PA23D_SERCOM5_PAD1 ((PIN_PA23D_SERCOM5_PAD1 << 16) | MUX_PA23D_SERCOM5_PAD1)
|
|
#define PORT_PA23D_SERCOM5_PAD1 (1u << 23)
|
|
#define PIN_PB03D_SERCOM5_PAD1 35 /**< \brief SERCOM5 signal: PAD1 on PB03 mux D */
|
|
#define MUX_PB03D_SERCOM5_PAD1 3
|
|
#define PINMUX_PB03D_SERCOM5_PAD1 ((PIN_PB03D_SERCOM5_PAD1 << 16) | MUX_PB03D_SERCOM5_PAD1)
|
|
#define PORT_PB03D_SERCOM5_PAD1 (1u << 3)
|
|
#define PIN_PB31D_SERCOM5_PAD1 63 /**< \brief SERCOM5 signal: PAD1 on PB31 mux D */
|
|
#define MUX_PB31D_SERCOM5_PAD1 3
|
|
#define PINMUX_PB31D_SERCOM5_PAD1 ((PIN_PB31D_SERCOM5_PAD1 << 16) | MUX_PB31D_SERCOM5_PAD1)
|
|
#define PORT_PB31D_SERCOM5_PAD1 (1u << 31)
|
|
#define PIN_PB16C_SERCOM5_PAD1 48 /**< \brief SERCOM5 signal: PAD1 on PB16 mux C */
|
|
#define MUX_PB16C_SERCOM5_PAD1 2
|
|
#define PINMUX_PB16C_SERCOM5_PAD1 ((PIN_PB16C_SERCOM5_PAD1 << 16) | MUX_PB16C_SERCOM5_PAD1)
|
|
#define PORT_PB16C_SERCOM5_PAD1 (1u << 16)
|
|
#define PIN_PA24D_SERCOM5_PAD2 24 /**< \brief SERCOM5 signal: PAD2 on PA24 mux D */
|
|
#define MUX_PA24D_SERCOM5_PAD2 3
|
|
#define PINMUX_PA24D_SERCOM5_PAD2 ((PIN_PA24D_SERCOM5_PAD2 << 16) | MUX_PA24D_SERCOM5_PAD2)
|
|
#define PORT_PA24D_SERCOM5_PAD2 (1u << 24)
|
|
#define PIN_PB00D_SERCOM5_PAD2 32 /**< \brief SERCOM5 signal: PAD2 on PB00 mux D */
|
|
#define MUX_PB00D_SERCOM5_PAD2 3
|
|
#define PINMUX_PB00D_SERCOM5_PAD2 ((PIN_PB00D_SERCOM5_PAD2 << 16) | MUX_PB00D_SERCOM5_PAD2)
|
|
#define PORT_PB00D_SERCOM5_PAD2 (1u << 0)
|
|
#define PIN_PB22D_SERCOM5_PAD2 54 /**< \brief SERCOM5 signal: PAD2 on PB22 mux D */
|
|
#define MUX_PB22D_SERCOM5_PAD2 3
|
|
#define PINMUX_PB22D_SERCOM5_PAD2 ((PIN_PB22D_SERCOM5_PAD2 << 16) | MUX_PB22D_SERCOM5_PAD2)
|
|
#define PORT_PB22D_SERCOM5_PAD2 (1u << 22)
|
|
#define PIN_PA20C_SERCOM5_PAD2 20 /**< \brief SERCOM5 signal: PAD2 on PA20 mux C */
|
|
#define MUX_PA20C_SERCOM5_PAD2 2
|
|
#define PINMUX_PA20C_SERCOM5_PAD2 ((PIN_PA20C_SERCOM5_PAD2 << 16) | MUX_PA20C_SERCOM5_PAD2)
|
|
#define PORT_PA20C_SERCOM5_PAD2 (1u << 20)
|
|
#define PIN_PA25D_SERCOM5_PAD3 25 /**< \brief SERCOM5 signal: PAD3 on PA25 mux D */
|
|
#define MUX_PA25D_SERCOM5_PAD3 3
|
|
#define PINMUX_PA25D_SERCOM5_PAD3 ((PIN_PA25D_SERCOM5_PAD3 << 16) | MUX_PA25D_SERCOM5_PAD3)
|
|
#define PORT_PA25D_SERCOM5_PAD3 (1u << 25)
|
|
#define PIN_PB23D_SERCOM5_PAD3 55 /**< \brief SERCOM5 signal: PAD3 on PB23 mux D */
|
|
#define MUX_PB23D_SERCOM5_PAD3 3
|
|
#define PINMUX_PB23D_SERCOM5_PAD3 ((PIN_PB23D_SERCOM5_PAD3 << 16) | MUX_PB23D_SERCOM5_PAD3)
|
|
#define PORT_PB23D_SERCOM5_PAD3 (1u << 23)
|
|
/* ========== PORT definition for TCC0 peripheral ========== */
|
|
#define PIN_PA04E_TCC0_WO0 4 /**< \brief TCC0 signal: WO0 on PA04 mux E */
|
|
#define MUX_PA04E_TCC0_WO0 4
|
|
#define PINMUX_PA04E_TCC0_WO0 ((PIN_PA04E_TCC0_WO0 << 16) | MUX_PA04E_TCC0_WO0)
|
|
#define PORT_PA04E_TCC0_WO0 (1u << 4)
|
|
#define PIN_PA08E_TCC0_WO0 8 /**< \brief TCC0 signal: WO0 on PA08 mux E */
|
|
#define MUX_PA08E_TCC0_WO0 4
|
|
#define PINMUX_PA08E_TCC0_WO0 ((PIN_PA08E_TCC0_WO0 << 16) | MUX_PA08E_TCC0_WO0)
|
|
#define PORT_PA08E_TCC0_WO0 (1u << 8)
|
|
#define PIN_PB30E_TCC0_WO0 62 /**< \brief TCC0 signal: WO0 on PB30 mux E */
|
|
#define MUX_PB30E_TCC0_WO0 4
|
|
#define PINMUX_PB30E_TCC0_WO0 ((PIN_PB30E_TCC0_WO0 << 16) | MUX_PB30E_TCC0_WO0)
|
|
#define PORT_PB30E_TCC0_WO0 (1u << 30)
|
|
#define PIN_PA16F_TCC0_WO0 16 /**< \brief TCC0 signal: WO0 on PA16 mux F */
|
|
#define MUX_PA16F_TCC0_WO0 5
|
|
#define PINMUX_PA16F_TCC0_WO0 ((PIN_PA16F_TCC0_WO0 << 16) | MUX_PA16F_TCC0_WO0)
|
|
#define PORT_PA16F_TCC0_WO0 (1u << 16)
|
|
#define PIN_PA05E_TCC0_WO1 5 /**< \brief TCC0 signal: WO1 on PA05 mux E */
|
|
#define MUX_PA05E_TCC0_WO1 4
|
|
#define PINMUX_PA05E_TCC0_WO1 ((PIN_PA05E_TCC0_WO1 << 16) | MUX_PA05E_TCC0_WO1)
|
|
#define PORT_PA05E_TCC0_WO1 (1u << 5)
|
|
#define PIN_PA09E_TCC0_WO1 9 /**< \brief TCC0 signal: WO1 on PA09 mux E */
|
|
#define MUX_PA09E_TCC0_WO1 4
|
|
#define PINMUX_PA09E_TCC0_WO1 ((PIN_PA09E_TCC0_WO1 << 16) | MUX_PA09E_TCC0_WO1)
|
|
#define PORT_PA09E_TCC0_WO1 (1u << 9)
|
|
#define PIN_PB31E_TCC0_WO1 63 /**< \brief TCC0 signal: WO1 on PB31 mux E */
|
|
#define MUX_PB31E_TCC0_WO1 4
|
|
#define PINMUX_PB31E_TCC0_WO1 ((PIN_PB31E_TCC0_WO1 << 16) | MUX_PB31E_TCC0_WO1)
|
|
#define PORT_PB31E_TCC0_WO1 (1u << 31)
|
|
#define PIN_PA17F_TCC0_WO1 17 /**< \brief TCC0 signal: WO1 on PA17 mux F */
|
|
#define MUX_PA17F_TCC0_WO1 5
|
|
#define PINMUX_PA17F_TCC0_WO1 ((PIN_PA17F_TCC0_WO1 << 16) | MUX_PA17F_TCC0_WO1)
|
|
#define PORT_PA17F_TCC0_WO1 (1u << 17)
|
|
#define PIN_PA10F_TCC0_WO2 10 /**< \brief TCC0 signal: WO2 on PA10 mux F */
|
|
#define MUX_PA10F_TCC0_WO2 5
|
|
#define PINMUX_PA10F_TCC0_WO2 ((PIN_PA10F_TCC0_WO2 << 16) | MUX_PA10F_TCC0_WO2)
|
|
#define PORT_PA10F_TCC0_WO2 (1u << 10)
|
|
#define PIN_PA18F_TCC0_WO2 18 /**< \brief TCC0 signal: WO2 on PA18 mux F */
|
|
#define MUX_PA18F_TCC0_WO2 5
|
|
#define PINMUX_PA18F_TCC0_WO2 ((PIN_PA18F_TCC0_WO2 << 16) | MUX_PA18F_TCC0_WO2)
|
|
#define PORT_PA18F_TCC0_WO2 (1u << 18)
|
|
#define PIN_PA11F_TCC0_WO3 11 /**< \brief TCC0 signal: WO3 on PA11 mux F */
|
|
#define MUX_PA11F_TCC0_WO3 5
|
|
#define PINMUX_PA11F_TCC0_WO3 ((PIN_PA11F_TCC0_WO3 << 16) | MUX_PA11F_TCC0_WO3)
|
|
#define PORT_PA11F_TCC0_WO3 (1u << 11)
|
|
#define PIN_PA19F_TCC0_WO3 19 /**< \brief TCC0 signal: WO3 on PA19 mux F */
|
|
#define MUX_PA19F_TCC0_WO3 5
|
|
#define PINMUX_PA19F_TCC0_WO3 ((PIN_PA19F_TCC0_WO3 << 16) | MUX_PA19F_TCC0_WO3)
|
|
#define PORT_PA19F_TCC0_WO3 (1u << 19)
|
|
#define PIN_PA14F_TCC0_WO4 14 /**< \brief TCC0 signal: WO4 on PA14 mux F */
|
|
#define MUX_PA14F_TCC0_WO4 5
|
|
#define PINMUX_PA14F_TCC0_WO4 ((PIN_PA14F_TCC0_WO4 << 16) | MUX_PA14F_TCC0_WO4)
|
|
#define PORT_PA14F_TCC0_WO4 (1u << 14)
|
|
#define PIN_PA22F_TCC0_WO4 22 /**< \brief TCC0 signal: WO4 on PA22 mux F */
|
|
#define MUX_PA22F_TCC0_WO4 5
|
|
#define PINMUX_PA22F_TCC0_WO4 ((PIN_PA22F_TCC0_WO4 << 16) | MUX_PA22F_TCC0_WO4)
|
|
#define PORT_PA22F_TCC0_WO4 (1u << 22)
|
|
#define PIN_PB16F_TCC0_WO4 48 /**< \brief TCC0 signal: WO4 on PB16 mux F */
|
|
#define MUX_PB16F_TCC0_WO4 5
|
|
#define PINMUX_PB16F_TCC0_WO4 ((PIN_PB16F_TCC0_WO4 << 16) | MUX_PB16F_TCC0_WO4)
|
|
#define PORT_PB16F_TCC0_WO4 (1u << 16)
|
|
#define PIN_PA15F_TCC0_WO5 15 /**< \brief TCC0 signal: WO5 on PA15 mux F */
|
|
#define MUX_PA15F_TCC0_WO5 5
|
|
#define PINMUX_PA15F_TCC0_WO5 ((PIN_PA15F_TCC0_WO5 << 16) | MUX_PA15F_TCC0_WO5)
|
|
#define PORT_PA15F_TCC0_WO5 (1u << 15)
|
|
#define PIN_PA23F_TCC0_WO5 23 /**< \brief TCC0 signal: WO5 on PA23 mux F */
|
|
#define MUX_PA23F_TCC0_WO5 5
|
|
#define PINMUX_PA23F_TCC0_WO5 ((PIN_PA23F_TCC0_WO5 << 16) | MUX_PA23F_TCC0_WO5)
|
|
#define PORT_PA23F_TCC0_WO5 (1u << 23)
|
|
#define PIN_PB17F_TCC0_WO5 49 /**< \brief TCC0 signal: WO5 on PB17 mux F */
|
|
#define MUX_PB17F_TCC0_WO5 5
|
|
#define PINMUX_PB17F_TCC0_WO5 ((PIN_PB17F_TCC0_WO5 << 16) | MUX_PB17F_TCC0_WO5)
|
|
#define PORT_PB17F_TCC0_WO5 (1u << 17)
|
|
#define PIN_PA12F_TCC0_WO6 12 /**< \brief TCC0 signal: WO6 on PA12 mux F */
|
|
#define MUX_PA12F_TCC0_WO6 5
|
|
#define PINMUX_PA12F_TCC0_WO6 ((PIN_PA12F_TCC0_WO6 << 16) | MUX_PA12F_TCC0_WO6)
|
|
#define PORT_PA12F_TCC0_WO6 (1u << 12)
|
|
#define PIN_PA20F_TCC0_WO6 20 /**< \brief TCC0 signal: WO6 on PA20 mux F */
|
|
#define MUX_PA20F_TCC0_WO6 5
|
|
#define PINMUX_PA20F_TCC0_WO6 ((PIN_PA20F_TCC0_WO6 << 16) | MUX_PA20F_TCC0_WO6)
|
|
#define PORT_PA20F_TCC0_WO6 (1u << 20)
|
|
#define PIN_PA16F_TCC0_WO6 16 /**< \brief TCC0 signal: WO6 on PA16 mux F */
|
|
#define MUX_PA16F_TCC0_WO6 5
|
|
#define PINMUX_PA16F_TCC0_WO6 ((PIN_PA16F_TCC0_WO6 << 16) | MUX_PA16F_TCC0_WO6)
|
|
#define PORT_PA16F_TCC0_WO6 (1u << 16)
|
|
#define PIN_PA13F_TCC0_WO7 13 /**< \brief TCC0 signal: WO7 on PA13 mux F */
|
|
#define MUX_PA13F_TCC0_WO7 5
|
|
#define PINMUX_PA13F_TCC0_WO7 ((PIN_PA13F_TCC0_WO7 << 16) | MUX_PA13F_TCC0_WO7)
|
|
#define PORT_PA13F_TCC0_WO7 (1u << 13)
|
|
#define PIN_PA17F_TCC0_WO7 17 /**< \brief TCC0 signal: WO7 on PA17 mux F */
|
|
#define MUX_PA17F_TCC0_WO7 5
|
|
#define PINMUX_PA17F_TCC0_WO7 ((PIN_PA17F_TCC0_WO7 << 16) | MUX_PA17F_TCC0_WO7)
|
|
#define PORT_PA17F_TCC0_WO7 (1u << 17)
|
|
/* ========== PORT definition for TCC1 peripheral ========== */
|
|
#define PIN_PA06E_TCC1_WO0 6 /**< \brief TCC1 signal: WO0 on PA06 mux E */
|
|
#define MUX_PA06E_TCC1_WO0 4
|
|
#define PINMUX_PA06E_TCC1_WO0 ((PIN_PA06E_TCC1_WO0 << 16) | MUX_PA06E_TCC1_WO0)
|
|
#define PORT_PA06E_TCC1_WO0 (1u << 6)
|
|
#define PIN_PA10E_TCC1_WO0 10 /**< \brief TCC1 signal: WO0 on PA10 mux E */
|
|
#define MUX_PA10E_TCC1_WO0 4
|
|
#define PINMUX_PA10E_TCC1_WO0 ((PIN_PA10E_TCC1_WO0 << 16) | MUX_PA10E_TCC1_WO0)
|
|
#define PORT_PA10E_TCC1_WO0 (1u << 10)
|
|
#define PIN_PA30E_TCC1_WO0 30 /**< \brief TCC1 signal: WO0 on PA30 mux E */
|
|
#define MUX_PA30E_TCC1_WO0 4
|
|
#define PINMUX_PA30E_TCC1_WO0 ((PIN_PA30E_TCC1_WO0 << 16) | MUX_PA30E_TCC1_WO0)
|
|
#define PORT_PA30E_TCC1_WO0 (1u << 30)
|
|
#define PIN_PA07E_TCC1_WO1 7 /**< \brief TCC1 signal: WO1 on PA07 mux E */
|
|
#define MUX_PA07E_TCC1_WO1 4
|
|
#define PINMUX_PA07E_TCC1_WO1 ((PIN_PA07E_TCC1_WO1 << 16) | MUX_PA07E_TCC1_WO1)
|
|
#define PORT_PA07E_TCC1_WO1 (1u << 7)
|
|
#define PIN_PA11E_TCC1_WO1 11 /**< \brief TCC1 signal: WO1 on PA11 mux E */
|
|
#define MUX_PA11E_TCC1_WO1 4
|
|
#define PINMUX_PA11E_TCC1_WO1 ((PIN_PA11E_TCC1_WO1 << 16) | MUX_PA11E_TCC1_WO1)
|
|
#define PORT_PA11E_TCC1_WO1 (1u << 11)
|
|
#define PIN_PA31E_TCC1_WO1 31 /**< \brief TCC1 signal: WO1 on PA31 mux E */
|
|
#define MUX_PA31E_TCC1_WO1 4
|
|
#define PINMUX_PA31E_TCC1_WO1 ((PIN_PA31E_TCC1_WO1 << 16) | MUX_PA31E_TCC1_WO1)
|
|
#define PORT_PA31E_TCC1_WO1 (1u << 31)
|
|
#define PIN_PA08F_TCC1_WO2 8 /**< \brief TCC1 signal: WO2 on PA08 mux F */
|
|
#define MUX_PA08F_TCC1_WO2 5
|
|
#define PINMUX_PA08F_TCC1_WO2 ((PIN_PA08F_TCC1_WO2 << 16) | MUX_PA08F_TCC1_WO2)
|
|
#define PORT_PA08F_TCC1_WO2 (1u << 8)
|
|
#define PIN_PA24F_TCC1_WO2 24 /**< \brief TCC1 signal: WO2 on PA24 mux F */
|
|
#define MUX_PA24F_TCC1_WO2 5
|
|
#define PINMUX_PA24F_TCC1_WO2 ((PIN_PA24F_TCC1_WO2 << 16) | MUX_PA24F_TCC1_WO2)
|
|
#define PORT_PA24F_TCC1_WO2 (1u << 24)
|
|
#define PIN_PB30F_TCC1_WO2 62 /**< \brief TCC1 signal: WO2 on PB30 mux F */
|
|
#define MUX_PB30F_TCC1_WO2 5
|
|
#define PINMUX_PB30F_TCC1_WO2 ((PIN_PB30F_TCC1_WO2 << 16) | MUX_PB30F_TCC1_WO2)
|
|
#define PORT_PB30F_TCC1_WO2 (1u << 30)
|
|
#define PIN_PA09F_TCC1_WO3 9 /**< \brief TCC1 signal: WO3 on PA09 mux F */
|
|
#define MUX_PA09F_TCC1_WO3 5
|
|
#define PINMUX_PA09F_TCC1_WO3 ((PIN_PA09F_TCC1_WO3 << 16) | MUX_PA09F_TCC1_WO3)
|
|
#define PORT_PA09F_TCC1_WO3 (1u << 9)
|
|
#define PIN_PA25F_TCC1_WO3 25 /**< \brief TCC1 signal: WO3 on PA25 mux F */
|
|
#define MUX_PA25F_TCC1_WO3 5
|
|
#define PINMUX_PA25F_TCC1_WO3 ((PIN_PA25F_TCC1_WO3 << 16) | MUX_PA25F_TCC1_WO3)
|
|
#define PORT_PA25F_TCC1_WO3 (1u << 25)
|
|
#define PIN_PB31F_TCC1_WO3 63 /**< \brief TCC1 signal: WO3 on PB31 mux F */
|
|
#define MUX_PB31F_TCC1_WO3 5
|
|
#define PINMUX_PB31F_TCC1_WO3 ((PIN_PB31F_TCC1_WO3 << 16) | MUX_PB31F_TCC1_WO3)
|
|
#define PORT_PB31F_TCC1_WO3 (1u << 31)
|
|
/* ========== PORT definition for TCC2 peripheral ========== */
|
|
#define PIN_PA12E_TCC2_WO0 12 /**< \brief TCC2 signal: WO0 on PA12 mux E */
|
|
#define MUX_PA12E_TCC2_WO0 4
|
|
#define PINMUX_PA12E_TCC2_WO0 ((PIN_PA12E_TCC2_WO0 << 16) | MUX_PA12E_TCC2_WO0)
|
|
#define PORT_PA12E_TCC2_WO0 (1u << 12)
|
|
#define PIN_PA16E_TCC2_WO0 16 /**< \brief TCC2 signal: WO0 on PA16 mux E */
|
|
#define MUX_PA16E_TCC2_WO0 4
|
|
#define PINMUX_PA16E_TCC2_WO0 ((PIN_PA16E_TCC2_WO0 << 16) | MUX_PA16E_TCC2_WO0)
|
|
#define PORT_PA16E_TCC2_WO0 (1u << 16)
|
|
#define PIN_PA00E_TCC2_WO0 0 /**< \brief TCC2 signal: WO0 on PA00 mux E */
|
|
#define MUX_PA00E_TCC2_WO0 4
|
|
#define PINMUX_PA00E_TCC2_WO0 ((PIN_PA00E_TCC2_WO0 << 16) | MUX_PA00E_TCC2_WO0)
|
|
#define PORT_PA00E_TCC2_WO0 (1u << 0)
|
|
#define PIN_PA13E_TCC2_WO1 13 /**< \brief TCC2 signal: WO1 on PA13 mux E */
|
|
#define MUX_PA13E_TCC2_WO1 4
|
|
#define PINMUX_PA13E_TCC2_WO1 ((PIN_PA13E_TCC2_WO1 << 16) | MUX_PA13E_TCC2_WO1)
|
|
#define PORT_PA13E_TCC2_WO1 (1u << 13)
|
|
#define PIN_PA17E_TCC2_WO1 17 /**< \brief TCC2 signal: WO1 on PA17 mux E */
|
|
#define MUX_PA17E_TCC2_WO1 4
|
|
#define PINMUX_PA17E_TCC2_WO1 ((PIN_PA17E_TCC2_WO1 << 16) | MUX_PA17E_TCC2_WO1)
|
|
#define PORT_PA17E_TCC2_WO1 (1u << 17)
|
|
#define PIN_PA01E_TCC2_WO1 1 /**< \brief TCC2 signal: WO1 on PA01 mux E */
|
|
#define MUX_PA01E_TCC2_WO1 4
|
|
#define PINMUX_PA01E_TCC2_WO1 ((PIN_PA01E_TCC2_WO1 << 16) | MUX_PA01E_TCC2_WO1)
|
|
#define PORT_PA01E_TCC2_WO1 (1u << 1)
|
|
/* ========== PORT definition for TC3 peripheral ========== */
|
|
#define PIN_PA18E_TC3_WO0 18 /**< \brief TC3 signal: WO0 on PA18 mux E */
|
|
#define MUX_PA18E_TC3_WO0 4
|
|
#define PINMUX_PA18E_TC3_WO0 ((PIN_PA18E_TC3_WO0 << 16) | MUX_PA18E_TC3_WO0)
|
|
#define PORT_PA18E_TC3_WO0 (1u << 18)
|
|
#define PIN_PA14E_TC3_WO0 14 /**< \brief TC3 signal: WO0 on PA14 mux E */
|
|
#define MUX_PA14E_TC3_WO0 4
|
|
#define PINMUX_PA14E_TC3_WO0 ((PIN_PA14E_TC3_WO0 << 16) | MUX_PA14E_TC3_WO0)
|
|
#define PORT_PA14E_TC3_WO0 (1u << 14)
|
|
#define PIN_PA19E_TC3_WO1 19 /**< \brief TC3 signal: WO1 on PA19 mux E */
|
|
#define MUX_PA19E_TC3_WO1 4
|
|
#define PINMUX_PA19E_TC3_WO1 ((PIN_PA19E_TC3_WO1 << 16) | MUX_PA19E_TC3_WO1)
|
|
#define PORT_PA19E_TC3_WO1 (1u << 19)
|
|
#define PIN_PA15E_TC3_WO1 15 /**< \brief TC3 signal: WO1 on PA15 mux E */
|
|
#define MUX_PA15E_TC3_WO1 4
|
|
#define PINMUX_PA15E_TC3_WO1 ((PIN_PA15E_TC3_WO1 << 16) | MUX_PA15E_TC3_WO1)
|
|
#define PORT_PA15E_TC3_WO1 (1u << 15)
|
|
/* ========== PORT definition for TC4 peripheral ========== */
|
|
#define PIN_PA22E_TC4_WO0 22 /**< \brief TC4 signal: WO0 on PA22 mux E */
|
|
#define MUX_PA22E_TC4_WO0 4
|
|
#define PINMUX_PA22E_TC4_WO0 ((PIN_PA22E_TC4_WO0 << 16) | MUX_PA22E_TC4_WO0)
|
|
#define PORT_PA22E_TC4_WO0 (1u << 22)
|
|
#define PIN_PB08E_TC4_WO0 40 /**< \brief TC4 signal: WO0 on PB08 mux E */
|
|
#define MUX_PB08E_TC4_WO0 4
|
|
#define PINMUX_PB08E_TC4_WO0 ((PIN_PB08E_TC4_WO0 << 16) | MUX_PB08E_TC4_WO0)
|
|
#define PORT_PB08E_TC4_WO0 (1u << 8)
|
|
#define PIN_PA23E_TC4_WO1 23 /**< \brief TC4 signal: WO1 on PA23 mux E */
|
|
#define MUX_PA23E_TC4_WO1 4
|
|
#define PINMUX_PA23E_TC4_WO1 ((PIN_PA23E_TC4_WO1 << 16) | MUX_PA23E_TC4_WO1)
|
|
#define PORT_PA23E_TC4_WO1 (1u << 23)
|
|
#define PIN_PB09E_TC4_WO1 41 /**< \brief TC4 signal: WO1 on PB09 mux E */
|
|
#define MUX_PB09E_TC4_WO1 4
|
|
#define PINMUX_PB09E_TC4_WO1 ((PIN_PB09E_TC4_WO1 << 16) | MUX_PB09E_TC4_WO1)
|
|
#define PORT_PB09E_TC4_WO1 (1u << 9)
|
|
/* ========== PORT definition for TC5 peripheral ========== */
|
|
#define PIN_PA24E_TC5_WO0 24 /**< \brief TC5 signal: WO0 on PA24 mux E */
|
|
#define MUX_PA24E_TC5_WO0 4
|
|
#define PINMUX_PA24E_TC5_WO0 ((PIN_PA24E_TC5_WO0 << 16) | MUX_PA24E_TC5_WO0)
|
|
#define PORT_PA24E_TC5_WO0 (1u << 24)
|
|
#define PIN_PB14E_TC5_WO0 46 /**< \brief TC5 signal: WO0 on PB14 mux E */
|
|
#define MUX_PB14E_TC5_WO0 4
|
|
#define PINMUX_PB14E_TC5_WO0 ((PIN_PB14E_TC5_WO0 << 16) | MUX_PB14E_TC5_WO0)
|
|
#define PORT_PB14E_TC5_WO0 (1u << 14)
|
|
#define PIN_PA25E_TC5_WO1 25 /**< \brief TC5 signal: WO1 on PA25 mux E */
|
|
#define MUX_PA25E_TC5_WO1 4
|
|
#define PINMUX_PA25E_TC5_WO1 ((PIN_PA25E_TC5_WO1 << 16) | MUX_PA25E_TC5_WO1)
|
|
#define PORT_PA25E_TC5_WO1 (1u << 25)
|
|
#define PIN_PB15E_TC5_WO1 47 /**< \brief TC5 signal: WO1 on PB15 mux E */
|
|
#define MUX_PB15E_TC5_WO1 4
|
|
#define PINMUX_PB15E_TC5_WO1 ((PIN_PB15E_TC5_WO1 << 16) | MUX_PB15E_TC5_WO1)
|
|
#define PORT_PB15E_TC5_WO1 (1u << 15)
|
|
/* ========== PORT definition for ADC peripheral ========== */
|
|
#define PIN_PB08B_ADC_AIN2 40 /**< \brief ADC signal: AIN2 on PB08 mux B */
|
|
#define MUX_PB08B_ADC_AIN2 1
|
|
#define PINMUX_PB08B_ADC_AIN2 ((PIN_PB08B_ADC_AIN2 << 16) | MUX_PB08B_ADC_AIN2)
|
|
#define PORT_PB08B_ADC_AIN2 (1u << 8)
|
|
#define PIN_PB09B_ADC_AIN3 41 /**< \brief ADC signal: AIN3 on PB09 mux B */
|
|
#define MUX_PB09B_ADC_AIN3 1
|
|
#define PINMUX_PB09B_ADC_AIN3 ((PIN_PB09B_ADC_AIN3 << 16) | MUX_PB09B_ADC_AIN3)
|
|
#define PORT_PB09B_ADC_AIN3 (1u << 9)
|
|
#define PIN_PA04B_ADC_AIN4 4 /**< \brief ADC signal: AIN4 on PA04 mux B */
|
|
#define MUX_PA04B_ADC_AIN4 1
|
|
#define PINMUX_PA04B_ADC_AIN4 ((PIN_PA04B_ADC_AIN4 << 16) | MUX_PA04B_ADC_AIN4)
|
|
#define PORT_PA04B_ADC_AIN4 (1u << 4)
|
|
#define PIN_PA05B_ADC_AIN5 5 /**< \brief ADC signal: AIN5 on PA05 mux B */
|
|
#define MUX_PA05B_ADC_AIN5 1
|
|
#define PINMUX_PA05B_ADC_AIN5 ((PIN_PA05B_ADC_AIN5 << 16) | MUX_PA05B_ADC_AIN5)
|
|
#define PORT_PA05B_ADC_AIN5 (1u << 5)
|
|
#define PIN_PA06B_ADC_AIN6 6 /**< \brief ADC signal: AIN6 on PA06 mux B */
|
|
#define MUX_PA06B_ADC_AIN6 1
|
|
#define PINMUX_PA06B_ADC_AIN6 ((PIN_PA06B_ADC_AIN6 << 16) | MUX_PA06B_ADC_AIN6)
|
|
#define PORT_PA06B_ADC_AIN6 (1u << 6)
|
|
#define PIN_PA07B_ADC_AIN7 7 /**< \brief ADC signal: AIN7 on PA07 mux B */
|
|
#define MUX_PA07B_ADC_AIN7 1
|
|
#define PINMUX_PA07B_ADC_AIN7 ((PIN_PA07B_ADC_AIN7 << 16) | MUX_PA07B_ADC_AIN7)
|
|
#define PORT_PA07B_ADC_AIN7 (1u << 7)
|
|
#define PIN_PB00B_ADC_AIN8 32 /**< \brief ADC signal: AIN8 on PB00 mux B */
|
|
#define MUX_PB00B_ADC_AIN8 1
|
|
#define PINMUX_PB00B_ADC_AIN8 ((PIN_PB00B_ADC_AIN8 << 16) | MUX_PB00B_ADC_AIN8)
|
|
#define PORT_PB00B_ADC_AIN8 (1u << 0)
|
|
#define PIN_PB02B_ADC_AIN10 34 /**< \brief ADC signal: AIN10 on PB02 mux B */
|
|
#define MUX_PB02B_ADC_AIN10 1
|
|
#define PINMUX_PB02B_ADC_AIN10 ((PIN_PB02B_ADC_AIN10 << 16) | MUX_PB02B_ADC_AIN10)
|
|
#define PORT_PB02B_ADC_AIN10 (1u << 2)
|
|
#define PIN_PB03B_ADC_AIN11 35 /**< \brief ADC signal: AIN11 on PB03 mux B */
|
|
#define MUX_PB03B_ADC_AIN11 1
|
|
#define PINMUX_PB03B_ADC_AIN11 ((PIN_PB03B_ADC_AIN11 << 16) | MUX_PB03B_ADC_AIN11)
|
|
#define PORT_PB03B_ADC_AIN11 (1u << 3)
|
|
#define PIN_PA08B_ADC_AIN16 8 /**< \brief ADC signal: AIN16 on PA08 mux B */
|
|
#define MUX_PA08B_ADC_AIN16 1
|
|
#define PINMUX_PA08B_ADC_AIN16 ((PIN_PA08B_ADC_AIN16 << 16) | MUX_PA08B_ADC_AIN16)
|
|
#define PORT_PA08B_ADC_AIN16 (1u << 8)
|
|
#define PIN_PA09B_ADC_AIN17 9 /**< \brief ADC signal: AIN17 on PA09 mux B */
|
|
#define MUX_PA09B_ADC_AIN17 1
|
|
#define PINMUX_PA09B_ADC_AIN17 ((PIN_PA09B_ADC_AIN17 << 16) | MUX_PA09B_ADC_AIN17)
|
|
#define PORT_PA09B_ADC_AIN17 (1u << 9)
|
|
#define PIN_PA10B_ADC_AIN18 10 /**< \brief ADC signal: AIN18 on PA10 mux B */
|
|
#define MUX_PA10B_ADC_AIN18 1
|
|
#define PINMUX_PA10B_ADC_AIN18 ((PIN_PA10B_ADC_AIN18 << 16) | MUX_PA10B_ADC_AIN18)
|
|
#define PORT_PA10B_ADC_AIN18 (1u << 10)
|
|
#define PIN_PA11B_ADC_AIN19 11 /**< \brief ADC signal: AIN19 on PA11 mux B */
|
|
#define MUX_PA11B_ADC_AIN19 1
|
|
#define PINMUX_PA11B_ADC_AIN19 ((PIN_PA11B_ADC_AIN19 << 16) | MUX_PA11B_ADC_AIN19)
|
|
#define PORT_PA11B_ADC_AIN19 (1u << 11)
|
|
#define PIN_PA04B_ADC_VREFP 4 /**< \brief ADC signal: VREFP on PA04 mux B */
|
|
#define MUX_PA04B_ADC_VREFP 1
|
|
#define PINMUX_PA04B_ADC_VREFP ((PIN_PA04B_ADC_VREFP << 16) | MUX_PA04B_ADC_VREFP)
|
|
#define PORT_PA04B_ADC_VREFP (1u << 4)
|
|
/* ========== PORT definition for AC peripheral ========== */
|
|
#define PIN_PA04B_AC_AIN0 4 /**< \brief AC signal: AIN0 on PA04 mux B */
|
|
#define MUX_PA04B_AC_AIN0 1
|
|
#define PINMUX_PA04B_AC_AIN0 ((PIN_PA04B_AC_AIN0 << 16) | MUX_PA04B_AC_AIN0)
|
|
#define PORT_PA04B_AC_AIN0 (1u << 4)
|
|
#define PIN_PA05B_AC_AIN1 5 /**< \brief AC signal: AIN1 on PA05 mux B */
|
|
#define MUX_PA05B_AC_AIN1 1
|
|
#define PINMUX_PA05B_AC_AIN1 ((PIN_PA05B_AC_AIN1 << 16) | MUX_PA05B_AC_AIN1)
|
|
#define PORT_PA05B_AC_AIN1 (1u << 5)
|
|
#define PIN_PA06B_AC_AIN2 6 /**< \brief AC signal: AIN2 on PA06 mux B */
|
|
#define MUX_PA06B_AC_AIN2 1
|
|
#define PINMUX_PA06B_AC_AIN2 ((PIN_PA06B_AC_AIN2 << 16) | MUX_PA06B_AC_AIN2)
|
|
#define PORT_PA06B_AC_AIN2 (1u << 6)
|
|
#define PIN_PA07B_AC_AIN3 7 /**< \brief AC signal: AIN3 on PA07 mux B */
|
|
#define MUX_PA07B_AC_AIN3 1
|
|
#define PINMUX_PA07B_AC_AIN3 ((PIN_PA07B_AC_AIN3 << 16) | MUX_PA07B_AC_AIN3)
|
|
#define PORT_PA07B_AC_AIN3 (1u << 7)
|
|
#define PIN_PA12H_AC_CMP0 12 /**< \brief AC signal: CMP0 on PA12 mux H */
|
|
#define MUX_PA12H_AC_CMP0 7
|
|
#define PINMUX_PA12H_AC_CMP0 ((PIN_PA12H_AC_CMP0 << 16) | MUX_PA12H_AC_CMP0)
|
|
#define PORT_PA12H_AC_CMP0 (1u << 12)
|
|
#define PIN_PA18H_AC_CMP0 18 /**< \brief AC signal: CMP0 on PA18 mux H */
|
|
#define MUX_PA18H_AC_CMP0 7
|
|
#define PINMUX_PA18H_AC_CMP0 ((PIN_PA18H_AC_CMP0 << 16) | MUX_PA18H_AC_CMP0)
|
|
#define PORT_PA18H_AC_CMP0 (1u << 18)
|
|
#define PIN_PA13H_AC_CMP1 13 /**< \brief AC signal: CMP1 on PA13 mux H */
|
|
#define MUX_PA13H_AC_CMP1 7
|
|
#define PINMUX_PA13H_AC_CMP1 ((PIN_PA13H_AC_CMP1 << 16) | MUX_PA13H_AC_CMP1)
|
|
#define PORT_PA13H_AC_CMP1 (1u << 13)
|
|
#define PIN_PA19H_AC_CMP1 19 /**< \brief AC signal: CMP1 on PA19 mux H */
|
|
#define MUX_PA19H_AC_CMP1 7
|
|
#define PINMUX_PA19H_AC_CMP1 ((PIN_PA19H_AC_CMP1 << 16) | MUX_PA19H_AC_CMP1)
|
|
#define PORT_PA19H_AC_CMP1 (1u << 19)
|
|
/* ========== PORT definition for RFCTRL peripheral ========== */
|
|
#define PIN_PA08F_RFCTRL_FECTRL0 8 /**< \brief RFCTRL signal: FECTRL0 on PA08 mux F */
|
|
#define MUX_PA08F_RFCTRL_FECTRL0 5
|
|
#define PINMUX_PA08F_RFCTRL_FECTRL0 ((PIN_PA08F_RFCTRL_FECTRL0 << 16) | MUX_PA08F_RFCTRL_FECTRL0)
|
|
#define PORT_PA08F_RFCTRL_FECTRL0 (1u << 8)
|
|
#define PIN_PA09F_RFCTRL_FECTRL1 9 /**< \brief RFCTRL signal: FECTRL1 on PA09 mux F */
|
|
#define MUX_PA09F_RFCTRL_FECTRL1 5
|
|
#define PINMUX_PA09F_RFCTRL_FECTRL1 ((PIN_PA09F_RFCTRL_FECTRL1 << 16) | MUX_PA09F_RFCTRL_FECTRL1)
|
|
#define PORT_PA09F_RFCTRL_FECTRL1 (1u << 9)
|
|
#define PIN_PA12F_RFCTRL_FECTRL2 12 /**< \brief RFCTRL signal: FECTRL2 on PA12 mux F */
|
|
#define MUX_PA12F_RFCTRL_FECTRL2 5
|
|
#define PINMUX_PA12F_RFCTRL_FECTRL2 ((PIN_PA12F_RFCTRL_FECTRL2 << 16) | MUX_PA12F_RFCTRL_FECTRL2)
|
|
#define PORT_PA12F_RFCTRL_FECTRL2 (1u << 12)
|
|
#define PIN_PA13F_RFCTRL_FECTRL3 13 /**< \brief RFCTRL signal: FECTRL3 on PA13 mux F */
|
|
#define MUX_PA13F_RFCTRL_FECTRL3 5
|
|
#define PINMUX_PA13F_RFCTRL_FECTRL3 ((PIN_PA13F_RFCTRL_FECTRL3 << 16) | MUX_PA13F_RFCTRL_FECTRL3)
|
|
#define PORT_PA13F_RFCTRL_FECTRL3 (1u << 13)
|
|
#define PIN_PA14F_RFCTRL_FECTRL4 14 /**< \brief RFCTRL signal: FECTRL4 on PA14 mux F */
|
|
#define MUX_PA14F_RFCTRL_FECTRL4 5
|
|
#define PINMUX_PA14F_RFCTRL_FECTRL4 ((PIN_PA14F_RFCTRL_FECTRL4 << 16) | MUX_PA14F_RFCTRL_FECTRL4)
|
|
#define PORT_PA14F_RFCTRL_FECTRL4 (1u << 14)
|
|
#define PIN_PA15F_RFCTRL_FECTRL5 15 /**< \brief RFCTRL signal: FECTRL5 on PA15 mux F */
|
|
#define MUX_PA15F_RFCTRL_FECTRL5 5
|
|
#define PINMUX_PA15F_RFCTRL_FECTRL5 ((PIN_PA15F_RFCTRL_FECTRL5 << 16) | MUX_PA15F_RFCTRL_FECTRL5)
|
|
#define PORT_PA15F_RFCTRL_FECTRL5 (1u << 15)
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _SAMR21G18A_PIO_ */
|