English
Language : 

PIC18F2331_07 Datasheet, PDF (251/400 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PIC18F2331/2431/4331/4431
REGISTER 20-4: ADCON3: A/D CONTROL REGISTER 3
R/W-0
ADRS1
bit 7
R/W-0
ADRS0
U-0
R/W-0
R/W-0
—
SSRC4(1) SSRC3(1)
R/W-0
SSRC2(1)
R/W-0
SSRC1(1)
R/W-0
SSRC0(1)
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-6
bit 5
bit 4-0
ADRS<1:0>: A/D Result Buffer Depth Interrupt Select Control for Continuous Loop Mode bits
The ADRS bits are ignored in Single-Shot mode.
00 = Interrupt is generated when each word is written to the buffer
01 = Interrupt is generated when the 2nd and 4th words are written to the buffer
10 = Interrupt is generated when the 4th word is written to the buffer
11 = Unimplemented
Unimplemented: Read as ‘0’
SSRC<4:0>: A/D Trigger Source Select bits(1)
00000 = All triggers disabled
xxxx1 = External interrupt RC3/INT0 starts A/D sequence
xxx1x = Timer5 starts A/D sequence
xx1xx = Input Capture 1 (IC1) starts A/D sequence
x1xxx = CCP2 compare match starts A/D sequence
1xxxx = Power Control PWM module rising edge starts A/D sequence
Note 1: SSRC<4:0> bits can be set such that any of the triggers will start conversion (e.g., SSRC<4:0)> = 00101
will trigger the A/D conversion sequence when RC3/INT0 or Input Capture 1 event occurs).
© 2007 Microchip Technology Inc.
Preliminary
DS39616C-page 249