PIC12F683-E/MD MICROCHIP [Microchip Technology], PIC12F683-E/MD Datasheet - Page 46

no-image

PIC12F683-E/MD

Manufacturer Part Number
PIC12F683-E/MD
Description
8-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12F683-E/MD
Manufacturer:
ZETEX
Quantity:
1 100
Part Number:
PIC12F683-E/MD
Manufacturer:
MICROCHIP原装
Quantity:
20 000
PIC12F683
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,
• Special Event Trigger (with CCP)
• Comparator output synchronization to Timer1
Figure 6-1 is a block diagram of the Timer1 module.
FIGURE 6-1:
DS41211D-page 44
T1G pin
Asynchronous mode only)
clock
Without CLKOUT
OSC1/T1CKI
OSC2/T1G
CONTROL
TIMER1 MODULE WITH GATE
T1OSCEN
INTOSC
Note 1:
Set flag bit
TMR1IF on
Overflow
2:
3:
TIMER1 BLOCK DIAGRAM
ST Buffer is low power type when using LP oscillator, or high speed type when using T1CKI.
Timer1 register increments on rising edge.
Synchronize does not operate while in Sleep.
Oscillator
TMR1H
TMR1
(2)
TMR1L
EN
(1)
Internal
F
OSC
Clock
/4
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.
TMR1CS
F
T1CKI pin
OSC
1
0
To Comparator Module
Timer1 Clock
OSC
/4
/4. When TMR1CS = 1, the clock source is
Timer1 Operation
Clock Source Selection
T1CKPS<1:0>
Clock Source
T1SYNC
Prescaler
1, 2, 4, 8
TMR1ON
0
1
2
COUT
© 2007 Microchip Technology Inc.
TMR1GE
Synchronized
Synchronize
clock input
T1GSS
1
0
det
(3)
TMR1CS
T1GINV
0
1

Related parts for PIC12F683-E/MD