Skip to content

Commit 14d8cdf

Browse files
committed
Add pad2pin
1 parent d2d95f9 commit 14d8cdf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/arduino/ard_sup/ap3_gpio.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ extern const am_hal_gpio_pincfg_t g_AM_HAL_GPIO_INPUT_PULLDOWN;
5454
#define AP3_GPIO_IS_VALID(pad) ((pad >= 0) && (pad < AP3_GPIO_MAX_PADS))
5555

5656
extern ap3_gpio_pad_t ap3_gpio_pin2pad(ap3_gpio_pin_t pin);
57+
extern ap3_gpio_pin_t ap3_gpio_pad2pin(ap3_gpio_pad_t pad);
5758
#define AP3_GPIO_PAD_UNUSED (255)
5859

5960
#define AP3_GPIO_DEFAULT_PINCFG AP3_GPIO_PINCFG_NULL

0 commit comments

Comments
 (0)