PIC18F2331 MICROCHIP [Microchip Technology], PIC18F2331 Datasheet - Page 260

no-image

PIC18F2331

Manufacturer Part Number
PIC18F2331
Description
28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2331-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2331-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC18F2331/2431/4331/4431
20.9.1
The ADRESH:ADRESL register pair is the location
where the 10-bit A/D result is loaded at the completion
of the A/D conversion. This register pair is 16-bits wide.
The A/D module gives the flexibility to left- or right-
justify the 10-bit result in the 16-bit result register. The
FIGURE 20-5:
EQUATION 20-3:
DS39616B-page 258
Simultaneous Mode:
Sequential Mode:
T = T
T = (T
ACQ
ACQ
A/D RESULT REGISTER
)
+ (T
A
7
+ (T
CON
0000 00
ADRESH
CON
)
A
A/D RESULT JUSTIFICATION
CONVERSION TIME FOR MULTICHANNEL MODES
)
+ (T
Right Justified
A
+ [(T
2 1 0 7
CON
ADFM = 1
ACQ
)
B
+ T
)
B
10-bit Result
ADRESL
- 12T
ACQ
+ (T
AD
] + (T
CON
0
CON
)
C
Preliminary
+ (T
10-bit Result
)
B
+ [(T
CON
)
ACQ
D
A/D Format Select bit (ADFM) controls this justification.
Figure 20-5 shows the operation of the A/D result
justification. The extra bits are loaded with ‘0’s. When
an A/D result will not overwrite these locations (A/D
disable), these registers may be used as two general
purpose 8-bit registers.
)
C
- 12T
7
AD
ADRESH
] + (T
10-bit Result
CON
ADFM = 0
Left Justified
)
C
0 7 6 5
+ [(T
 2003 Microchip Technology Inc.
ACQ
ADRESL
0000 00
)
D
- 12T
AD
0
] + (T
CON
)
D

Related parts for PIC18F2331