SBAS686 – JULY 2015
8.5.2.3.4
Alarm Flag Registers (Read-Only)
The alarm conditions related to individual channels are stored in these registers. The flags can be read when an
alarm interrupt is received on the ALARM pin. There are two types of flag for every alarm: active and tripped.
The active flag is set to 1 under the alarm condition (when data cross the alarm limit) and remains so as long as
the alarm condition persists. The tripped flag turns on the alarm condition similar to the active flag, but remains
set until read. This feature relieves the device from having to track alarms.
8.5.2.3.4.1
ALARM Overview Tripped-Flag Register (address = 10h)
The ALARM overview tripper-flags register contains the logical OR of high or low tripped alarm flags for all eight
channels.
Figure 97. ALARM Overview Tripped-Flag Register
7
6
5
4
3
2
1
0
Tripped Alarm
Tripped Alarm
Tripped Alarm
Tripped Alarm
Tripped Alarm
Tripped Alarm
Tripped Alarm
Tripped Alarm
Flag Ch7
(1)
Flag Ch6
Flag Ch5
Flag Ch4
Flag Ch3
Flag Ch2
Flag Ch1
Flag Ch0
R-0h
R-0h
R-0h
R-0h
R-0h
R-0h
R-0h
R-0h
LEGEND: R = Read only; -n = value after reset
(1)
Shading indicates bits or registers that are not included in the 4-channel version of the device. A write operation on any of these bits or
registers has no effect on device behavior. A read operation on any of these bits or registers outputs all 1's on the SDO line.
Table 16. ALARM Overview Tripped-Flag Register Field Descriptions
Bit
Field
Type
Reset
Description
7
Tripped Alarm Flag Ch7
R
0h
Tripped alarm flag for all analog channels at a glance.
Each individual bit indicates a tripped alarm flag status for each
6
Tripped Alarm Flag Ch6
R
0h
channel, as per the alarm flags register for channels 7 to 0,
5
Tripped Alarm Flag Ch5
R
0h
respectively.
0 = No alarm detected
4
Tripped Alarm Flag Ch4
R
0h
1 = Alarm detected
3
Tripped Alarm Flag Ch3
R
0h
2
Tripped Alarm Flag Ch2
R
0h
1
Tripped Alarm Flag Ch1
R
0h
0
Tripped Alarm Flag Ch0
R
0h
56
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: