PIC16F716 Microchip Technology, PIC16F716 Datasheet - Page 33

no-image

PIC16F716

Manufacturer Part Number
PIC16F716
Description
8-bit Flash-based Microcontroller with A/D Converter and Enhanced Capture/Compare/PWM
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F716
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F716-1/P4AP
Manufacturer:
a
Quantity:
4
Part Number:
PIC16F716-E/ML
0
Part Number:
PIC16F716-E/SO
Manufacturer:
PIC
Quantity:
5 510
Part Number:
PIC16F716-E/SO
Manufacturer:
AMD
Quantity:
5 510
Part Number:
PIC16F716-E/SS
Manufacturer:
BCD
Quantity:
10
Part Number:
PIC16F716-I/P
Manufacturer:
MICROCHIP
Quantity:
5 373
Part Number:
PIC16F716-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC16F716-I/P
Quantity:
6 994
Company:
Part Number:
PIC16F716-I/P
Quantity:
3 900
Part Number:
PIC16F716-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F716-I/SO
0
Company:
Part Number:
PIC16F716-I/SO
Quantity:
2 000
Company:
Part Number:
PIC16F716-I/SO
Quantity:
1 680
Part Number:
PIC16F716-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
6.0
The Timer2 module timer has the following features:
• 8-bit timer (TMR2 register)
• 8-bit period register (PR2)
• Readable and writable (both registers)
• Software programmable prescaler (1:1, 1:4, 1:16)
• Software programmable postscaler (1:1 to 1:16)
• Interrupt on TMR2 match of PR2
Timer2 has a control register, shown in Register 6-1.
Timer2 can be shut off by clearing control bit TMR2ON
(T2CON<2>) to minimize power consumption.
REGISTER 6-1:
 2003 Microchip Technology Inc.
bit 7
bit 6-3
bit 2
bit 1-0
TIMER2 MODULE
bit 7
Unimplemented: Read as ‘0’
TOUTPS3:TOUTPS0: Timer2 Output Postscale Select bits
0000 = 1:1 Postscale
0001 = 1:2 Postscale
0010 = 1:3 Postscale
0011 = 1:4 Postscale
0100 = 1:5 Postscale
0101 = 1:6 Postscale
0110 = 1:7 Postscale
0111 = 1:8 Postscale
1000 = 1:9 Postscale
1001 = 1:10 Postscale
1010 = 1:11 Postscale
1011 = 1:12 Postscale
1100 = 1:13 Postscale
1101 = 1:14 Postscale
1110 = 1:15 Postscale
1111 = 1:16 Postscale
TMR2ON: Timer2 On bit
1 = Timer2 is on
0 = Timer2 is off
T2CKPS1:T2CKPS0: Timer2 Clock Prescale Select bits
00 = Prescaler is 1
01 = Prescaler is 4
1x = Prescaler is 16
Legend:
R = Readable bit
-n = Value at POR
T2CON: TIMER2 CONTROL REGISTER (ADDRESS 12h)
U-0
TOUTPS3 TOUTPS2 TOUTPS1
R/W-0
R/W-0
W = Writable bit
‘1’ = Bit is set
Preliminary
R/W-0
Figure 6-1 is a simplified block diagram of the Timer2
module.
Additional information on timer modules is available in
the
(DS33023).
PICmicro
TOUTPS0
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-0
®
Mid-Range
TMR2ON T2CKPS1 T2CKPS0
R/W-0
PIC16F716
x = Bit is unknown
Reference
R/W-0
DS41206A-page 31
R/W-0
Manual,
bit 0

Related parts for PIC16F716