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

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
14.1
The Timer3 Gate Control register (T3GCON), provided
in Register 14-2, is used to control the Timer3 gate.
REGISTER 14-2:
DS39932C-page 210
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1-0
Note 1:
TMR3GE
R/W-0
Timer3 Gate Control Register
Programming the T3GCON prior to T3CON is recommended.
TMR3GE: Timer3 Gate Enable bit
If TMR3ON = 0:
This bit is ignored.
If TMR3ON = 1:
1 = Timer3 counting is controlled by the Timer3 gate function
0 = Timer3 counts regardless of Timer3 gate function
T3GPOL: Timer3 Gate Polarity bit
1 = Timer3 gate is active-high (Timer3 counts when gate is high)
0 = Timer3 gate is active-low (Timer3 counts when gate is low)
T3GTM: Timer3 Gate Toggle Mode bit
1 = Timer3 Gate Toggle mode is enabled
0 = Timer3 Gate Toggle mode is disabled and toggle flip-flop is cleared
Timer3 gate flip-flop toggles on every rising edge.
T3GSPM: Timer3 Gate Single Pulse Mode bit
1 = Timer3 Gate Single Pulse mode is enabled and is controlling Timer3 gate
0 = Timer3 Gate Single Pulse mode is disabled
T3GGO/T3DONE: Timer3 Gate Single Pulse Acquisition Status bit
1 = Timer3 gate single pulse acquisition is ready, waiting for an edge
0 = Timer3 gate single pulse acquisition has completed or has not been started
This bit is automatically cleared when T3GSPM is cleared.
T3GVAL: Timer3 Gate Current State bit
Indicates the current state of the Timer3 gate that could be provided to TMR3H:TMR3L. Unaffected by
Timer3 Gate Enable bit (TMR3GE).
T3GSS<1:0>: Timer3 Gate Source Select bits
10 = TMR2 to match PR2 output
01 = Timer0 overflow output
00 = Timer3 gate pin (T3G)
T3GPOL
R/W-0
T3GCON: TIMER3 GATE CONTROL REGISTER (ACCESS F97h)
W = Writable bit
‘1’ = Bit is set
T3GTM
R/W-0
T3GSPM
R/W-0
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
T3GGO/T3DONE
R/W-0
T3GVAL
R-x
© 2009 Microchip Technology Inc.
x = Bit is unknown
T3GSS1
R/W-0
(1)
T3GSS0
R/W-0
bit 0

Related parts for PIC18F25J11-I/PT