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

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

Detailed Description

What the module has said, read back rather than assumed.

Field Documentation

◆ errors

uint32_t pdmini_status_t::errors

transactions that failed

◆ i_ma

uint16_t pdmini_status_t::i_ma

current at the terminals, READ_OUTPUT_DISPLAY, mA

◆ in_state

uint8_t pdmini_status_t::in_state

READ_INPUT_STATE: 5 PD, 4 QC, 6 DC, ...

◆ mode

uint8_t pdmini_status_t::mode

PDMINI_MODE_*

◆ online

bool pdmini_status_t::online

it answered WHO_AM_I and has since

◆ output

bool pdmini_status_t::output

READ_OUTPUT_STATE says the output is on

◆ sagged

bool pdmini_status_t::sagged

switched off here: the input sagged under the set point and the headroom; held off

◆ samples

uint32_t pdmini_status_t::samples

readings of the output taken

◆ set_ma

uint16_t pdmini_status_t::set_ma

the active slot's current limit, mA

◆ set_mv

uint16_t pdmini_status_t::set_mv

the active slot's set points, read back

◆ set_stuck

bool pdmini_status_t::set_stuck

the set points would not take

◆ stuck

bool pdmini_status_t::stuck

the output would not reach what was asked

◆ tripped

bool pdmini_status_t::tripped

the module switched it off; held off

◆ v_mv

uint16_t pdmini_status_t::v_mv

voltage at the terminals, READ_OUTPUT_DISPLAY, mV

◆ vin_mv

uint16_t pdmini_status_t::vin_mv

the module's input voltage, mV


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