Go to the source code of this file.
Functions | |
| hpm_mcl_stat_t | hpm_mcl_uvw_get_theta (void *encoder_base, uint8_t *last_pos, float deta_theta, float *theta) |
| Getting the angle in uvw mode. More... | |
| hpm_mcl_stat_t hpm_mcl_uvw_get_theta | ( | void * | encoder_base, |
| uint8_t * | last_pos, | ||
| float | deta_theta, | ||
| float * | theta | ||
| ) |
Getting the angle in uvw mode.
| encoder_base | HALL or QEIV2 Base |
| last_pos | Global variables with initial value zero |
| deta_theta | Angle value per call |
| theta | Current angle value |