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

What can be bound, as an operator names it. More...

#include <out_bind.h>

Data Fields

const char * name
out_driver_t driver
uint16_t rate
uint8_t max_pins
uint8_t channels
out_role_t role
 What the channels this entry renders are for.

Detailed Description

What can be bound, as an operator names it.

Rate is not offered separately. DShot600 and DShot300 are different entries because they are different things to choose between, not one thing with a number attached; the same goes for the bidirectional pair.

Field Documentation

◆ channels

uint8_t outbind_proto_t::channels

channels one pin of it renders

◆ driver

out_driver_t outbind_proto_t::driver

the driver that renders the pins

◆ max_pins

uint8_t outbind_proto_t::max_pins

PPM is one pin by definition

◆ name

const char* outbind_proto_t::name

label the operator sees

◆ rate

uint16_t outbind_proto_t::rate

Hz for a pulse driver, kbit/s for DShot

◆ role

out_role_t outbind_proto_t::role

What the channels this entry renders are for.

Carried by the entry rather than derived from the driver: a pulse at 50Hz is a servo on one pin and an ESC (electronic speed controller) on the next, and the two rest in different places – centred at 1500us, or stopped at the low end. The driver cannot tell them apart, so the operator does, by choosing the entry.


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