Zephyr Project API 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
gpio_ambiq.h File Reference
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>

Go to the source code of this file.

Functions

gpio_pin_t ambiq_gpio_get_pinnum (const struct device *dev, gpio_pin_t pin)
 Get the actual gpio pin number.
 

Function Documentation

◆ ambiq_gpio_get_pinnum()

gpio_pin_t ambiq_gpio_get_pinnum ( const struct device dev,
gpio_pin_t  pin 
)

Get the actual gpio pin number.

Parameters
devPointer to the device structure for the driver instance.
pinPin number of the select gpio group.
Return values
pinnumber.