Macros | Functions
d_quadEnc.h File Reference
This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

◆ QE_LEFT_WHEEL

#define QE_LEFT_WHEEL   0

Definition at line 17 of file d_quadEnc.h.

◆ QE_RIGHT_WHEEL

#define QE_RIGHT_WHEEL   1

Definition at line 18 of file d_quadEnc.h.

Function Documentation

◆ quadEncInit()

void quadEncInit ( void  )

Initialize quadrature encoder driver.

Definition at line 150 of file d_quadEnc.c.

◆ quadEncReadPositionAll()

void quadEncReadPositionAll ( int *  pos0,
bool dir0,
int *  pos1,
bool dir1 
)

Reads the current position of the encoders.

Definition at line 181 of file d_quadEnc.c.

◆ quadEncReadSpeedAll()

void quadEncReadSpeedAll ( uint32_t *  speed0,
uint32_t *  speed1 
)

Definition at line 198 of file d_quadEnc.c.

◆ test_quad_encoders()

void test_quad_encoders ( void  )

Definition at line 217 of file d_quadEnc.c.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:59