#include <AH/Hardware/RegisterEncoders.hpp>
Proxy to access a single encoder of the encoders managed by RegisterEncoders.
Definition at line 201 of file RegisterEncoders.hpp.
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 | |
Encoder (EncoderPositionStorageType *position) | |
Private Attributes | |
EncoderPositionStorageType * | position |
A pointer to the position value inside of the RegisterEncoders class. More... | |
|
inlineprivate |
Definition at line 208 of file RegisterEncoders.hpp.
|
inline |
Read the position of the encoder.
Definition at line 213 of file RegisterEncoders.hpp.
|
inline |
Read the position of the encoder and reset it to zero.
Definition at line 226 of file RegisterEncoders.hpp.
|
inline |
Set the position of the encoder.
Definition at line 242 of file RegisterEncoders.hpp.
|
private |
A pointer to the position value inside of the RegisterEncoders class.
Definition at line 206 of file RegisterEncoders.hpp.