English
Language : 

PIC24FJ128GC010 Datasheet, PDF (362/472 Pages) Microchip Technology – 16-Bit Flash Microcontrollers with 12-Bit Pipeline A/D, Sigma-Delta A/D, USB On-The-Go and XLP Technology
PIC24FJ128GC010 FAMILY
REGISTER 26-11: ACCONH: A/D ACCUMULATOR CONTROL HIGH REGISTER
U-0
U-0
U-0
U-0
U-0
U-0
U-0
—
—
—
—
—
—
—
bit 15
U-0
—
bit 8
R/W-0, HC
R/W-0
U-0
U-0
U-0
U-0
U-0
U-0
ACEN(1)
ACIE
—
—
—
—
—
—
bit 7
bit 0
Legend:
R = Readable bit
-n = Value at POR
HC = Hardware Clearable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 15-8
bit 7
bit 6
bit 5-0
Unimplemented: Read as ‘0’
ACEN: Accumulator Enable bit(1)
1 = Accumulation is enabled; sample and convert the current sample list entry on trigger event and add
to the contents of ACRESH/L
0 = The accumulation process has not started or is complete (cleared in hardware when accumulation
COUNTx bits decrement to zero)
ACIE: Accumulator Interrupt Enable bit
1 = An interrupt event is generated when the accumulator decrements to zero
0 = Accumulator interrupt events are disabled
Unimplemented: Read as ‘0’
Note 1: To avoid unexpected or erroneous results, do not write to ACCONH or ACCONL while ACEN is set.
REGISTER 26-12: ACCONL: A/D ACCUMULATOR CONTROL LOW REGISTER
U-0
—
bit 15
U-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
—
TBLSEL5 TBLSEL4 TBLSEL3 TBLSEL2 TBLSEL1
R/W-0
TBLSEL0
bit 8
R/W-0, HSC
COUNT7
bit 7
R/W-0, HSC
COUNT6
R/W-0, HSC
COUNT5
R/W-0, HSC
COUNT4
R/W-0, HSC
COUNT3
R/W-0, HSC
COUNT2
R/W-0, HSC
COUNT1
R/W-0, HSC
COUNT0
bit 0
Legend:
R = Readable bit
-n = Value at POR
HSC = Hardware Settable/Clearable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 15-14
bit 13-8
bit 7-0
Unimplemented: Read as ‘0’
TBLSEL<5:0>: Pointer to ADTBLn Used to Select ANxx Channel to be Accumulated bits
The ANxx channel is designated by the ADTBLn register (where n = TBLSEL<5:0> value).
COUNT<7:0>: Accumulations to be Completed Counter bits
Decrements on each accumulated sample. Before starting the accumulation process, preload this
COUNTx bits field with the number of samples to accumulate (ex: To get a 9 sample sum, load COUNT
with 9). Starting with a COUNT value of 0 will result in 256 samples being accumulated.
DS30009312B-page 362
 2012-2013 Microchip Technology Inc.