PIC18F25J11-I/PT MICROCHIP [Microchip Technology], PIC18F25J11-I/PT Datasheet - Page 204

no-image

PIC18F25J11-I/PT

Manufacturer Part Number
PIC18F25J11-I/PT
Description
28/44-Pin, Low-Power, High-Performance Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC18F46J11 FAMILY
12.8.3
When Timer1 Gate Toggle mode is enabled, it is
possible to measure the full cycle length of a Timer1
gate signal, as opposed to the duration of a single level
pulse.
The Timer1 gate source is routed through a flip-flop that
changes state on every incrementing edge of the
signal. See Figure 12-5 for timing details.
FIGURE 12-5:
DS39932C-page 204
TMR1GE
T1GPOL
T1GVAL
T1G_IN
T1GTM
Timer1
T1CKI
TIMER1 GATE TOGGLE MODE
N
TIMER1 GATE TOGGLE MODE
N + 1 N + 2 N + 3
The T1GVAL bit will indicate when the Toggled mode is
active and the timer is counting.
The Timer1 Gate Toggle mode is enabled by setting the
T1GTM bit of the T1GCON register. When the T1GTM
bit is cleared, the flip-flop is cleared and held clear. This
is necessary in order to control which edge is
measured.
N + 4
N + 5 N + 6 N + 7
© 2009 Microchip Technology Inc.
N + 8

Related parts for PIC18F25J11-I/PT