![]() |
TT-System-Firmware APIs 19.10.99
Tenstorrent Firmware
|
#include <zephyr/drivers/gpio.h>#include <zephyr/drivers/gpio/gpio_utils.h>#include <zephyr/sys/sys_io.h>#include <platform.h>
Data Structures | |
| struct | gpio_grendel_config |
| struct | gpio_grendel_data |
Macros | |
| #define | DT_DRV_COMPAT tenstorrent_grendel_gpio |
| #define | GPIO_REG_SPACING 0x10 |
| #define | gpio_grendel_INIT(inst) |
Functions | |
| static int | gpio_grendel_pin_configure (const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) |
| static int | gpio_grendel_port_get_raw (const struct device *dev, uint32_t *value) |
| static int | gpio_grendel_port_set_masked_raw (const struct device *dev, uint32_t mask, uint32_t value) |
| static int | gpio_grendel_port_set_bits_raw (const struct device *dev, uint32_t pins) |
| static int | gpio_grendel_port_clear_bits_raw (const struct device *dev, uint32_t pins) |
| static int | gpio_grendel_port_toggle_bits (const struct device *dev, uint32_t pins) |
| static int | gpio_grendel_pin_interrupt_configure (const struct device *dev, gpio_pin_t pin, enum gpio_int_mode mode, enum gpio_int_trig trig) |
| static | DEVICE_API (gpio, gpio_grendel_api_funcs) |
| static int | gpio_grendel_initialize (const struct device *dev) |
| #define DT_DRV_COMPAT tenstorrent_grendel_gpio |
| #define gpio_grendel_INIT | ( | inst | ) |
| #define GPIO_REG_SPACING 0x10 |
|
static |
|
static |
|
static |
|
static |
|
static |