PIC18F2331-E/ML MICROCHIP [Microchip Technology], PIC18F2331-E/ML Datasheet - Page 240

no-image

PIC18F2331-E/ML

Manufacturer Part Number
PIC18F2331-E/ML
Description
28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC18F2331/2431/4331/4431
REGISTER 21-1:
DS39616D-page 240
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-6
bit 5
bit 4
bit 3-2
bit 1
bit 0
Note 1:
U-0
Groups A, B, C, and D refer to the ADCHS register.
Unimplemented: Read as ‘0’
ACONV: Auto-Conversion Continuous Loop or Single-Shot Mode Select bit
1 = Continuous Loop mode enabled
0 = Single-Shot mode enabled
ACSCH: Auto-Conversion Single or Multi-Channel Mode bit
1 = Multi-Channel mode enabled, Single Channel mode disabled
0 = Single Channel mode enabled, Multi-Channel mode disabled
ACMOD<1:0>: Auto-Conversion Mode Sequence Select bits
If ACSCH = 1:
00 = Sequential Mode 1 (SEQM1); two samples are taken in sequence:
01 = Sequential Mode 2 (SEQM2); four samples are taken in sequence:
10 = Simultaneous Mode 1 (STNM1); two samples are taken simultaneously:
11 = Simultaneous Mode 2 (STNM2); two samples are taken simultaneously:
If ACSCH = 0, Auto-Conversion Single Channel Sequence Mode Enabled:
00 = Single Channel Mode 1 (SCM1); Group A is taken and converted
01 = Single Channel Mode 2 (SCM2); Group B is taken and converted
10 = Single Channel Mode 3 (SCM3); Group C is taken and converted
11 = Single Channel Mode 4 (SCM4); Group D is taken and converted
GO/DONE: A/D Conversion Status bit
1 = A/D conversion cycle in progress. Setting this bit starts the A/D conversion cycle. If Auto-
0 = A/D conversion or multiple conversions completed/not in progress
ADON: A/D On bit
1 = A/D Converter module is enabled (after brief power-up delay, starts continuous sampling)
0 = A/D Converter module is disabled
Conversion Single-Shot mode is enabled (ACONV = 0), this bit is automatically cleared by
hardware when the A/D conversion (single or multi-channel depending on ACMOD settings) has
completed. If Auto-Conversion Continuous Loop mode is enabled (ACONV = 1), this bit remains
set after the user/trigger has set it (continuous conversions). It may be cleared manually by the user
to stop the conversions.
U-0
1st sample: Group A
2nd sample: Group B
1st sample: Group A
2nd sample: Group B
3rd sample: Group C
4th sample: Group D
1st sample: Group A and Group B
1st sample: Group A and Group B
2nd sample: Group C and Group D
ADCON0: A/D CONTROL REGISTER 0
W = Writable bit
‘1’ = Bit is set
ACONV
R/W-0
(1)
(1)
(1)
(1)
(1)
(1)
ACSCH
R/W-0
(1)
(1)
(1)
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
ACMOD1
R/W-0
ACMOD0
R/W-0
(1)
(1)
(1)
(1)
 2010 Microchip Technology Inc.
x = Bit is unknown
GO/DONE
R/W-0
R/W-0
ADON
bit 0

Related parts for PIC18F2331-E/ML