SPRAC77E January 2022 – February 2022 TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S
This section details the Abs2Qep Library functions. For information on locating the source code and rebuilding the library, see Section 7.
Abs2Qep include file: pto_abs2qep.h
Name | Description | Type |
---|---|---|
pto_abs2eqep _setupPeriph | Setup for CLB and other interconnect XBARs is performed with this function during system initialization. This function to be called after every system reset. No transactions will be performed until the setup peripheral function is called. | Initialization time |
pto_abs2qep _translatePosition | Translates a change in absolute position into an equivalent change in incremental position. This function configures the CLB to generate: the number of QCLKs, the QCLK frequency, and the QEP-I pulse. The parameters used for the translation can be configured in the library header file. This function loads the configuration into the HLC FIFO. | Run Time |
pto_abs2qep _runPulseGen | This function will initiate the pulse generation on the interface. To be called after pto_abs2qep_translatePosition has setup the CLB HLC FIFO. Note that the setup up and start operation are separate function calls. | Run Time |