A struct for the pins of a rotary (quadrature) encoder with a switch.  
 More...
#include <Def.hpp>
 | 
| uint8_t  | A | 
|   | The pin connected to the A pin of the encoder.  More...
  | 
|   | 
| uint8_t  | B | 
|   | The pin connected to the B pin of the encoder.  More...
  | 
|   | 
| pin_t  | switchPin = NO_PIN | 
|   | The pin connected to the switch pin of the encoder.  More...
  | 
|   | 
A struct for the pins of a rotary (quadrature) encoder with a switch. 
Definition at line 30 of file Def.hpp.
 
◆ EncoderSwitchPinList() [1/2]
  
  
      
        
          | EncoderSwitchPinList::EncoderSwitchPinList  | 
          ( | 
          uint8_t  | 
          A,  | 
         
        
           | 
           | 
          uint8_t  | 
          B,  | 
         
        
           | 
           | 
          pin_t  | 
          switchPin  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ EncoderSwitchPinList() [2/2]
  
  
      
        
          | EncoderSwitchPinList::EncoderSwitchPinList  | 
          ( | 
          uint8_t  | 
          A,  | 
         
        
           | 
           | 
          uint8_t  | 
          B  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
      
        
          | uint8_t EncoderSwitchPinList::A | 
        
      
 
The pin connected to the A pin of the encoder. 
Definition at line 37 of file Def.hpp.
 
 
      
        
          | uint8_t EncoderSwitchPinList::B | 
        
      
 
The pin connected to the B pin of the encoder. 
Definition at line 38 of file Def.hpp.
 
 
◆ switchPin
      
        
          | pin_t EncoderSwitchPinList::switchPin = NO_PIN | 
        
      
 
The pin connected to the switch pin of the encoder. 
Definition at line 39 of file Def.hpp.
 
 
The documentation for this struct was generated from the following file: