PIC16C782 Microchip Technology Inc., PIC16C782 Datasheet - Page 23

no-image

PIC16C782

Manufacturer Part Number
PIC16C782
Description
8-bit Cmos Microcontrollers With A/d, D/a, Opamp, Comparators And Psmc
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C782/JW
Manufacturer:
AD
Quantity:
580
2.7
This register contains the individual flag bits for the
peripheral interrupts.
REGISTER 2-5:
2001 Microchip Technology Inc.
PIR1 Register
bit 7
bit 6
bit 5
bit 4
bit 3-1
bit 0
PERIPHERAL INTERRUPT REGISTER (PIR1 0Ch)
Legend:
R = Readable bit
- n = Value at POR
bit7
LVDIF: Low Voltage Detect Interrupt Flag bit
1 = The supply voltage has fallen below the specified LVD voltage (must be cleared in software)
0 = The supply voltage is greater than the specified LVD voltage
ADIF: Analog-to-Digital Converter Interrupt Flag bit
1 = An ADC conversion completed (must be cleared in software)
0 = The ADC conversion is not complete
C2IF: Comparator C2 Interrupt Flag bit
1 = Comparator C2 input has crossed the threshold (must be cleared in software)
0 = Comparator C2 input has not crossed the threshold
C1IF: Comparator C1 Interrupt Flag bit
1 = Comparator C1 input has crossed the threshold (must be cleared in software)
0 = Comparator C1 input has not crossed the threshold
Unimplemented: Read as ‘0’
TMR1IF: TMR1 Overflow Interrupt Flag bit
1 = TMR1 register overflowed (must be cleared in software)
0 = TMR1 register did not overflow
R/W-0
LVDIF
R/W-0
ADIF
R/W-0
C2IF
Preliminary
W = Writable bit
’1’ = Bit is set
R/W-0
C1IF
Note:
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared
U-0
Interrupt flag bits are set when an interrupt
condition occurs, regardless of the state of
its corresponding enable bit, or the global
enable bit, GIE (INTCON<7>). User soft-
ware should ensure the appropriate inter-
rupt flag bits are clear prior to enabling an
interrupt.
PIC16C781/782
U-0
x = Bit is unknown
U-0
DS41171A-page 21
TMR1IF
R/W-0
bit 0

Related parts for PIC16C782