PIC18LF8720 Microchip Technology, PIC18LF8720 Datasheet - Page 150

no-image

PIC18LF8720

Manufacturer Part Number
PIC18LF8720
Description
(PIC18LF6620/6520/8520/6620/8620/6720/8720) 64/80-Pin High-Performance / 64-Kbyte Enhanced Flash Microcontrollers
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF8720-I/PT
Manufacturer:
Vishay
Quantity:
9 195
Part Number:
PIC18LF8720-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18LF8720-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18LF8720-I/PTC01
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC18LF8720T-I/PT
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC18LF8720T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC18F6520/8520/6620/8620/6720/8720
15.2
The Timer4 module has an 8-bit period register, PR4,
which is both readable and writable. Timer4 increments
from 00h until it matches PR4 and then resets to 00h on
the next increment cycle. The PR4 register is initialized
to FFh upon Reset.
FIGURE 15-1:
TABLE 15-1:
DS39609B-page 148
INTCON GIE/GIEH PEIE/GIEL
IPR3
PIR3
PIE3
TMR4
T4CON
PR4
Legend:
Name
Timer4 Interrupt
Timer4 Module Register
Timer4 Period Register
F
x = unknown, u = unchanged, – = unimplemented, read as ‘0’. Shaded cells are not used by the Timer4 module.
Bit 7
OSC
/4
REGISTERS ASSOCIATED WITH TIMER4 AS A TIMER/COUNTER
T4OUTPS3 T4OUTPS2 T4OUTPS1 T4OUTPS0 TMR4ON T4CKPS1 T4CKPS0 -000 0000 -000 0000
Bit 6
TIMER4 BLOCK DIAGRAM
T4CKPS1:T4CKPS0
1:1, 1:4, 1:16
Prescaler
TMR0IE
RC2IP
RC2IF
RC2IE
Bit 5
2
INT0IE
TX2IP
TX2IF
TX2IE
Bit 4
Comparator
TMR4
PR4
TMR4IP
TMR4IE
TMR4IF
RBIE
Bit 3
EQ
15.3
The output of TMR4 (before the postscaler) is used
only as a PWM time base for the CCP modules. It is not
used as a baud rate clock for the MSSP, as is the
Timer2 output.
Reset
T4OUTPS3:T4OUTPS0
TMR0IF
CCP5IP
CCP5IF
CCP5IE
Bit 2
Postscaler
1:1 to 1:16
Output of TMR4
Output
CCP4IP
CCP4IE
TMR4
CCP4IF
INT0IF
4
Bit 1
(1)
CCP3IP --11 1111 --00 0000
CCP3IE --00 0000 --00 0000
CCP3IF --00 0000 --00 0000
RBIF
Bit 0
 2004 Microchip Technology Inc.
bit TMR4IF
0000 0000 0000 0000
0000 0000 0000 0000
1111 1111 1111 1111
POR, BOR
Sets Flag
Value on
Value on
all other
Resets

Related parts for PIC18LF8720