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_io_config_t Struct Reference

IO configuration structure (C compatible). More...

#include <meshx_io_bridge.h>

Data Fields

uint8_t logical_pin
uint8_t io_type
const char * name
union { 
   struct { 
      uint8_t   mode 
      uint8_t   pull 
      uint8_t   drive 
      uint8_t   initial_level 
      bool   signal_inversion 
   }   gpio
   struct { 
      uint32_t   frequency 
      uint8_t   duty_cycle 
      uint8_t   resolution 
      uint8_t   channel 
   }   pwm
   struct { 
      uint16_t   custom_id 
      uint32_t   custom_data 
   }   custom
config

Detailed Description

IO configuration structure (C compatible).

Field Documentation

◆ channel

uint8_t meshx_io_config_t::channel

◆ [union]

union { ... } meshx_io_config_t::config

◆ [struct]

struct { ... } meshx_io_config_t::custom

◆ custom_data

uint32_t meshx_io_config_t::custom_data

◆ custom_id

uint16_t meshx_io_config_t::custom_id

◆ drive

uint8_t meshx_io_config_t::drive

◆ duty_cycle

uint8_t meshx_io_config_t::duty_cycle

◆ frequency

uint32_t meshx_io_config_t::frequency

◆ [struct]

struct { ... } meshx_io_config_t::gpio

◆ initial_level

uint8_t meshx_io_config_t::initial_level

◆ io_type

uint8_t meshx_io_config_t::io_type

◆ logical_pin

uint8_t meshx_io_config_t::logical_pin

◆ mode

uint8_t meshx_io_config_t::mode

◆ name

const char* meshx_io_config_t::name

◆ pull

uint8_t meshx_io_config_t::pull

◆ [struct]

struct { ... } meshx_io_config_t::pwm

◆ resolution

uint8_t meshx_io_config_t::resolution

◆ signal_inversion

bool meshx_io_config_t::signal_inversion

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