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

The state of one channel of the bank. More...

#include <outputs.h>

Data Fields

out_role_t role
uint16_t command
uint16_t actual
uint16_t rest
uint16_t slew_per_s
uint16_t slew_rem
uint16_t min_us
uint16_t max_us
uint32_t last_command_ms

Detailed Description

The state of one channel of the bank.

Field Documentation

◆ actual

uint16_t out_channel_t::actual

what the slew has reached

◆ command

uint16_t out_channel_t::command

asked for, 0..OUT_SPAN

◆ last_command_ms

uint32_t out_channel_t::last_command_ms

time of the last command, in ms

◆ max_us

uint16_t out_channel_t::max_us

and OUT_SPAN

◆ min_us

uint16_t out_channel_t::min_us

what a pulse driver renders 0 as

◆ rest

uint16_t out_channel_t::rest

where it goes when it is not driving

◆ role

out_role_t out_channel_t::role

throttle or surface

◆ slew_per_s

uint16_t out_channel_t::slew_per_s

span units per second; 0 is immediate

◆ slew_rem

uint16_t out_channel_t::slew_rem

thousandths carried between steps


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