Hi Artem.
You can use the TimerUnit_LDD and configure some of its channels for capture mode.
Please see below picture for example. You can find more information in the help of the TimerUnit_LDD component.

Hope this helps!
Best Regards,
Zhang Jun
====================================
this answer is for you, if it helps, please click on "Correct Answer" button, thanks!