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

What a pass decided. More...

#include <safety_gate.h>

Data Fields

bool off
 The heartbeat stopped being trusted or the link went silent in this pass: the outputs come down now.
bool arm
 Whether the bank is armed for this pass.
uint16_t roles
 The roles armed for this pass, LINK_ARM_ROLES bits: link_arm_roles() of ARM while arm is true, else 0.

Detailed Description

What a pass decided.

Field Documentation

◆ off

bool safety_gate_t::off

The heartbeat stopped being trusted or the link went silent in this pass: the outputs come down now.

True on the edge only.

◆ roles

uint16_t safety_gate_t::roles

The roles armed for this pass, LINK_ARM_ROLES bits: link_arm_roles() of ARM while arm is true, else 0.

An output of a role outside it carries no pulse.


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