|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
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. | |
The set-up as SETUP INTERFACES has it.
| bool sense_setup_t::as5600 |
the output encoder, enabled
| uint8_t sense_setup_t::i228_addr |
0x40 to 0x4F
| uint16_t sense_setup_t::i228_max_da |
the current its range is set for, 0.1A
| uint16_t sense_setup_t::i228_uohm |
shunt, uOhm
| bool sense_setup_t::i3221 |
enabled
| uint8_t sense_setup_t::i3221_addr |
0x40 to 0x43
| uint8_t sense_setup_t::i3221_ch |
bits 0..2 for CH1 to CH3
| uint16_t sense_setup_t::i3221_dmohm |
shunt, 0.1mOhm
| 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.
| int8_t sense_setup_t::scl |
IOmcu GPIO of the clock line; -1 not set
| int8_t sense_setup_t::sda |
IOmcu GPIO of the data line; -1 not set