1234567891011 |
- #ifndef USER_ENCODE_H
- #define USER_ENCODE_H
- #define ENCODE_X20X21 0
- #define ENCODE_X22X23 1
- extern void EncoderInit(void);
- extern long GetEncodePos(int ch);
- extern void SetEncodePos(int ch,long pos);
- extern void SetEncodeGearRatio(int ch,float gearRatio);
- extern void SetEncode_enable(int ch);
- #endif
|