| Electronic Components Datasheet Search |
|
PIC18C242-E/SP Datasheet(PDF) 70 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC18C242-E/SP Datasheet(HTML) 70 Page - Microchip Technology |
|
70 / 296 page ![]() PIC18CXX2 DS39026B-page 70 Preliminary © 7/99 Microchip Technology Inc. 7.0.2 PIR REGISTERS The PIR registers contain the individual flag bits for the peripheral interrupts. Due to he number of peripheral interrupt sources, there are two Peripheral Interrupt Flag Registers (PIR1, PIR2). 7.0.3 PIE REGISTERS The PIE registers contain the individual enable bits for the peripheral interrupts. Due to the number of periph- eral interrupt sources, there are two Peripheral Inter- rupt Enable Registers (PIE1, PIE2). When IPEN = 0, the PEIE bit must be set to enable any of these periph- eral interrupts. 7.0.4 IPR REGISTERS The IPR registers contain the individual priority bits for the peripheral interrupts. Due to on the number of peripheral interrupt sources, there are two Peripheral Interrupt Priority Registers (IPR1, IPR2). The operation of the priority bits requires that the Interrupt Priority Enable (IPEN) bit be set. 7.0.5 RCON REGISTER The RCON register contains the bit which is used to enable prioritized interrupts (IPEN). Register 7-4: RCON Register Note 1: Interrupt flag bits get set when an interrupt condition occurs, regardless of the state of its corresponding enable bit or the global enable bit, GIE (INTCON<7>). Note 2: User software should ensure the appropri- ate interrupt flag bits are cleared prior to enabling an interrupt, and after servicing that interrupt. R/W-0 R/W-0 U-0 R/W-1 R/W-1 R/W-1 R/W-0 R/W-0 IPEN LWRT —RI TO PD POR BOR bit 7 bit 0 bit 7 IPEN: Interrupt Priority Enable bit 1 = Enable priority levels on interrupts 0 = Disable priority levels on interrupts (16CXXX compatibility mode) bit 6 LWRT: Long Write Enable For details of bit operation see Register 4-1 bit 5 Unimplemented: Read as ’0’ bit 4 RI: Reset Instruction Flag bit For details of bit operation see Register 4-1 bit 3 TO: Watchdog Time-out Flag bit For details of bit operation see Register 4-1 bit 2 PD: Power-down Detection Flag bit For details of bit operation see Register 4-1 bit 1 POR: Power-on Reset Status bit For details of bit operation see Register 4-1 bit 0 BOR: Brown-out Reset Status bit For details of bit operation see Register 4-1 Legend: R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ - n = Value at POR reset ’1’ = Bit is set ’0’ = Bit is cleared x = Bit is unknown |
|
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 |