Microchip Technology DM183037 Fiche De Données

Page de 696
PIC18F97J94 FAMILY
DS30575A-page 444
 2012 Microchip Technology Inc.
 
REGISTER 22-7:
ADCON2L: A/D CONTROL REGISTER 2 LOW
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
BUFS
(
SMPI4
SMPI3
SMPI2
SMPI1
SMPI0
BUFM
(
)
ALTS
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
BUFS: Buffer Fill Status bit
(
)
1 = A/D is filling the upper half of the buffer; user should access data in the lower half
0 = A/D is filling the lower half of the buffer; user should access data in the upper half
bit 6-2
SMPI<4:0>: Interrupt Sample Increment Rate Select bits
Selects the number of sample/conversions per each interrupt.
11111 = Interrupt/address increment at the completion of conversion for each 32nd sample
11110 = Interrupt/address increment at the completion of conversion for each 31st sample
 
00001 = Interrupt/address increment at the completion of conversion for every other sample
00000 = Interrupt/address increment at the completion of conversion for each sample
bit 1
BUFM: Buffer Fill Mode Select bit
1 = A/D buffer is two, 13-word buffers, starting at ADC1BUF0 and ADC1BUF12, and sequential
conversions fill the buffers alternately (Split mode)
0 = A/D buffer is a single, 26-word buffer and fills sequentially from ADC1BUF0 (FIFO mode) 
bit 0
ALTS: Alternate Input Sample Mode Select bit
1 = Uses channel input selects for Sample A on first sample and Sample B on next sample
0 = Always uses channel input selects for Sample A
Note 1:
These bits are only applicable when the buffer is used in FIFO mode (BUFREGEN = 0). In addition, BUFS 
is only used when BUFM = 1.