Default configuration for a generic incremental rotary encoder. More...
Default configuration for a generic incremental rotary encoder.
Definition in file inc_encoder_params.h.
Include dependency graph for inc_encoder_params.h:Go to the source code of this file.
Macros | |
| #define | INC_ENCODER_SAUL_INFO |
| SAUL info for the RPM and pulse count driver. More... | |
Variables | |
| static const inc_encoder_params_t | inc_encoder_params [] |
| Incremental rotary encoder configuration. More... | |
| static const saul_reg_info_t | inc_encoder_saul_info [][2] |
| Additional meta information to keep in the SAUL registry. More... | |
default configuration parameters for a generic incremental rotary encoder | |
| #define | CONFIG_INC_ENCODER_GEAR_RED_RATIO 204 |
| Default gear reduction ratio. | |
| #define | CONFIG_INC_ENCODER_PPR 13 |
| Default number of pulses per revolution. | |
| #define | CONFIG_INC_ENCODER_HARDWARE_PERIOD_MS 200 |
| Default period for hardware RPM calculation in milliseconds. | |
| #define | INC_ENCODER_INTERRUPT GPIO_PIN(1, 10) |
| Default pin of the first phase used to trigger the interrupt for software decoding. | |
| #define | INC_ENCODER_DIRECTION GPIO_PIN(1, 11) |
| Default pin of the second (shifted) phase used to determine the direction for software decoding. | |
| #define | INC_ENCODER_QDEC_DEV QDEC_DEV(0) |
| Default QDEC device used for hardware decoding. | |
| #define | INC_ENCODER_PARAMS |
| Default parameters. More... | |
| #define INC_ENCODER_PARAMS |
Default parameters.
Definition at line 84 of file inc_encoder_params.h.
| #define INC_ENCODER_SAUL_INFO |
SAUL info for the RPM and pulse count driver.
Definition at line 99 of file inc_encoder_params.h.
|
static |
Incremental rotary encoder configuration.
Definition at line 106 of file inc_encoder_params.h.
|
static |
Additional meta information to keep in the SAUL registry.
Definition at line 114 of file inc_encoder_params.h.