English
Language : 

PIC16F707 Datasheet, PDF (110/284 Pages) Microchip Technology – 40/44-Pin, Flash Microcontrollers with nanoWatt XLP and mTouch™ Technology
PIC16F707/PIC16LF707
REGISTER 13-2: TxGCON: TIMER1/TIMER3 GATE CONTROL REGISTER
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
R-0/0
TMRxGE
TxGPOL
TxGTM
TxGSPM
TxGGO/
DONE
TxGVAL
bit 7
R/W-0/0
TxGSS1
R/W-0/0
TxGSS0
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
HC = Bit is cleared by hardware
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1-0
TMRxGE: Timerx Gate Enable bit
If TMRxON = 0:
This bit is ignored.
If TMRxON = 1:
1 = Timerx counting is controlled by the Timerx gate function
0 = Timerx counts regardless of Timerx gate function
TxGPOL: Timerx Gate Polarity bit
1 = Timerx gate is active-high (Timerx counts when gate is high)
0 = Timerx gate is active-low (Timerx counts when gate is low)
TxGTM: Timerx Gate Toggle Mode bit
1 = Timerx Gate Toggle mode is enabled
0 = Timerx Gate Toggle mode is disabled and toggle flip-flop is cleared
Timerx gate flip-flop toggles on every rising edge.
TxGSPM: Timerx Gate Single-Pulse Mode bit
1 = Timerx gate Single-Pulse mode is enabled and is controlling Timerx gate
0 = Timerx gate Single-Pulse mode is disabled
TxGGO/DONE: Timerx Gate Single-Pulse Acquisition Status bit
1 = Timerx gate single-pulse acquisition is ready, waiting for an edge
0 = Timerx gate single-pulse acquisition has completed or has not been started
This bit is automatically cleared when T1GSPM is cleared.
TxGVAL: Timerx Gate Current State bit
Indicates the current state of the Timerx gate that could be provided to TMRxH:TMRxL.
Unaffected by Timerx Gate Enable (TMRxGE).
TxGSS<1:0>: Timerx Gate Source Select bits
00 = Timerx gate pin
01 = TimerA/B overflow output
10 = TMR2 Match PR2 output
11 = Watchdog Timer scaler overflow
Watchdog Timer oscillator is turned on if TMRxGE = 1, regardless of the state of TMR1ON.
DS41418A-page 110
Preliminary
 2010 Microchip Technology Inc.