SPRAC77E January 2022 – February 2022 TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S
Description
Function called during runtime to start a new PTO. This function checks that the previous PTO has completed before starting a new PTO.
Definition
void
pto_abs2qep_runPulseGen(
uint16_t ptoDirection
);
Parameters
Input:
Return: none
Usage
// Call to sample a new absolute position
....
// Translate change from previous position to PTO configuration
ptoDirection = pto_abs2qep_translatePosition(absolutePosition);
....
// Start the last configuration
pto_abs2qep_runPulseGen(ptoDirection);