SPRAC77E January 2022 – February 2022 TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S
Description
This function is a helper function that initializes the CLB peripheral to simulate a QEP decoder. This function is used in the pto_qeponclb_setupPeriph function as a part of the CLBQEP system initialization.
Definition
void pto_qeponclb_initCLBQEP(uint32_t maxPosition);
Parameters
Input:
Return: none
Usage
Example code:
uint32_t max_position;
max_position = 500;
pto_qeponclb_initCLBQEP(max_position);