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;
25
}
qeiv2_Obj
;
26
31
void
qei_init
(
void
);
32
37
void
qeiv2_theta_cal
(
qeiv2_Obj
* qeiv2Hdl);
38
41
#endif
//_QEI_INIT_H
qeiv2_Obj
struct _qeiv2_Obj qeiv2_Obj
qei parameter ;qei模块计算角度/速度结构体
qei_init
void qei_init(void)
qei params init ;qei参数初始化
qeiv2_theta_cal
void qeiv2_theta_cal(qeiv2_Obj *qeiv2Hdl)
qei calculate theta/speed ;qei模块计算速度/角度
Definition:
qei_init.c:54
apps
rdc53_2.0
software
hardware_rdc
inc
qei_init.h
Generated on Thu Dec 25 2025 10:02:20 for HPM APP by
1.9.1