English
Language : 

PIC24FJ128GA Datasheet, PDF (169/232 Pages) Microchip Technology – General Purpose, 16-Bit Flash Microcontrollers
PIC24FJ128GA FAMILY
REGISTER 20-1: AD1CON1: A/D CONTROL REGISTER 1
Upper Byte:
R/W-0
U-0
R/W-0
U-0
U-0
U-0
ADON
—
ADSIDL
—
—
—
bit 15
R/W-0
FORM1
R/W-0
FORM0
bit 8
Lower Byte:
R/W-0
R/W-0
R/W-0
U-0
SSRC2 SSRC1 SSRC0
—
bit 7
U-0
R/W-0 R/W-0 HCS R/C-0 HCS
—
ASAM
SAMP
DONE
bit 0
bit 15 ADON: A/D Operating Mode bit
1 = A/D converter module is operating
0 = A/D converter is off
bit 14 Unimplemented: Read as ‘0’
bit 13 ADSIDL: Stop in Idle Mode bit
1 = Discontinue module operation when device enters Idle mode
0 = Continue module operation in Idle mode
bit 12-10 Unimplemented: Read as ‘0’
bit 9-8 FORM1:FORM0: Data Output Format bits
11 = Signed fractional (sddd dddd dd00 0000)
10 = Fractional (dddd dddd dd00 0000)
01 = Signed integer (ssss sssd dddd dddd)
00 = Integer (0000 00dd dddd dddd)
bit 7-5 SSRC2:SSRC0: Conversion Trigger Source Select bits
111 = Internal counter ends sampling and starts conversion (auto-convert)
110 = Reserved
10x = Reserved
011 = Reserved
010 = Timer3 compare ends sampling and starts conversion
001 = Active transition on INT0 pin ends sampling and starts conversion
000 = Clearing SAMP bit ends sampling and starts conversion
bit 4-3 Unimplemented: Read as ‘0’
bit 2
ASAM: A/D Sample Auto-Start bit
1 = Sampling begins immediately after last conversion completes. SAMP bit is auto-set.
0 = Sampling begins when SAMP bit is set
bit 1
SAMP: A/D Sample Enable bit
1 = A/D sample/hold amplifier is sampling input
0 = A/D sample/hold amplifier is holding
bit 0
DONE: A/D Conversion Status bit
1 = A/D conversion is done
0 = A/D conversion is NOT done
Legend:
R = Readable bit
-n = Value at POR
U = Unimplemented bit, read as ‘0’
W = Writable bit
C = Clear-Only bit
‘1’ = Bit is set
‘0’ = Bit is cleared
HCS = Hardware Cleared/Set
x = Bit is unknown
© 2006 Microchip Technology Inc.
Preliminary
DS39747C-page 167