|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
What the module has said, read back rather than assumed. More...
#include <pdmini.h>
Data Fields | |
| bool | online |
| bool | output |
| uint8_t | mode |
| uint16_t | v_mv |
| uint16_t | i_ma |
| uint16_t | set_mv |
| uint16_t | set_ma |
| uint8_t | in_state |
| uint16_t | vin_mv |
| bool | stuck |
| bool | set_stuck |
| bool | tripped |
| bool | sagged |
| uint32_t | samples |
| uint32_t | errors |
What the module has said, read back rather than assumed.
| uint32_t pdmini_status_t::errors |
transactions that failed
| uint16_t pdmini_status_t::i_ma |
current at the terminals, READ_OUTPUT_DISPLAY, mA
| uint8_t pdmini_status_t::in_state |
READ_INPUT_STATE: 5 PD, 4 QC, 6 DC, ...
| uint8_t pdmini_status_t::mode |
PDMINI_MODE_*
| bool pdmini_status_t::online |
it answered WHO_AM_I and has since
| bool pdmini_status_t::output |
READ_OUTPUT_STATE says the output is on
| bool pdmini_status_t::sagged |
switched off here: the input sagged under the set point and the headroom; held off
| uint32_t pdmini_status_t::samples |
readings of the output taken
| uint16_t pdmini_status_t::set_ma |
the active slot's current limit, mA
| uint16_t pdmini_status_t::set_mv |
the active slot's set points, read back
| bool pdmini_status_t::set_stuck |
the set points would not take
| bool pdmini_status_t::stuck |
the output would not reach what was asked
| bool pdmini_status_t::tripped |
the module switched it off; held off
| uint16_t pdmini_status_t::v_mv |
voltage at the terminals, READ_OUTPUT_DISPLAY, mV
| uint16_t pdmini_status_t::vin_mv |
the module's input voltage, mV