PIC18F6621-I/PT Microchip Technology Inc., PIC18F6621-I/PT Datasheet - Page 144

no-image

PIC18F6621-I/PT

Manufacturer Part Number
PIC18F6621-I/PT
Description
64 PIN, 64 KB FLASH, 3840 RAM, 52 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F6621-I/PT

A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
10 MIPS
Eeprom Memory
1024 Bytes
Input Output
54
Interface
I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
64-pin TQFP
Programmable Memory
64K Bytes
Ram Size
3.8K Bytes
Speed
40 MHz
Timers
2-8-bit, 3-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:
PIC18F6621-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F6621-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC18F6621-I/PT
Quantity:
2 850
PIC18F6525/6621/8525/8621
13.2
The Timer2 module has an 8-bit period register, PR2.
Timer2 increments from 00h until it matches PR2 and
then resets to 00h on the next increment cycle. PR2 is
a readable and writable register. The PR2 register is
initialized to FFh upon Reset.
FIGURE 13-1:
TABLE 13-1:
DS39612B-page 142
INTCON GIE/GIEH PEIE/GIEL
PIR1
PIE1
IPR1
TMR2
T2CON
PR2
Legend:
Note 1:
Name
Timer2 Interrupt
Timer2 Module Register
Timer2 Period Register
PSPIE
PSPIP
PSPIF
Note 1: TMR2 register output can be software selected by the MSSP module as a baud clock.
x = unknown, u = unchanged, — = unimplemented, read as ‘0’. Shaded cells are not used by the Timer2 module.
Enabled only in Microcontroller mode for PIC18F8525/8621 devices.
Bit 7
F
OSC
(1)
(1)
(1)
/4
REGISTERS ASSOCIATED WITH TIMER2 AS A TIMER/COUNTER
T2OUTPS3 T2OUTPS2 T2OUTPS1 T2OUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000 -000 0000
ADIE
ADIP
ADIF
TIMER2 BLOCK DIAGRAM
Bit 6
T2CKPS1:T2CKPS0
1:1, 1:4, 1:16
Prescaler
TMR0IE
RC1IF
RC1IE
RC1IP
Bit 5
2
INT0IE
TX1IF
TX1IE
TX1IP
Bit 4
Comparator
TMR2
PR2
SSPIF
SSPIE
SSPIP
RBIE
Bit 3
13.3
The output of TMR2 (before the postscaler) is fed to the
synchronous serial port module which optionally uses it
to generate the shift clock.
EQ
Reset
T2OUTPS3:T2OUTPS0
TMR0IF
CCP1IE
CCP1IP
CCP1IF
Bit 2
Postscaler
1:1 to 1:16
Output of TMR2
Output
TMR2IF
TMR2IE
TMR2IP
TMR2
INT0IF
4
Bit 1
(1)
TMR1IF 0000 0000 0000 0000
TMR1IE 0000 0000 0000 0000
TMR1IP 1111 1111 1111 1111
RBIF
Bit 0
 2005 Microchip Technology Inc.
bit TMR2IF
0000 000x 0000 000u
0000 0000 0000 0000
1111 1111 1111 1111
Sets Flag
POR, BOR
Value on
Value on
all other
Resets

Related parts for PIC18F6621-I/PT