Distance measurement

https://translate.google.com/translate?hl=en&sl=auto&tl=en&u=http%3A%2F%2Frefleader.ru%2Fjgebewrnarnajge.html

This link is arduino uno and TDC GP 22 for lidar imaging application . I want to use the code for finding the distance up to 5mts what should i modify in order to write and read the register configuration and calibration measurements