Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC18C242-E/P Datasheet(PDF) 58 Page - Microchip Technology

Part # PIC18C242-E/P
Description  High-Performance Microcontrollers with 10-Bit A/D
PDF  296 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18C242-E/P Datasheet(HTML) 58 Page - Microchip Technology

Back Button PIC18C242-E/P Datasheet HTML 54Page - Microchip Technology PIC18C242-E/P Datasheet HTML 55Page - Microchip Technology PIC18C242-E/P Datasheet HTML 56Page - Microchip Technology PIC18C242-E/P Datasheet HTML 57Page - Microchip Technology PIC18C242-E/P Datasheet HTML 58Page - Microchip Technology PIC18C242-E/P Datasheet HTML 59Page - Microchip Technology PIC18C242-E/P Datasheet HTML 60Page - Microchip Technology PIC18C242-E/P Datasheet HTML 61Page - Microchip Technology PIC18C242-E/P Datasheet HTML 62Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 58 / 296 page
background image
DS39026B-page 58
Preliminary
© 7/99 Microchip Technology Inc.
PIC18CXX2
5.2.3
INTERRUPTS
The long write must be terminated by a reset or any
interrupt.
The interrupt source must have its interrupt enable bit
set. When the source sets its interrupt flag, program-
ming will terminate. This will occur regardless of the
settings of interrupt priority bits, the GIE/GIEH bit or the
PIE/GIEL bit.
Depending on the states of interrupt priority bits, the
GIE/GIEH bit or the PIE/GIEL bit, program execution
can either be vectored to the high or low priority Inter-
rupt Service Routine (ISR) or continue execution from
where programming commenced.
In either case, the interrupt flag will not be cleared
when programming is terminated and will need to be
cleared by the software.
TABLE 5-2:
SLEEP MODE, INTERRUPT ENABLE BITS AND INTERRUPT RESULTS
GIE/
GIEH
PIE/
GIEL
Priority
Interrupt
Enable
Interrupt
Flag
Action
XX
X
0
(default)
X
Long write continues even if interrupt
flag becomes set during sleep.
X
X
X
1
0
Long write continues, will wake when
the interrupt flag is set.
0
(default)
0
(default)
X
1
1
Terminates long write,
executes next instruction. Interrupt flag
not cleared.
0
(default)
11
high priority
(default)
1
1
Terminates long write,
executes next instruction. Interrupt flag
not cleared.
10
(default)
0
low
1
1
Terminates long write, executes next
instruction. Interrupt flag not cleared.
0
(default)
10
low
1
1
Terminates long write, branches to low
priority interrupt vector.
Interrupt flag can be cleared by ISR.
10
(default)
1
high priority
(default)
1
1
Terminates long write, branches to high
priority interrupt vector.
Interrupt flag can be cleared by ISR.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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