AM620-Q1: Can AC21 pin be used to measure the number and duration of pulses?

Part Number: AM620-Q1

Tool/software:

hi,Team

    We need to use one IO port to measure the number of high-frequency pulses(pulse high-level time > 7ns) and the high-level duration of the high-frequency pulses within a specified time.

Is it possible to implement this function by configuring AC21 io as EQEP_A (AM62x, ALW Package) and using the corresponding API of EQEP?