libximc  2.13.1
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
 "Voltage on the top of MOSFET full bridge" 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, from ADC.
unsigned int H5_ADC
 Power supply USB 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
 "Voltage on the top of MOSFET full bridge" 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 Celcius).
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
 Power supply USB (in tens of mV).
unsigned int deprecated
int R
 Motor winding resistance in mOhms(is only used with stepper motor).
int L
 Motor winding pseudo inductance in uHn(is only used with stepper motor).

Detailed Description

Analog data.

This structure contains raw analog data from ADC embedded on board. These data used for device testing and deep recalibraton by 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

Power supply USB (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 uHn(is only used with stepper motor).

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, from ADC.

int Pot

Analog input, calibrated data.

Range: 0..10000

int R

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

int SupVoltage

"Voltage on the top of MOSFET full bridge" calibrated data (in tens of mV).

unsigned int SupVoltage_ADC

"Voltage on the top of MOSFET full bridge" raw data from ADC.

int Temp

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

unsigned int Temp_ADC

Voltage from temperature sensor, raw data from ADC.