20 #ifndef RC_ENCODER_EQEP_H 21 #define RC_ENCODER_EQEP_H 77 #endif // RC_ENCODER_EQEP_H int rc_encoder_eqep_read(int ch)
Reads the current position of an encoder channel.
int rc_encoder_eqep_write(int ch, int pos)
Sets the current position of an eQEP encoder channel. Usually for resetting a counter to 0 but can se...
int rc_encoder_eqep_cleanup(void)
Stops the eQEP encoder counters and closes file descriptors. This is not strictly necessary but is re...
int rc_encoder_eqep_init(void)
Initializes the eQEP encoder counters for channels 1-3.