Proxy to access a single encoder of the 8 encoders managed by MCP23017Encoders. More...
#include <AH/Hardware/MCP23017Encoders.hpp>
 Collaboration diagram for MCP23017Encoders< WireType, EncoderPositionType, InterruptSafe >::MCP23017Encoder:Public Member Functions | |
| EncoderPositionType | read () const | 
| Read the position of the encoder.  More... | |
| EncoderPositionType | readAndReset () | 
| Read the position of the encoder and reset it to zero.  More... | |
| void | write (EncoderPositionType pos) | 
| Set the position of the encoder.  More... | |
Private Member Functions | |
| MCP23017Encoder (EncoderPositionStorageType *position) | |
Private Attributes | |
| EncoderPositionStorageType * | position | 
| A pointer to the position value inside of the MCP23017Encoders class.  More... | |
Proxy to access a single encoder of the 8 encoders managed by MCP23017Encoders.
Definition at line 314 of file MCP23017Encoders.hpp.
      
  | 
  inlineprivate | 
Definition at line 321 of file MCP23017Encoders.hpp.
      
  | 
  inline | 
Read the position of the encoder.
Definition at line 327 of file MCP23017Encoders.hpp.
      
  | 
  inline | 
Read the position of the encoder and reset it to zero.
Definition at line 340 of file MCP23017Encoders.hpp.
      
  | 
  inline | 
Set the position of the encoder.
Definition at line 356 of file MCP23017Encoders.hpp.
      
  | 
  private | 
A pointer to the position value inside of the MCP23017Encoders class.
Definition at line 319 of file MCP23017Encoders.hpp.