Go to the source code of this file.
Macros | |
#define | QE_LEFT_WHEEL 0 |
#define | QE_RIGHT_WHEEL 1 |
Functions | |
void | quadEncInit (void) |
Initialize quadrature encoder driver. More... | |
void | quadEncReadPositionAll (int *pos0, bool *dir0, int *pos1, bool *dir1) |
Reads the current position of the encoders. More... | |
void | quadEncReadSpeedAll (uint32_t *speed0, uint32_t *speed1) |
void | test_quad_encoders (void) |
#define QE_LEFT_WHEEL 0 |
Definition at line 17 of file d_quadEnc.h.
#define QE_RIGHT_WHEEL 1 |
Definition at line 18 of file d_quadEnc.h.
void quadEncInit | ( | void | ) |
Initialize quadrature encoder driver.
Definition at line 150 of file d_quadEnc.c.
Reads the current position of the encoders.
Definition at line 181 of file d_quadEnc.c.
void quadEncReadSpeedAll | ( | uint32_t * | speed0, |
uint32_t * | speed1 | ||
) |
Definition at line 198 of file d_quadEnc.c.
void test_quad_encoders | ( | void | ) |
Definition at line 217 of file d_quadEnc.c.