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

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

Detailed Description

The state of a bank of channels and slots.

Field Documentation

◆ armed

bool outputs_t::armed

whether the bank is armed

◆ channel

out_channel_t outputs_t::channel[OUT_MAX_CHANNELS]

per-channel state

◆ last_step_ms

uint32_t outputs_t::last_step_ms

time of the last outputs_step()

◆ reserved

uint64_t outputs_t::reserved

pins this build will not drive

◆ roles

uint8_t outputs_t::roles

what an arm covers, OUT_ROLE_BIT()s

◆ slot

out_slot_t outputs_t::slot[OUT_MAX_SLOTS]

per-slot configuration

◆ timeout_ms

uint32_t outputs_t::timeout_ms

silence after which a channel rests


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