#include <AH/Hardware/RegisterEncoders.hpp>
Proxy to access a single encoder of the encoders managed by RegisterEncoders.
Definition at line 195 of file RegisterEncoders.hpp.
Public Member Functions | |
EncoderPositionType | read () const |
Read the position of the encoder. | |
EncoderPositionType | readAndReset () |
Read the position of the encoder and reset it to zero. | |
void | write (EncoderPositionType pos) |
Set the position of the encoder. | |
Private Member Functions | |
Encoder (EncoderPositionStorageType *position) | |
Private Attributes | |
EncoderPositionStorageType * | position |
A pointer to the position value inside of the RegisterEncoders class. | |
|
inlineprivate |
Definition at line 202 of file RegisterEncoders.hpp.
|
inline |
Read the position of the encoder.
Definition at line 207 of file RegisterEncoders.hpp.
|
inline |
Read the position of the encoder and reset it to zero.
Definition at line 220 of file RegisterEncoders.hpp.
|
inline |
Set the position of the encoder.
Definition at line 236 of file RegisterEncoders.hpp.
|
private |
A pointer to the position value inside of the RegisterEncoders class.
Definition at line 200 of file RegisterEncoders.hpp.