| 
    uMIDI
    
   The swiss army knife for quick and easy developement of MIDI applications. 
   | 
 
Configuration of an encoder. More...
#include <encoder.h>

Data Fields | |
| const struct gpio_pin * | inputA | 
| The GPIO pin that input A is connected to.  More... | |
| const struct gpio_pin * | inputB | 
| The GPIO pin that input A is connected to.  More... | |
| const struct gpio_pin * | inputSwitch | 
| enum encoder_type | type | 
| Encoder type (# of phases)  More... | |
| void(* | cw_callback )(void) | 
Callback for clockwise rotation or NULL  More... | |
| void(* | ccw_callback )(void) | 
Callback for counter-clockwise rotation or NULL  More... | |
| void(* | push_callback )(void) | 
Callback for the push button or NULL  More... | |
Configuration of an encoder.
| void(* encoder_config::ccw_callback) (void) | 
Callback for counter-clockwise rotation or NULL 
| void(* encoder_config::cw_callback) (void) | 
Callback for clockwise rotation or NULL 
| const struct gpio_pin* encoder_config::inputA | 
The GPIO pin that input A is connected to.
| const struct gpio_pin* encoder_config::inputB | 
The GPIO pin that input A is connected to.
| const struct gpio_pin* encoder_config::inputSwitch | 
The GPIO pin that the push button is connected to. Set this to NULL if your encoder does not have a momentary switch. 
| void(* encoder_config::push_callback) (void) | 
Callback for the push button or NULL 
| enum encoder_type encoder_config::type | 
Encoder type (# of phases)
 1.8.13