#ifndef _MANUAL_ENCODER_H_
#define _MANUAL_ENCODER_H_

#include "common.h"

typedef struct 
{
	char Enabled;
	char PulseEnabled;
	char ControlMotorIndex;
	unsigned short CurrentEncoderVal;
	short SubRemainder;
	short FeedRate;	
	char StepMotorPlusDir[MAX_STEP_MOTOR_COUNT];
	char StepMotorMinusDir[MAX_STEP_MOTOR_COUNT];
	int CurrentAbsPosition[MAX_STEP_MOTOR_COUNT];
} TManualEncoderInfo;

extern TManualEncoderInfo ManualEncoderInfo;

#endif

