Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Ambiq GPIO controller. More...

Files

file  gpio_ambiq.h
 Header file for Ambiq GPIO driver.
 

Functions

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

Detailed Description

Ambiq GPIO controller.

Function Documentation

◆ ambiq_gpio_get_pinnum()

gpio_pin_t ambiq_gpio_get_pinnum ( const struct device dev,
gpio_pin_t  pin 
)

#include <include/zephyr/drivers/gpio/gpio_ambiq.h>

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.