PIC18F4431-E/ML Microchip Technology, PIC18F4431-E/ML Datasheet - Page 137

IC MCU FLASH 8KX16 44QFN

PIC18F4431-E/ML

Manufacturer Part Number
PIC18F4431-E/ML
Description
IC MCU FLASH 8KX16 44QFN
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F4431-E/ML

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, Power Control PWM, QEI, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 9x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
44-QFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
14.2
Timer2 can also generate an optional device interrupt.
The Timer2 output signal (TMR2 to PR2 match) pro-
vides the input for the 4-bit output counter/postscaler.
This counter generates the TMR2 match interrupt flag
which is latched in TMR2IF (PIR1<1>).
The interrupt is enabled by setting the TMR2 Match
Interrupt Enable bit, TMR2IE (PIE1<1>). A range of
16 postscale options (from 1:1 through 1:16 inclusive)
can be selected with the postscaler control bits,
T2OUTPS<3:0> (T2CON<6:3>).
FIGURE 14-1:
TABLE 14-1:
 2010 Microchip Technology Inc.
INTCON
PIR1
PIE1
IPR1
TMR2
T2CON
PR2
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used by the Timer2 module.
Name
T2OUTPS<3:0>
T2CKPS<1:0>
F
OSC
Timer2 Interrupt
/4
Timer2 Register
Timer2 Period Register
GIE/GIEH PEIE/GIEL
Bit 7
REGISTERS ASSOCIATED WITH TIMER2 AS A TIMER/COUNTER
TIMER2 BLOCK DIAGRAM
TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0
Internal Data Bus
1:1, 1:4, 1:16
ADIE
ADIP
ADIF
Bit 6
2
Prescaler
TMR0IE
RCIE
RCIP
RCIF
Bit 5
4
PIC18F2331/2431/4331/4431
TMR2
INT0IE
Bit 4
TXIF
TXIE
TXIP
Reset
8
SSPIF
SSPIE
SSPIP
RBIE
Bit 3
14.3
The unscaled output of TMR2 is available primarily to
the CCP modules, where it is used as a time base for
operations in PWM mode. Timer2 can be optionally
used as the shift clock source for the SSP module
operating in SPI mode.
For additional information, see
“Synchronous Serial Port (SSP)
Comparator
1:1 to 1:16
Postscaler
8
TMR0IF
CCP1IF
CCP1IE
CCP1IP
TMR2/PR2
Match
Output of TMR2
Bit 2
TMR2IF
TMR2IE
TMR2IP
INT0IF
Bit 1
PR2
8
TMR1IF
TMR1IE
TMR1IP
RBIF
Bit 0
Set TMR2IF
TMR2 Output
(to PWM or SSP)
DS39616D-page 137
Module”.
Section 19.0
Reset Values
on Page:
54
57
57
57
55
55
55

Related parts for PIC18F4431-E/ML