rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
hitec_param_info_t Struct Reference

One row of the parameter table. More...

#include <hitec_reg.h>

Data Fields

uint8_t id
uint8_t layouts
uint8_t addr
uint8_t addr2
uint8_t size
uint8_t enc
uint8_t unit
uint8_t access
uint8_t src
uint8_t step
int32_t min
int32_t max

Detailed Description

One row of the parameter table.

A parameter whose cells or encoding differ between layouts has one row per layout. min, max and step are the limits of an edit in the row's unit; FS_US also takes HITEC_FS_LIMP and HITEC_FS_OFF.

Field Documentation

◆ access

uint8_t hitec_param_info_t::access

◆ addr

uint8_t hitec_param_info_t::addr

register or first cell

◆ addr2

uint8_t hitec_param_info_t::addr2

second register or cell, HITEC_ADDR_NONE

◆ enc

uint8_t hitec_param_info_t::enc

encoding, private to hitec_reg.c

◆ id

uint8_t hitec_param_info_t::id

◆ layouts

uint8_t hitec_param_info_t::layouts

HITEC_LAYOUT_BIT() of every layout the row is for

◆ max

int32_t hitec_param_info_t::max

largest value of an edit

◆ min

int32_t hitec_param_info_t::min

smallest value of an edit

◆ size

uint8_t hitec_param_info_t::size

bytes from addr: classic 1 to 16, D 2

◆ src

uint8_t hitec_param_info_t::src

hitec_src_t of the encoding

◆ step

uint8_t hitec_param_info_t::step

step of an edit; 0 for read only

◆ unit

uint8_t hitec_param_info_t::unit

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