Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
gpio_ambiq.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Ambiq Micro Inc. <www.ambiq.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
13#ifndef ZEPHYR_DRIVERS_GPIO_GPIO_AMBIQ_H_
14#define ZEPHYR_DRIVERS_GPIO_GPIO_AMBIQ_H_
15
23#include <zephyr/device.h>
24#include <zephyr/drivers/gpio.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
39
40#ifdef __cplusplus
41}
42#endif
43
48#endif /* ZEPHYR_DRIVERS_GPIO_GPIO_AMBIQ_H_ */
Public APIs for GPIO drivers.
gpio_pin_t ambiq_gpio_get_pinnum(const struct device *dev, gpio_pin_t pin)
Get the actual gpio pin number.
uint8_t gpio_pin_t
Provides a type to hold a GPIO pin index.
Definition gpio.h:261
Runtime device structure (in ROM) per driver instance.
Definition device.h:510