|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The state of a bank of channels and slots. More...
#include <outputs.h>
Data Fields | |
| out_channel_t | channel [OUT_MAX_CHANNELS] |
| out_slot_t | slot [OUT_MAX_SLOTS] |
| bool | armed |
| uint8_t | roles |
| uint32_t | timeout_ms |
| uint32_t | last_step_ms |
| uint64_t | reserved |
The state of a bank of channels and slots.
| bool outputs_t::armed |
whether the bank is armed
| out_channel_t outputs_t::channel[OUT_MAX_CHANNELS] |
per-channel state
| uint32_t outputs_t::last_step_ms |
time of the last outputs_step()
| uint64_t outputs_t::reserved |
pins this build will not drive
| uint8_t outputs_t::roles |
what an arm covers, OUT_ROLE_BIT()s
| out_slot_t outputs_t::slot[OUT_MAX_SLOTS] |
per-slot configuration
| uint32_t outputs_t::timeout_ms |
silence after which a channel rests