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

The set-up as SETUP INTERFACES has it. More...

#include <sense_link.h>

Data Fields

bool i228
bool i3221
bool as5600
int8_t sda
int8_t scl
uint8_t i228_addr
uint16_t i228_uohm
uint16_t i228_max_da
uint8_t i3221_addr
uint16_t i3221_dmohm
uint8_t i3221_ch
uint8_t i3221_parts
 Bit a: the INA3221 at 0x40 + a is fitted (SETUP > SENSORS); the INA228 on any of them is one address.
bool i3221_unwatched
 No fitted channel watches the servo tester's target (SENSORS' FAST is none): the INA3221 is not the servo rail's meter.
bool i3221_fast_off_ch1
 FAST is CH2 or CH3 of its part: without the map the INA3221 is not the servo rail's meter then, as an IOmcu older than 4.25 reads CH1 at 1kHz whatever watches.

Detailed Description

The set-up as SETUP INTERFACES has it.

Field Documentation

◆ as5600

bool sense_setup_t::as5600

the output encoder, enabled

◆ i228_addr

uint8_t sense_setup_t::i228_addr

0x40 to 0x4F

◆ i228_max_da

uint16_t sense_setup_t::i228_max_da

the current its range is set for, 0.1A

◆ i228_uohm

uint16_t sense_setup_t::i228_uohm

shunt, uOhm

◆ i3221

bool sense_setup_t::i3221

enabled

◆ i3221_addr

uint8_t sense_setup_t::i3221_addr

0x40 to 0x43

◆ i3221_ch

uint8_t sense_setup_t::i3221_ch

bits 0..2 for CH1 to CH3

◆ i3221_dmohm

uint16_t sense_setup_t::i3221_dmohm

shunt, 0.1mOhm

◆ i3221_parts

uint8_t sense_setup_t::i3221_parts

Bit a: the INA3221 at 0x40 + a is fitted (SETUP > SENSORS); the INA228 on any of them is one address.

0: i3221_addr alone.

◆ scl

int8_t sense_setup_t::scl

IOmcu GPIO of the clock line; -1 not set

◆ sda

int8_t sense_setup_t::sda

IOmcu GPIO of the data line; -1 not set


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