Function rc_encoder_eqep_cleanup#

Function Documentation#

int rc_encoder_eqep_cleanup(void)#

Stops the eQEP encoder counters and closes file descriptors. This is not strictly necessary but is recommended that the user calls this function at the end of their program.

Returns:

0 on success or -1 on failure.