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

X  

PIC18F23K20-E/ML Datasheet(PDF) 259 Page - Microchip Technology

Part # PIC18F23K20-E/ML
Description  28/40/44-Pin Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
PDF  420 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F23K20-E/ML Datasheet(HTML) 259 Page - Microchip Technology

Back Button PIC18F23K20-E/ML Datasheet HTML 255Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 256Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 257Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 258Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 259Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 260Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 261Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 262Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 263Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 259 / 420 page
background image
© 2007 Microchip Technology Inc.
Advance Information
DS41303B-page 257
PIC18F2XK20/4XK20
19.1.6
INTERRUPTS
The ADC module allows for the ability to generate an
interrupt upon completion of an Analog-to-Digital
Conversion. The ADC interrupt flag is the ADIF bit in
the PIR1 register. The ADC interrupt enable is the ADIE
bit in the PIE1 register. The ADIF bit must be cleared by
software.
This interrupt can be generated while the device is
operating or while in Sleep. If the device is in Sleep, the
interrupt will wake-up the device. Upon waking from
Sleep, the next instruction following the SLEEP
instruction is always executed. If the user is attempting
to wake-up from Sleep and resume in-line code
execution, the global interrupt must be disabled. If the
global interrupt is enabled, execution will switch to the
Interrupt Service Routine. Please see Section 19.1.6
“Interrupts” for more information.
TABLE 19-1:
ADC CLOCK PERIOD (TAD) VS. DEVICE OPERATING FREQUENCIES
19.1.7
RESULT FORMATTING
The 10-bit A/D conversion result can be supplied in two
formats, left justified or right justified. The ADFM bit of
the ADCON2 register controls the output format.
Figure 19-2 shows the two output formats.
FIGURE 19-2:
10-BIT A/D CONVERSION RESULT FORMAT
Note:
The ADIF bit is set at the completion of
every conversion, regardless of whether
or not the ADC interrupt is enabled.
ADC Clock Period (TAD)
Device Frequency (FOSC)
ADC Clock Source
ADCS<2:0>
64 MHz
16 MHz
4 MHz
1 MHz
FOSC/2
000
31.25 ns(2)
125 ns(2)
500 ns(2)
2.0
μs
FOSC/4
100
62.5 ns(2)
250 ns(2)
1.0
μs
4.0
μs(3)
FOSC/8
001
400 ns(2)
500 ns(2)
2.0
μs
8.0
μs(3)
FOSC/16
101
250 ns(2)
1.0
μs
4.0
μs(3)
16.0
μs(3)
FOSC/32
010
500 ns(2)
2.0
μs
8.0
μs(3)
32.0
μs(3)
FOSC/64
110
1.0
μs
4.0
μs(3)
16.0
μs(3)
64.0
μs(3)
FRC
x11
1-4
μs(1,4)
1-4
μs(1,4)
1-4
μs(1,4)
1-4
μs(1,4)
Legend: Shaded cells are outside of recommended range.
Note 1:
The FRC source has a typical TAD time of 1.7
μs.
2:
These values violate the minimum required TAD time.
3:
For faster conversion times, the selection of another clock source is recommended.
4:
When the device frequency is greater than 1 MHz, the FRC clock source is only recommended if the
conversion will be performed during Sleep.
ADRESH
ADRESL
(ADFM = 0)MSB
LSB
bit 7
bit 0
bit 7
bit 0
10-bit A/D Result
Unimplemented: Read as ‘0’
(ADFM = 1)
MSB
LSB
bit 7
bit 0
bit 7
bit 0
Unimplemented: Read as ‘0’
10-bit A/D Result



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