SFRs are Special Function Registers. Your CCPR1 is a SFR. I feel that you can do this without using the CCPR1 function. I recently made a knock detector program that measured and stored the time between knocks on a door, and saved them for comparison later on. Every time the sensor heard a "knock", two things would happen--one, it would stop the timer, read it, and save the value, and then it would clear it and start it, and wait for the next one. It works in much the same way as your rangefinder, only a bit slower. I did not need CCPR. I only needed to set up, start, stop, and read Timer0.