mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/cc26xx_cc13xx: define GPIO_PIN macro
This allows using the macro inside the periph_conf.h board files since the periph/gpio.h header can't be included on the peripheral configuration. Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
This commit is contained in:
parent
64779b6f98
commit
b289c698b8
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user