PIC16F616 Microchip Technology Inc., PIC16F616 Datasheet - Page 49
PIC16F616
Manufacturer Part Number
PIC16F616
Description
14-pin Flash-based, 8-bit Cmos Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F616.pdf
(180 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F616-E/SL
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC16F616-I/ML
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
PIC16F616-I/SL
Manufacturer:
MICROCHIP
Quantity:
400
Company:
Part Number:
PIC16F616-I/SL
Manufacturer:
Microchip Technology
Quantity:
45 197
Part Number:
PIC16F616-I/SL
Manufacturer:
MICROCHIP
Quantity:
20 000
Company:
Part Number:
PIC16F616-I/ST
Manufacturer:
Microchip
Quantity:
30 000
Part Number:
PIC16F616-I/ST
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
6.0
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
• Interrupt on overflow
• Wake-up on overflow (external clock,
• Time base for the Capture/Compare function
• Special Event Trigger (with ECCP)
• Comparator output synchronization to Timer1
Figure 6-1 is a block diagram of the Timer1 module.
FIGURE 6-1:
© 2007 Microchip Technology Inc.
T1G pin
Asynchronous mode only)
clock
Without CLKOUT
OSC1/T1CKI
OSC2/T1G
TIMER1 MODULE WITH GATE
CONTROL
T1OSCEN
Note 1:
INTOSC
Set flag bit
TMR1IF on
Overflow
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.
TIMER1 BLOCK DIAGRAM
Oscillator
TMR1H
TMR1
(2)
TMR1L
PIC16F610/616/16HV610/616
Internal
F
OSC
Clock
F
OSC
EN
/4
Preliminary
(1)
T1ACS
1
0
6.1
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
The TMR1CS bit of the T1CON register is used to select
the clock source. When TMR1CS = 0, the clock source
is F
supplied externally.
F
F
T1CKI pin
TMR1CS
Clock Source
OSC
OSC
1
0
To C2 Comparator Module
Timer1 Clock
OSC
/4
/4. When TMR1CS = 1, the clock source is
Timer1 Operation
Clock Source Selection
T1CKPS<1:0>
T1SYNC
Prescaler
1, 2, 4, 8
TMR1ON
0
1
2
C2OUT
TMR1CS
TMR1GE
0
0
1
Synchronized
Synchronize
clock input
T1GSS
1
0
det
DS41288C-page 47
(3)
T1ACS
T1GINV
0
1
x