diff --git a/cpu/cc26xx_cc13xx/include/periph_cpu_common.h b/cpu/cc26xx_cc13xx/include/periph_cpu_common.h index b22f4db6b9..71e9f2d046 100644 --- a/cpu/cc26xx_cc13xx/include/periph_cpu_common.h +++ b/cpu/cc26xx_cc13xx/include/periph_cpu_common.h @@ -65,6 +65,11 @@ typedef enum { GPIO_BOTH = IOCFG_EDGEDET_BOTH } gpio_flank_t; +/** + * @brief CPU specific GPIO pin generator macro + */ +#define GPIO_PIN(x, y) (((x) & 0) | (y)) + /* * @brief Invalid UART mode mask *