DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC18F46K80T-I/SP View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC18F46K80T-I/SP Datasheet PDF : 623 Pages
First Prev 211 212 213 214 215 216 217 218 219 220 Next Last
PIC18F66K80 FAMILY
14.1 Timer1 Gate Control Register
The Timer1 Gate Control register (T1GCON),
displayed in Register 14-2, is used to control the
Timer1 gate.
REGISTER 14-2: T1GCON: TIMER1 GATE CONTROL REGISTER(1)
R/W-0
TMR1GE
bit 7
R/W-0
T1GPOL
R/W-0
T1GTM
R/W-0
R/W-0
T1GSPM T1GGO/T1DONE
R-x
T1GVAL
R/W-0
T1GSS1
R/W-0
T1GSS0
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1-0
TMR1GE: Timer1 Gate Enable bit
If TMR1ON = 0:
This bit is ignored.
If TMR1ON = 1:
1 = Timer1 counting is controlled by the Timer1 gate function
0 = Timer1 counts regardless of Timer1 gate function
T1GPOL: Timer1 Gate Polarity bit
1 = Timer1 gate is active-high (Timer1 counts when gate is high)
0 = Timer1 gate is active-low (Timer1 counts when gate is low)
T1GTM: Timer1 Gate Toggle Mode bit
1 = Timer1 Gate Toggle mode is enabled
0 = Timer1 Gate Toggle mode is disabled and toggle flip-flop is cleared
Timer1 gate flip-flop toggles on every rising edge.
T1GSPM: Timer1 Gate Single Pulse Mode bit
1 = Timer1 Gate Single Pulse mode is enabled and is controlling Timer1 gate
0 = Timer1 Gate Single Pulse mode is disabled
T1GGO/T1DONE: Timer1 Gate Single Pulse Acquisition Status bit
1 = Timer1 gate single pulse acquisition is ready, waiting for an edge
0 = Timer1 gate single pulse acquisition has completed or has not been started
This bit is automatically cleared when T1GSPM is cleared.
T1GVAL: Timer1 Gate Current State bit
Indicates the current state of the Timer1 gate that could be provided to TMR1H:TMR1L; unaffected by
Timer1 Gate Enable (TMR1GE) bit.
T1GSS<1:0>: Timer1 Gate Source Select bits
11 = Comparator 2 output
10 = Comparator 1 output
01 = TMR2 to match PR2 output
00 = Timer1 gate pin
Note 1: Programming the T1GCON prior to T1CON is recommended.
2010-2012 Microchip Technology Inc.
DS39977F-page 211

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]