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.
Loading...
Searching...
No Matches
meshx_gpio_pwm_config_kv_t Struct Reference

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

Detailed Description

Serialized PWM configuration for KV Engine storage.

Total size: 8 bytes. Follows meshx_gpio_pin_config_kv_t when config_type == 1.

Field Documentation

◆ channel

uint8_t meshx_gpio_pwm_config_kv_t::channel

Hardware PWM channel

◆ duty_cycle

uint8_t meshx_gpio_pwm_config_kv_t::duty_cycle

Duty cycle (0-100%)

◆ frequency

uint32_t meshx_gpio_pwm_config_kv_t::frequency

PWM frequency in Hz

◆ reserved

uint8_t meshx_gpio_pwm_config_kv_t::reserved

Reserved, must be 0

◆ resolution

uint8_t meshx_gpio_pwm_config_kv_t::resolution

PWM resolution in bits


The documentation for this struct was generated from the following file: