libximc  2.14.27
Data Fields
analog_data_t Struct Reference

Analog data. More...

Data Fields

unsigned int A1Voltage_ADC
 "Voltage on pin 1 winding A" raw data from ADC.
unsigned int A2Voltage_ADC
 "Voltage on pin 2 winding A" raw data from ADC.
unsigned int B1Voltage_ADC
 "Voltage on pin 1 winding B" raw data from ADC.
unsigned int B2Voltage_ADC
 "Voltage on pin 2 winding B" raw data from ADC.
unsigned int SupVoltage_ADC
 "Supply voltage of H-bridge's MOSFETs" raw data from ADC.
unsigned int ACurrent_ADC
 "Winding A current" raw data from ADC.
unsigned int BCurrent_ADC
 "Winding B current" raw data from ADC.
unsigned int FullCurrent_ADC
 "Full current" raw data from ADC.
unsigned int Temp_ADC
 Voltage from temperature sensor, raw data from ADC.
unsigned int Joy_ADC
 Joystick raw data from ADC.
unsigned int Pot_ADC
 Voltage on analog input, raw data from ADC.
unsigned int L5_ADC
 USB supply voltage after the current sense resistor, raw data from ADC.
unsigned int H5_ADC
 USB Power supply from ADC.
int A1Voltage
 "Voltage on pin 1 winding A" calibrated data (in tens of mV).
int A2Voltage
 "Voltage on pin 2 winding A" calibrated data (in tens of mV).
int B1Voltage
 "Voltage on pin 1 winding B" calibrated data (in tens of mV).
int B2Voltage
 "Voltage on pin 2 winding B" calibrated data (in tens of mV).
int SupVoltage
 "Supply voltage on the top of H-bridge's MOSFETs" calibrated data (in tens of mV).
int ACurrent
 "Winding A current" calibrated data (in mA).
int BCurrent
 "Winding B current" calibrated data (in mA).
int FullCurrent
 "Full current" calibrated data (in mA).
int Temp
 Temperature, calibrated data (in tenths of degrees Celsius).
int Joy
 Joystick, calibrated data.
int Pot
 Analog input, calibrated data.
int L5
 USB supply voltage after the current sense resistor (in tens of mV).
int H5
 USB power supply (in tens of mV).
unsigned int deprecated
int R
 Motor winding resistance in mOhms (is only used with stepper motors).
int L
 Motor winding pseudo inductance in uH (is only used with stepper motors).

Detailed Description

Analog data.

This structure contains raw analog data from the embedded ADC. These data are used for device testing and deep recalibration by the manufacturer only.

See Also
get_analog_data
get_analog_data

Field Documentation

int A1Voltage

"Voltage on pin 1 winding A" calibrated data (in tens of mV).

unsigned int A1Voltage_ADC

"Voltage on pin 1 winding A" raw data from ADC.

int A2Voltage

"Voltage on pin 2 winding A" calibrated data (in tens of mV).

unsigned int A2Voltage_ADC

"Voltage on pin 2 winding A" raw data from ADC.

int ACurrent

"Winding A current" calibrated data (in mA).

unsigned int ACurrent_ADC

"Winding A current" raw data from ADC.

int B1Voltage

"Voltage on pin 1 winding B" calibrated data (in tens of mV).

unsigned int B1Voltage_ADC

"Voltage on pin 1 winding B" raw data from ADC.

int B2Voltage

"Voltage on pin 2 winding B" calibrated data (in tens of mV).

unsigned int B2Voltage_ADC

"Voltage on pin 2 winding B" raw data from ADC.

int BCurrent

"Winding B current" calibrated data (in mA).

unsigned int BCurrent_ADC

"Winding B current" raw data from ADC.

int FullCurrent

"Full current" calibrated data (in mA).

unsigned int FullCurrent_ADC

"Full current" raw data from ADC.

int H5

USB power supply (in tens of mV).

int Joy

Joystick, calibrated data.

Range: 0..10000

unsigned int Joy_ADC

Joystick raw data from ADC.

int L

Motor winding pseudo inductance in uH (is only used with stepper motors).

int L5

USB supply voltage after the current sense resistor (in tens of mV).

unsigned int L5_ADC

USB supply voltage after the current sense resistor, raw data from ADC.

int Pot

Analog input, calibrated data.

Range: 0..10000

int R

Motor winding resistance in mOhms (is only used with stepper motors).

int SupVoltage

"Supply voltage on the top of H-bridge's MOSFETs" calibrated data (in tens of mV).

unsigned int SupVoltage_ADC

"Supply voltage of H-bridge's MOSFETs" raw data from ADC.

int Temp

Temperature, calibrated data (in tenths of degrees Celsius).

unsigned int Temp_ADC

Voltage from temperature sensor, raw data from ADC.