TMS320F28335 Library  1.0
Documentation
eqep.h
Go to the documentation of this file.
1 
5 #include "global_defines.h"
6 #include "math.h"
7 
8 #ifndef EQEP_EQEP_H_
9 #define EQEP_EQEP_H_
10 
13 typedef struct _eQEPInterface{
18 
22 
23 #endif /* EQEP_EQEP_H_ */
_eQEPInterface::QEPB
Uint16 QEPB
QEPB GPIO (21/25)
Definition: eqep.h:15
int16
int int16
16 Bit Variable: - 32.768 .. 32.767
Definition: global_defines.h:17
init_eQEP
int16 init_eQEP(eQEPInterface)
Initialization of eQEPInterface.
Definition: eqep.c:33
_eQEPInterface::lines_of_encoder
Uint16 lines_of_encoder
Lines of applied encoder. See Data sheet of applied motor / encoder. 4 edges are sent on QEPA and QEP...
Definition: eqep.h:16
eQEPInterface
struct _eQEPInterface eQEPInterface
eQEP Interface: Assign GPIOs to TMC_BASE_EQEP1 or TMC_BASE_EQEP2.
_eQEPInterface
eQEP Interface: Assign GPIOs to TMC_BASE_EQEP1 or TMC_BASE_EQEP2.
Definition: eqep.h:13
global_defines.h
Header file for global defines.
eQEP_getDirection
int16 eQEP_getDirection(eQEPInterface)
Get direction of rotary machine applied to eQEPInterface.
Definition: eqep.c:110
Uint16
unsigned int Uint16
16 Bit Variable: 0 .. 65.535
Definition: global_defines.h:21
_eQEPInterface::QEPA
Uint16 QEPA
QEPA GPIO (20/24)
Definition: eqep.h:14
eQEP_getRpm
int16 eQEP_getRpm(eQEPInterface)
Get rpm of rotary machine applied to eQEPInterface.
Definition: eqep.c:131