I have set this mode for %00, or A-input rise to B-input rise. When I set the X register for 1 count, the time from the first rising edge of A to the first rising edge of B, the measured time between these points on a logic analyzer, and the reported time via the Z register, match well.
When I change to X = 2 for measurement over two cycles, the measurements do not agree. Measured on a logic analyzer, the period from the first rising edge of the A input to the second rising edge of the B input comes to 1.391 sec. The hex value at the second rising edge of the B input calculates to yield 0.640 seconds.
What does this mode actually measure? What have I mixed up? --Jon