This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_encoder_eqep_write

Function Documentation

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 set an arbitrary position if desired.

  • ch[in] channel 1-3

  • pos[in] The new position


0 on success, -1 on failure