Control Surface master
MIDI Control Surface library for Arduino
Classes | Macros
Encoder.h File Reference
#include <AH/Arduino-Wrapper.h>
#include <Settings/NamespaceSettings.hpp>
#include "utility/direct_pin_read.h"
#include "utility/move.h"
#include "utility/interrupt_pins.h"
#include "Encoder.ipp"
+ Include dependency graph for Encoder.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  Encoder_internal_state_t
 All the data needed by interrupts is consolidated into this ugly struct to facilitate assembly language optimizing of the speed critical update. More...
class  Encoder
 Class for reading quadrature encoders, based on More...



Class Documentation

◆ Encoder_internal_state_t

struct Encoder_internal_state_t
+ Collaboration diagram for Encoder_internal_state_t:
Class Members
volatile IO_REG_TYPE * pin1_register
volatile IO_REG_TYPE * pin2_register
IO_REG_TYPE pin1_bitmask
IO_REG_TYPE pin2_bitmask
uint8_t state
int32_t position

Macro Definition Documentation



Definition at line 42 of file Encoder.h.