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

The SUPPLY page state: registers, and the wiring change in hand. More...

#include <supply_page.h>

Data Fields

uint16_t regs [LINK_SP_COUNT]
bool commanded
bool answered
uint8_t wire
bool wire_ask
bool wire_refused
uint16_t wire_next [4]
bool reset_owed
uint8_t scan
uint16_t scan_seen
bool held
bool frame_out
bool was_on
bool off_wait
uint32_t now_ms
uint32_t off_t0

Detailed Description

The SUPPLY page state: registers, and the wiring change in hand.

Field Documentation

◆ answered

bool supply_page_t::answered

the driver's module has answered once

◆ commanded

bool supply_page_t::commanded

set points written since init

◆ frame_out

bool supply_page_t::frame_out

the port has a frame on the wire

◆ held

bool supply_page_t::held

a programming port holds the command

◆ now_ms

uint32_t supply_page_t::now_ms

◆ off_t0

uint32_t supply_page_t::off_t0

when the waiting OFF was asked

◆ off_wait

bool supply_page_t::off_wait

an OFF waits for the frame's end

◆ regs

uint16_t supply_page_t::regs[LINK_SP_COUNT]

the page's registers, LINK_SP_*

◆ reset_owed

bool supply_page_t::reset_owed

RESET written, not yet passed on

◆ scan

uint8_t supply_page_t::scan

the rate being tried under AUTO, 0..6

◆ scan_seen

uint16_t supply_page_t::scan_seen

the driver's who_failed when last looked

◆ was_on

bool supply_page_t::was_on

OUTPUT was 1 at the last step

◆ wire

uint8_t supply_page_t::wire

◆ wire_ask

bool supply_page_t::wire_ask

the state read not yet asked of the driver

◆ wire_next

uint16_t supply_page_t::wire_next[4]

the change waiting, ENABLE to BAUD

◆ wire_refused

bool supply_page_t::wire_refused

the last change waited and was refused


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