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

PIC16HV610T-ESL View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16HV610T-ESL
Microchip
Microchip Technology 
PIC16HV610T-ESL Datasheet PDF : 214 Pages
First Prev 41 42 43 44 45 46 47 48 49 50 Next Last
PIC16F610/616/16HV610/616
6.0 TIMER1 MODULE WITH GATE
CONTROL
The Timer1 module is a 16-bit timer/counter with the
following features:
• 16-bit timer/counter register pair (TMR1H:TMR1L)
• Programmable internal or external clock source
• 3-bit prescaler
• Optional LP oscillator
• Synchronous or asynchronous operation
• Timer1 gate (count enable) via comparator or
T1G pin
• Interrupt on overflow
• Wake-up on overflow (external clock,
Asynchronous mode only)
• Time base for the Capture/Compare function
• Special Event Trigger (with ECCP)
• Comparator output synchronization to Timer1
clock
Figure 6-1 is a block diagram of the Timer1 module.
6.1 Timer1 Operation
The Timer1 module is a 16-bit incrementing counter
which is accessed through the TMR1H:TMR1L register
pair. Writes to TMR1H or TMR1L directly update the
counter.
When used with an internal clock source, the module is
a timer. When used with an external clock source, the
module can be used as either a timer or counter.
6.2 Clock Source Selection
The TMR1CS bit of the T1CON register is used to select
the clock source. When TMR1CS = 0, the clock source
is FOSC/4. When TMR1CS = 1, the clock source is
supplied externally.
Clock Source
FOSC/4
FOSC
T1CKI pin
TMR1CS
0
0
1
T1ACS
0
1
x
FIGURE 6-1:
TIMER1 BLOCK DIAGRAM
Set flag bit
TMR1IF on
Overflow
OSC1/T1CKI
OSC2/T1G
INTOSC
Without CLKOUT
T1OSCEN
TMR1(2)
TMR1H
EN
TMR1L
Oscillator
(1)
FOSC
1
FOSC/4
Internal
Clock
0
T1ACS
TMR1GE
TMR1ON
T1GINV
To C2 Comparator Module
Timer1 Clock
Synchronized
0
clock input
1
T1SYNC
1
Prescaler
1, 2, 4, 8
0
2
T1CKPS<1:0>
TMR1CS
Synchronize(3)
det
1
C2OUT
0
T1GSS
Note 1:
2:
3:
ST Buffer is low power type when using LP osc, or high speed type when using T1CKI.
Timer1 register increments on rising edge.
Synchronize does not operate while in Sleep.
© 2009 Microchip Technology Inc.
DS41288F-page 49

Share Link: 

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