#include "qep.h"
#include "cpu.h"
Go to the source code of this file.
Functions | |
void | InitQEP1 (void(*interruptFCN)(void), Uint16 qep_us, Uint16 lines, Uint16 polePairs) |
void | InitQEP2 (void(*interruptFCN)(void), Uint16 qep_us, Uint16 lines, Uint16 polePairs) |
void | InitEQep1Gpio (void) |
Init GPIO ports as needed for encoder connection QEP1 (GPIO20, GPIO21, GPIO23). | |
void | InitEQep2Gpio (void) |
Init GPIO ports as needed for encoder connection QEP2 (GPIO24, GPIO25, GPIO26). | |
Variables | |
struct QEP | qep1 |
struct QEP | qep2 |
void InitEQep1Gpio | ( | void | ) |
Init GPIO ports as needed for encoder connection QEP1 (GPIO20, GPIO21, GPIO23).
Definition at line 151 of file Copia de qep.c.
void InitEQep2Gpio | ( | void | ) |
Init GPIO ports as needed for encoder connection QEP2 (GPIO24, GPIO25, GPIO26).
Definition at line 189 of file Copia de qep.c.
void InitQEP1 | ( | void(*)(void) | interruptFCN, | |
Uint16 | qep_us, | |||
Uint16 | lines, | |||
Uint16 | polePairs | |||
) |
Definition at line 47 of file Copia de qep.c.
void InitQEP2 | ( | void(*)(void) | interruptFCN, | |
Uint16 | qep_us, | |||
Uint16 | lines, | |||
Uint16 | polePairs | |||
) |
Definition at line 99 of file Copia de qep.c.
Definition at line 32 of file Copia de qep.c.
Definition at line 33 of file Copia de qep.c.