Encoder Configuration.
More...
#include <hpm_mcl_encoder.h>
◆ cal_speed_pll_cfg
◆ callback
◆ communication_interval_us
| uint64_t mcl_encoer_cfg_t::communication_interval_us |
The communication interval of the communicating encoder ensures that an angle reading can be completed within the interval. Optical encoders can be read at any time, given as zero.
◆ disable_start_sample_interrupt
| uint8_t mcl_encoer_cfg_t::disable_start_sample_interrupt |
◆ period_call_time_s
| float mcl_encoer_cfg_t::period_call_time_s |
The time of the cycle call, the handler function should be called periodically, in s.
◆ precision
| uint32_t mcl_encoer_cfg_t::precision |
Sensor accuracy, various encoders converted to number of lines. The maximum number of angular changes that can occur per revolution of the motor.
◆ speed_abs_switch_m_t
| float mcl_encoer_cfg_t::speed_abs_switch_m_t |
Use the m_t method to set the validity, the speed is greater than the set speed, use the m method, the speed is less than the set speed t use the t method to calculate the speed.
◆ speed_cal_method
◆ timeout_s
| float mcl_encoer_cfg_t::timeout_s |
Timeout time, after this time angle is not updated, the speed will be cleared to zero.
The documentation for this struct was generated from the following file: