Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Slide 17 Slide 18 Slide 19 Slide 20 Slide 21 Slide 22 Slide 23 Slide 24 Slide 25 Slide 26 Slide 27 Slide 28 Slide 29 Slide 30 Slide 31 Slide 32 Product List
mTouch-Slide23

To connect the SR latch output on C2OUT to the Timer1 input pin T1CKI, it is possible to use this square wave as the Timer1 clock source. Configuring the TMR1 register to increment on every positive edge of the square wave counts the number of clock pulses. However, this isn’t enough to determine the frequency of the square wave. To do this it is necessary to have a fixed period clock source to gate the 16-bit TMR1 value.

PTM Published on: 2011-10-28