Rainbow Electronics MAX1329 User Manual
Page 47

MAX1329/MAX1330
12-/16-Bit DASs with ADC, DACs, DPIOs, APIOs,
Reference, Voltage Monitors, and Temp Sensor
______________________________________________________________________________________
47
ADC GT Alarm Register
The ADC GT Alarm register contains the greater-than
mode, trip count, and threshold settings. A write to this
register address resets the trip counters to zero. The
GT alarm is functional for the normal, fast power-down,
and burst modes.
GTAM: ADC Greater-Than Alarm Mode bit (default = 0).
GTAM = 0 means that the alarm trips do not need to be
consecutive before the GTA Status bit is set. When
GTAM = 1, the alarm trips must be consecutive to set
the GTA Status bit.
GTAC<2:0>: ADC Greater-Than Alarm Trip Count bits
(default = 000). GTAC<2:0> set the number of conversion
results needed to be greater than the alarm threshold
before the GTA Status bit is set (see Table 13).
GTAT<11:0>: ADC Greater-Than Alarm Threshold bits
(default = 0xFFF). When the required number of conver-
sion results greater than the threshold set by the
GTAT<11:0> bits have been completed, the GTA Status
bit is set in the Status register. Clearing the GTA Status
bit by reading the Status register or writing to the ADC
GT Alarm register restarts the trip count. The
GTAT<11:0> bits are in binary format when the ADC is in
unipolar mode and two’s complement format when the
ADC is in bipolar mode. Disable the GT alarm by setting
GTAT<11:0> to 0xFFF when the ADC is in unipolar mode
and 0x7FF when the ADC is in bipolar mode.
Table 13a. ADC Greater-Than Alarm Trip
Count Bit Configuration
GTAC2
GTAC1
GTAC0
NUMBER OF TRIPS
0
0
0
1
0
0
1
2
0
1
0
3
0
1
1
4
1
0
0
5
1
0
1
6
1
1
0
7
1
1
1
8
MSB
NAME
GTAM
GTAC2
GTAC1
GTAC0
GTAT11
GTAT10
GTAT9
GTAT8
DEFAULT
0
0
0
0
1
1
1
1
LSB
NAME
GTAT7
GTAT6
GTAT5
GTAT4
GTAT3
GTAT2
GTAT1
GTAT0
DEFAULT
1
1
1
1
1
1
1
1