Data Fields

state_t Struct Reference

Device state. More...

#include <xidcusb.h>

Data Fields

DevState device_state
 Device state.
PwmState pwm_state
 PWM state, PWM module drive MOSFET full brige that control current through the motor.
unsigned int flags
 Set of flags specify motor shaft movement algorithm and list of limitations.
unsigned int current_position
 Motor shaft position.
int current_rpm
 Motor shaft speed, RPM.
int current_input
 Engine current.
int current_engine_voltage
 Current average engine voltage.
int current_power_voltage
 Power supply voltage.
int current_temp
 MOSFET full brige temperature.

Detailed Description

Device state.

Useful structure that contains current controller status, including speed, position and boolean flags

See also:
get_status

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