| Electronic Components Datasheet Search |
|
PIC16C781 Datasheet(PDF) 21 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16C781 Datasheet(HTML) 21 Page - Microchip Technology |
|
21 / 188 page ![]() 2001-2013 Microchip Technology Inc. Preliminary DS41171B-page 21 PIC16C781/782 2.7 PIR1 Register This register contains the individual flag bits for the peripheral interrupts. REGISTER 2-5: PERIPHERAL INTERRUPT REGISTER (PIR1 0Ch) Note: 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. R/W-0 R/W-0 R/W-0 R/W-0 U-0 U-0 U-0 R/W-0 LVDIF ADIF C2IF C1IF — — —TMR1IF bit7 bit 0 bit 7 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 bit 6 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 bit 5 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 bit 4 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 bit 3-1 Unimplemented: Read as ‘0’ bit 0 TMR1IF: TMR1 Overflow Interrupt Flag bit 1 = TMR1 register overflowed (must be cleared in software) 0 = TMR1 register did not overflow Legend: R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ - n = Value at POR ’1’ = Bit is set ’0’ = Bit is cleared x = Bit is unknown PIC16C781.book Page 21 Tuesday, January 29, 2013 3:29 PM |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |