To capture the time of the events, configure the timer's CCRs in capture mode, and connect the output pin and the input signal to some pins that can be used as a timer inputs (P1.1 or P1.5 for CCR0, P1.2 or P1.6 for CCR1).
↧