PIC18F2331 MICROCHIP [Microchip Technology], PIC18F2331 Datasheet - Page 100
PIC18F2331
Manufacturer Part Number
PIC18F2331
Description
28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.PIC18F2331.pdf
(396 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2331-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2331-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
- Current page: 100 of 396
- Download datasheet (4Mb)
PIC18F2331/2431/4331/4431
REGISTER 9-6:
DS39616B-page 98
bit 7-5
bit 4
bit 3
bit 2
bit 1
bit 0
Unimplemented: Read as ‘0’
PTIF: PWM Time Base Interrupt bit
1 = PWM Time Base matched the value in PTPER register. Interrupt is issued according to the
0 = PWM Time Base has not matched the value in PTPER register.
IC3DRIF: IC3 Interrupt Flag/Direction Change Interrupt Flag bit
IC3 Enabled (CAP3CON<3:0>)
1 = TMR5 value was captured by the active edge on CAP3 input (must be cleared in software).
0 = TMR5 capture has not occurred.
QEI Enabled (QEIM<2:0>)
1 = Direction of rotation has changed (must be cleared in software).
0 = Direction of rotation has not changed.
IC2QEIF: IC2 Interrupt Flag/QEI Interrupt Flag bit
IC2 Enabled (CAP2CON<3:0>)
1 = TMR5 value was captured by the active edge on CAP2 input (must be cleared in software).
0 = TMR5 capture has not occurred.
QEI Enabled (QEIM<2:0>)
1 = The QEI position counter has reached the MAXCNT value or the index pulse, INDX, has
0 = The QEI position counter has not reached the MAXCNT value or the index pulse has not
IC1IF: IC1 Interrupt Flag bit
IC1 Enabled (CAP1CON<3:0>)
1 = TMR5 value was captured by the active edge on CAP1 input (must be cleared in software).
0 = TMR5 capture has not occurred.
QEI Enabled (QEIM<2:0>) and Velocity Measurement mode enabled
1 = Timer5 value was captured by the active velocity edge (based on PHA or PHB input).
0 = Timer5 value was not captured by the active velocity edge.
TMR5IF: Timer5 Interrupt Flag bit
1 = Timer5 time base matched the PR5 value (must be cleared in software).
0 = Timer5 time base did not match the PR5 value.
bit 7
Legend:
R = Readable bit
-n = Value at POR
PIR3: PERIPHERAL INTERRUPT FLAG REGISTER 3
U-0
—
postscaler settings. PTIF must be cleared in software.
been detected. Depends on the QEI operating mode enabled. Must be cleared in software.
been detected.
CAP1REN bit must be set in CAP1CON register. IC1IF must be cleared in software.
(VELM = 0 in QEICON Register)
U-0
—
U-0
Preliminary
—
W = Writable bit
‘1’ = bit is set
R/W-0
PTIF
IC3DRIF
R/W-0
U = Unimplemented bit, read as ‘0’
‘0’ = bit is cleared
IC2QEIF
R/W-0
2003 Microchip Technology Inc.
R/W-0
IC1IF
x = bit is unknown
TMR5IF
R/W-0
bit 0
Related parts for PIC18F2331
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
20-Pin USB Flash Microcontrollers
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
Microcontrollers (MCU) 48KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
Microcontrollers (MCU) 64KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm T/R
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm T/R
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm T/
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm TRAY
Manufacturer:
Microchip Technology
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm TR
Manufacturer:
Microchip Technology
Part Number:
Description:
SURFACE MOUNT POWER INDUCTORS
Manufacturer:
RCD [RCD COMPONENTS INC.]
Datasheet: