English
Language : 

PIC18F44J50-I Datasheet, PDF (220/562 Pages) Microchip Technology – 28/44-Pin, Low-Power, High-Performance USB Microcontrollers
PIC18F46J50 FAMILY
FIGURE 15-5:
TMR3GE
T3GPOL
T3GSPM
T3GTM
T3GGO/
T3DONE
T3G_IN
TIMER3 GATE SINGLE PULSE AND TOGGLE COMBINED MODE
Set by Software
Counting Enabled on
Rising Edge of T3G
Cleared by Hardware on
Falling Edge of T3GVAL
T1CKI
T3GVAL
Timer3
TMR3GIF
N
Cleared by Software
N+1
N+2
N+3
Set by Hardware on
Falling Edge of T3GVAL
N+4
Cleared by
Software
15.5.5 TIMER3 GATE VALUE STATUS
When Timer3 gate value status is utilized, it is possible
to read the most current level of the gate control value.
The value is stored in the T3GVAL bit in the T3GCON
register. The T3GVAL bit is valid even when the Timer3
gate is not enabled (TMR3GE bit is cleared).
15.5.6 TIMER3 GATE EVENT INTERRUPT
When the Timer3 gate event interrupt is enabled, it is
possible to generate an interrupt upon the completion
of a gate event. When the falling edge of T3GVAL
occurs, the TMR3GIF flag bit in the PIR3 register will be
set. If the TMR3GIE bit in the PIE3 register is set, then
an interrupt will be recognized.
The TMR3GIF flag bit operates even when the Timer3
gate is not enabled (TMR3GE bit is cleared).
DS39931D-page 220
 2011 Microchip Technology Inc.