#include <VPotRing.hpp>
 | 
| uint8_t  | getPosition () const | 
|   | Return the position of the V-Pot ring. [0, 11].  More...
  | 
|   | 
| bool  | getCenterLed () const | 
|   | Return the status of the center LED of the V-Pot ring.  More...
  | 
|   | 
| uint8_t  | getMode () const | 
|   | Return the mode of the V-Pot ring: 0 = single dot, 1 = boost/cut, 2 = wrap, 3 = spread.  More...
  | 
|   | 
| uint8_t  | getStartOn () const | 
|   | Get the first segment that should be on.  More...
  | 
|   | 
| uint8_t  | getStartOff () const | 
|   | Get the first segment that should be off.  More...
  | 
|   | 
 | 
| static uint8_t  | getPosition (uint8_t value) | 
|   | Extract the position from the raw value.  More...
  | 
|   | 
| static bool  | getCenterLed (uint8_t value) | 
|   | Extract the center LED state from the raw value.  More...
  | 
|   | 
| static uint8_t  | getMode (uint8_t value) | 
|   | Extract the mode from the raw value.  More...
  | 
|   | 
- Todo:
 - I'm terrible at naming things.
 
Definition at line 26 of file VPotRing.hpp.
 
◆ IVPotRing()
  
  
      
        
          | MCU::IVPotRing::IVPotRing  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protecteddefault   | 
  
 
 
◆ getPosition() [1/2]
  
  
      
        
          | uint8_t MCU::IVPotRing::getPosition  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Return the position of the V-Pot ring. [0, 11]. 
Definition at line 32 of file VPotRing.hpp.
 
 
◆ getCenterLed() [1/2]
  
  
      
        
          | bool MCU::IVPotRing::getCenterLed  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Return the status of the center LED of the V-Pot ring. 
Definition at line 34 of file VPotRing.hpp.
 
 
◆ getMode() [1/2]
  
  
      
        
          | uint8_t MCU::IVPotRing::getMode  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Return the mode of the V-Pot ring: 0 = single dot, 1 = boost/cut, 2 = wrap, 3 = spread. 
Definition at line 37 of file VPotRing.hpp.
 
 
◆ getStartOn()
  
  
      
        
          | uint8_t MCU::IVPotRing::getStartOn  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the first segment that should be on. 
Definition at line 40 of file VPotRing.hpp.
 
 
◆ getStartOff()
  
  
      
        
          | uint8_t MCU::IVPotRing::getStartOff  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the first segment that should be off. 
Definition at line 56 of file VPotRing.hpp.
 
 
◆ getValue()
  
  
      
        
          | virtual uint8_t MCU::IVPotRing::getValue  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
privatepure virtual   | 
  
 
Implemented in MCU::VPotRing_Base< NumValues, Callback >, MCU::VPotRing_Base< NumBanks, Callback >, MCU::VPotRing_Base< 1, VPotRingLEDsCallback >, MCU::VPotRing_Base< NumBanks, VPotEmptyCallback >, MCU::VPotRing_Base< 1, VPotEmptyCallback >, MCU::VPotRing_Base< 1, Callback >, and MCU::VPotRing_Base< NumBanks, VPotRingLEDsCallback >.
 
 
◆ getPosition() [2/2]
  
  
      
        
          | static uint8_t MCU::IVPotRing::getPosition  | 
          ( | 
          uint8_t  | 
          value | ) | 
           | 
         
       
   | 
  
inlinestaticprivate   | 
  
 
Extract the position from the raw value. 
Definition at line 72 of file VPotRing.hpp.
 
 
◆ getCenterLed() [2/2]
  
  
      
        
          | static bool MCU::IVPotRing::getCenterLed  | 
          ( | 
          uint8_t  | 
          value | ) | 
           | 
         
       
   | 
  
inlinestaticprivate   | 
  
 
Extract the center LED state from the raw value. 
Definition at line 77 of file VPotRing.hpp.
 
 
◆ getMode() [2/2]
  
  
      
        
          | static uint8_t MCU::IVPotRing::getMode  | 
          ( | 
          uint8_t  | 
          value | ) | 
           | 
         
       
   | 
  
inlinestaticprivate   | 
  
 
Extract the mode from the raw value. 
Definition at line 79 of file VPotRing.hpp.
 
 
The documentation for this class was generated from the following file: