PIC16F716-I/SS Microchip Technology Inc., PIC16F716-I/SS Datasheet - Page 31

no-image

PIC16F716-I/SS

Manufacturer Part Number
PIC16F716-I/SS
Description
MCU, 8-Bit, 2KW Flash, 128 RAM, 13 I/O, SSOP-20
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F716-I/SS

A/d Inputs
4-Channel, 8-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
13
Memory Type
Flash
Number Of Bits
8
Package Type
20-pin SSOP
Programmable Memory
3.5K Bytes
Ram Size
128 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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F716-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
5.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
• Interrupt on overflow
• Wake-up on overflow (external clock,
• Time base for the Capture/Compare function
• Special Event Trigger (with ECCP)
Figure 5-1 is a block diagram of the Timer1 module.
FIGURE 5-1:
5.2.1
When the internal clock source is selected, the
TMR1H:TMR1L register pair will increment on multiples
of T
© 2007 Microchip Technology Inc.
Asynchronous mode only)
CY
as determined by the Timer1 prescaler.
RB1/T1OSO/T1CKI
TIMER1 MODULE WITH GATE
CONTROL
INTERNAL CLOCK SOURCE
Note 1:
RB2/T1OSI
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.
TMR1H
T1OSC
TMR1
TMR1L
Oscillator
Enable
T1OSCEN
(2)
(1)
Clock
Internal
F
OSC
/4
TMR1ON
5.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.
5.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.
5.2.2
When the external clock source is selected, the Timer1
module may work as a timer or a counter.
When counting, Timer1 is incremented on the rising
edge of the external clock input T1CKI. In addition, the
Counter mode clock can be synchronized to the
microcontroller system clock or run asynchronously.
In Counter mode, a falling edge must be registered by
the counter prior to the first incrementing rising edge
after one or more of the following conditions:
• Timer1 is enabled after POR or BOR Reset
• A write to TMR1H or TMR1L
• T1CKI is high when Timer1 is disabled and when
on/off
Timer1 is reenabled T1CKI is low. See Figure 5-2.
OSC
1
0
/4. When TMR1CS = 1, the clock source is
Timer1 Operation
Clock Source Selection
EXTERNAL CLOCK SOURCE
T1CKPS<1:0>
T1SYNC
Prescaler
1, 2, 4, 8
0
1
2
PIC16F716
Synchronized
clock input
Synchronize
Sleep input
DS41206B-page 29
det
(3)

Related parts for PIC16F716-I/SS