SPRAC77E January 2022 – February 2022 TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S
Description
This function configures the divider. The divider value cannot be changed dynamically. Users must reset the module using pto_qepdiv_reset before reconfiguring the functionality.
Definition
pto_qepdiv_config(uint16_t divider, uint16_t indexWidth);
Parameters
Input:
Return:
Usage
Example code:
retval1 = pto_qepdiv_config(4, 10);
pto_qepdiv_startOperation(1);