PIC16F690-E/P Microchip Technology Inc., PIC16F690-E/P Datasheet - Page 86

no-image

PIC16F690-E/P

Manufacturer Part Number
PIC16F690-E/P
Description
20 PIN, 7 KB FLASH, 256 RAM, 18 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F690-E/P

A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
7 MIPS
Eeprom Memory
256 Bytes
Input Output
18
Interface
USART
Memory Type
Flash
Number Of Bits
8
Package Type
20-pin PDIP
Programmable Memory
7K Bytes
Ram Size
256 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
PIC16F631/677/685/687/689/690
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:
DS41262C-page 84
F
F
OSC
OSC
T1G pin
Asynchronous mode only)
(PIC16F685/PIC16F690 only)
(PIC16F685/PIC16F690 only)
clock
T1OSCEN
Note 1:
Sleep
= 100
= 000
OSC1/T1CKI
OSC2/T1G
TIMER1 MODULE WITH GATE
CONTROL
2:
*
Set flag bit
TMR1IF on
Overflow
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
(1)
TMR1L
EN
Preliminary
*
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.
F
T1CKI pin
T1LPOSC
TMR1CS
OSC
1
0
Source
To C2 Comparator module
Timer1 Clock
Clock
OSC
/4
/4. When TMR1CS = 1, the clock source is
Timer1 Operation
Clock Source Selection
T1CKPS<1:0>
T1SYNC
Prescaler
TMR1ON
1, 2, 4, 8
SYNCC2OUT
T1OSCEN
0
1
2
x
0
1
© 2006 Microchip Technology Inc.
TMR1GE
Synchronized
clock input
INTOSCIO
T1GSS
Synchronize
FOSC
Mode
1
0
LP or
xxx
xxx
det
(2)
T1GINV
TMR1CS
0
1
1

Related parts for PIC16F690-E/P