|
MeshX 0.4
This repository provides an implementation for Bluetooth Low Energy (BLE) Mesh network nodes. The project allows you to create BLE mesh nodes that can communicate with each other, enabling the development of smart home solutions or other IoT-based applications.
|
MeshX GPIO Type Definitions. More...
#include <stdint.h>#include <stdbool.h>#include <stddef.h>Go to the source code of this file.
Data Structures | |
| struct | meshx_gpio_pin_config_t |
| GPIO Pin Configuration Structure. More... | |
| struct | meshx_gpio_pin_state_t |
| GPIO Pin State Structure. More... | |
| struct | meshx_gpio_config_header_t |
| GPIO Configuration Header. More... | |
| struct | meshx_gpio_pin_config_serialized_t |
| Serialized GPIO Pin Configuration. More... | |
| struct | meshx_gpio_pwm_config_serialized_t |
| Serialized PWM Configuration. More... | |
| struct | meshx_gpio_intr_config_serialized_t |
| Serialized Interrupt Configuration. More... | |
| struct | meshx_gpio_hosted_event_t |
| Hosted Mode GPIO Event. More... | |
Typedefs | |
| typedef void(* | meshx_gpio_intr_cb_t) (uint8_t logical_pin, void *user_data) |
| GPIO Interrupt Callback Type (forward declaration). | |
Enumerations | |
| enum | meshx_gpio_intr_type_t { MESHX_GPIO_INTR_DISABLED = 0 , MESHX_GPIO_INTR_POSITIVE_EDGE , MESHX_GPIO_INTR_NEGATIVE_EDGE , MESHX_GPIO_INTR_ANY_EDGE , MESHX_GPIO_INTR_LOW_LEVEL , MESHX_GPIO_INTR_HIGH_LEVEL , MESHX_GPIO_INTR_MAX } |
| GPIO Interrupt Trigger Types. More... | |
| enum | meshx_gpio_hosted_mode_t { MESHX_GPIO_MODE_NON_HOSTED = 0 , MESHX_GPIO_MODE_HOSTED , MESHX_GPIO_MODE_TRANSITIONING } |
| Hosted Mode State. More... | |
MeshX GPIO Type Definitions.
This file defines data structures and types for GPIO configuration and state.
| typedef void(* meshx_gpio_intr_cb_t) (uint8_t logical_pin, void *user_data) |
GPIO Interrupt Callback Type (forward declaration).
Full documentation is in meshx_gpio.h
Hosted Mode State.
| Enumerator | ||
|---|---|---|
| MESHX_GPIO_MODE_NON_HOSTED | 0 | Non-hosted mode (direct GPIO access) |
| MESHX_GPIO_MODE_HOSTED | Hosted mode (UART transport) | |
| MESHX_GPIO_MODE_TRANSITIONING | Mode transition in progress | |
GPIO Interrupt Trigger Types.
Forward declaration for use in meshx_gpio_pin_state_t. Full definition is in meshx_gpio.h