|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
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. | |
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.
| uint8_t outbind_proto_t::channels |
channels one pin of it renders
| out_driver_t outbind_proto_t::driver |
the driver that renders the pins
| uint8_t outbind_proto_t::max_pins |
PPM is one pin by definition
| const char* outbind_proto_t::name |
label the operator sees
| uint16_t outbind_proto_t::rate |
Hz for a pulse driver, kbit/s for DShot
| 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.