motor: Add calibration and selftest
Signed-off-by: xueyanhong <xueyanhong@xiaomi.com>
This commit is contained in:
parent
b88160084e
commit
be90b8a385
@ -50,5 +50,8 @@
|
|||||||
#define MTRIOC_SET_FAULT _MTRIOC(10)
|
#define MTRIOC_SET_FAULT _MTRIOC(10)
|
||||||
#define MTRIOC_GET_FAULT _MTRIOC(11)
|
#define MTRIOC_GET_FAULT _MTRIOC(11)
|
||||||
#define MTRIOC_PWM_OFF _MTRIOC(12)
|
#define MTRIOC_PWM_OFF _MTRIOC(12)
|
||||||
|
#define MTRIOC_CALIBRATE _MTRIOC(13)
|
||||||
|
#define MTRIOC_SELFTEST _MTRIOC(14)
|
||||||
|
#define MTRIOC_SET_CALIBDATA _MTRIOC(15)
|
||||||
|
|
||||||
#endif /* __INCLUDE_NUTTX_MOTOR_MOTOR_IOCTL_H */
|
#endif /* __INCLUDE_NUTTX_MOTOR_MOTOR_IOCTL_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user