|
JMotor
|
struct for holding parameters for reading PWM Absolute Encoders More...
#include <JEncoderPWMAbsolute.h>
Public Attributes | |
| uint16_t | RESOLUTION |
| resolution of encoder data (pwm steps) | |
| uint16_t | PWM_STEPS |
| number of total clock steps in pwm output | |
| uint16_t | MIN_STEPS |
| number of steps corresponding to min angle. MAX_STEPS=MIN_STEPS+RESOLUTION | |
| bool | dataState |
| HIGH or LOW, which state when pulse length increasing=increasing angle. | |
| uint16_t | MIN_CYCLE |
| shortest time (microseconds) between falling edges that will be considered a valid encoder signal (low end of frequency range of pwm output) | |
| uint16_t | MAX_CYCLE |
| longest time (microseconds) between falling edges that will be considered a valid encoder signal (high end of frequency range of pwm output) | |
struct for holding parameters for reading PWM Absolute Encoders
| bool JEncoderPWMAbsolute::pwmSettings::dataState |
HIGH or LOW, which state when pulse length increasing=increasing angle.
| uint16_t JEncoderPWMAbsolute::pwmSettings::MAX_CYCLE |
longest time (microseconds) between falling edges that will be considered a valid encoder signal (high end of frequency range of pwm output)
| uint16_t JEncoderPWMAbsolute::pwmSettings::MIN_CYCLE |
shortest time (microseconds) between falling edges that will be considered a valid encoder signal (low end of frequency range of pwm output)
| uint16_t JEncoderPWMAbsolute::pwmSettings::MIN_STEPS |
number of steps corresponding to min angle. MAX_STEPS=MIN_STEPS+RESOLUTION
| uint16_t JEncoderPWMAbsolute::pwmSettings::PWM_STEPS |
number of total clock steps in pwm output
| uint16_t JEncoderPWMAbsolute::pwmSettings::RESOLUTION |
resolution of encoder data (pwm steps)