|
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.
|
Serialized PWM configuration for KV Engine storage. More...
#include <meshx_gpio_kv.h>
Data Fields | |
| uint32_t | frequency |
| uint8_t | duty_cycle |
| uint8_t | resolution |
| uint8_t | channel |
| uint8_t | reserved |
Serialized PWM configuration for KV Engine storage.
Total size: 8 bytes. Follows meshx_gpio_pin_config_kv_t when config_type == 1.
| uint8_t meshx_gpio_pwm_config_kv_t::channel |
Hardware PWM channel
| uint8_t meshx_gpio_pwm_config_kv_t::duty_cycle |
Duty cycle (0-100%)
| uint32_t meshx_gpio_pwm_config_kv_t::frequency |
PWM frequency in Hz
| uint8_t meshx_gpio_pwm_config_kv_t::reserved |
Reserved, must be 0
| uint8_t meshx_gpio_pwm_config_kv_t::resolution |
PWM resolution in bits