|
PIC16LF18854 Datasheet, PDF (132/668 Pages) Microchip Technology – C Compiler Optimized RISC Architecture | |||
|
◁ |
PIC16(L)F18856/76
7.6 Register Definitions: Interrupt Control
REGISTER 7-1: INTCON: INTERRUPT CONTROL REGISTER
R/W-0/0
R/W-0/0
U-0
U-0
U-0
U-0
GIE
PEIE
â
â
â
â
bit 7
U-0
R/W-1/1
â
INTEDG
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
â1â = Bit is set
W = Writable bit
x = Bit is unknown
â0â = Bit is cleared
U = Unimplemented bit, read as â0â
-n/n = Value at POR and BOR/Value at all other Resets
bit 7
bit 6
bit 5-1
bit 0
Note:
GIE: Global Interrupt Enable bit
1 = Enables all active interrupts
0 = Disables all interrupts
PEIE: Peripheral Interrupt Enable bit
1 = Enables all active peripheral interrupts
0 = Disables all peripheral interrupts
Unimplemented: Read as â0â
INTEDG: Interrupt Edge Select bit
1 = Interrupt on rising edge of INT pin
0 = Interrupt on falling edge of INT pin
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, of the INTCON register.
User software should ensure the
appropriate interrupt flag bits are clear
prior to enabling an interrupt.
DS40001824A-page 132
Preliminary
ï£ 2016 Microchip Technology Inc.
|
▷ |