SPRAC77E January 2022 – February 2022 TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S
Description
This function sets up the CLB and other interconnect XBARs during system initialization to allow for using the CLBQEP peripheral. This function needs to be called after every system reset. No QEP decoding can be done until the setup peripheral function is called.
Definition
void pto_qeponclb_setupPeriph(uint32_t maxPosition);
Parameters
Input:
Return: none
Usage
Example code:
uint32_t max_position;
max_position = 500;
pto_qeponclb_setupPeriph(max_position);