HPM APP
HPMicro Application solution
qei_init.h
Go to the documentation of this file.
1 #ifndef _QEI_INIT_H
2 #define _QEI_INIT_H
3 
4 #include "board.h"
5 
17 typedef struct _qeiv2_Obj
18 {
19  float ele_angle;
20  int32_t z;
21  int32_t ph;
22  uint32_t get_pos;
23  float speed;
24  uint32_t angle;
26 
31 void qei_init(void);
32 
37 void qeiv2_theta_cal(qeiv2_Obj* qeiv2Hdl);
38 
41 #endif //_QEI_INIT_H
struct _qeiv2_Obj qeiv2_Obj
qei parameter ;qei模块计算角度/速度结构体
void qei_init(void)
qei params init ;qei参数初始化
void qeiv2_theta_cal(qeiv2_Obj *qeiv2Hdl)
qei calculate theta/speed ;qei模块计算速度/角度
Definition: qei_init.c:54