PIC16F716-I/ML Microchip Technology, PIC16F716-I/ML Datasheet - Page 31

IC PIC MCU FLASH 2KX14 28QFN

PIC16F716-I/ML

Manufacturer Part Number
PIC16F716-I/ML
Description
IC PIC MCU FLASH 2KX14 28QFN
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F716-I/ML

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
13
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
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/ML