JMotor
Loading...
Searching...
No Matches
Public Attributes | List of all members
JEncoderPWMAbsolute::pwmSettings Struct Reference

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)
 

Detailed Description

struct for holding parameters for reading PWM Absolute Encoders

Member Data Documentation

◆ dataState

bool JEncoderPWMAbsolute::pwmSettings::dataState

HIGH or LOW, which state when pulse length increasing=increasing angle.

◆ MAX_CYCLE

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)

◆ MIN_CYCLE

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)

◆ MIN_STEPS

uint16_t JEncoderPWMAbsolute::pwmSettings::MIN_STEPS

number of steps corresponding to min angle. MAX_STEPS=MIN_STEPS+RESOLUTION

◆ PWM_STEPS

uint16_t JEncoderPWMAbsolute::pwmSettings::PWM_STEPS

number of total clock steps in pwm output

◆ RESOLUTION

uint16_t JEncoderPWMAbsolute::pwmSettings::RESOLUTION

resolution of encoder data (pwm steps)


The documentation for this struct was generated from the following file: