Table 6. averaging register, Table 7. reset register – Rainbow Electronics MAX1230 User Manual
Page 16
MAX1226/MAX1228/MAX1230
12-Bit 300ksps ADCs with FIFO,
Temp Sensor, Internal Reference
16
______________________________________________________________________________________
BIT NAME
BIT
FUNCTION
—
7 (MSB)
Set to zero to select averaging register.
—
6
Set to zero to select averaging register.
—
5
Set to 1 to select averaging register.
AVGON
4
Set to 1 to turn averaging on. Set to zero to turn averaging off.
NAVG1
3
Configures the number of conversions for single-channel scans.
NAVG0
2
Configures the number of conversions for single-channel scans.
NSCAN1
1
Single-channel scan count. (Scan mode 10 only.)
NSCAN0
0 (LSB)
Single-channel scan count. (Scan mode 10 only.)
Table 6. Averaging Register*
AVGON
NAVG1
NAVG0
FUNCTION
0
x
x
Performs 1 conversion for each requested result.
1
0
0
Performs 4 conversions and returns the average for each requested result.
1
0
1
Performs 8 conversions and returns the average for each requested result.
1
1
0
Performs 16 conversions and returns the average for each requested result.
1
1
1
Performs 32 conversions and returns the average for each requested result.
NSCAN1
NSCAN0
FUNCTION (APPLIES ONLY IF SCAN MODE 10 IS SELECTED)
0
0
Scans channel N and returns 4 results.
0
1
Scans channel N and returns 8 results.
1
0
Scans channel N and returns 12 results.
1
1
Scans channel N and returns 16 results.
BIT NAME
BIT
FUNCTION
—
7 (MSB)
Set to zero to select reset register.
—
6
Set to zero to select reset register.
—
5
Set to zero to select reset register.
—
4
Set to 1 to select reset register.
RESET
3
Set to zero to reset all registers. Set to 1 to clear the FIFO only.
x
2
Reserved. Don’t care.
x
1
Reserved. Don’t care.
x
0 (LSB)
Reserved. Don’t care.
Table 7. Reset Register
*See below for bit details.