ADM1191
WRITE EXTENDED BYTE
In the write extended byte operation, the master device writes
to one of the three extended registers of the slave device, as follows:
1. The master device asserts a start condition on SDA.
2. The master sends the 7-bit slave address, followed by the
write bit (low).
3. The addressed slave device asserts an acknowledge on SDA.
4. The master sends the register address byte. The MSB of
this byte is set to 1 to indicate an extended register write.
The two LSBs indicate which of the three extended registers is
to be written to (see Table 8). All other bits should be set to 0.
5. The slave asserts an acknowledge on SDA.
6. The master sends the command byte. The command byte
is identified by an MSB = 0. An MSB = 1 indicates an
extended register write.
7. The slave asserts an acknowledge on SDA.
8. The master asserts a stop condition on SDA to end the
transaction.
1
2
3
4
5
6
78
S
SLAVE
ADDRESS
WA
REGISTER
ADDRESS
A
REGISTER
DATA
AP
Figure 21. Write Extended Byte
Table 9, Table 10, and Table 11 give details of each extended
register.
Table 8. Extended Register Addresses
A6 A5 A4 A3 A2 A1 A0
0000001
0000010
0000011
Extended Register
ALERT_EN
ALERT_TH
CONTROL
Table 9. ALERT_EN Register Operations
Bit Default Name
Function
00
EN_ADC_OC1 Enabled if a single ADC conversion on the I channel has exceeded the threshold set in the ALERT_TH
register.
10
EN_ADC_OC4 Enabled if four consecutive ADC conversions on the I channel have exceeded the threshold set in the
ALERT_TH register.
21
EN_OC_ALERT Enables the OC_ALERT register. If an overcurrent condition is present, the OC_ALERT register captures
and latches this condition.
30
EN_OFF_ALERT N/A.
40
CLEAR
Clears the ON_ALERT, OC_ALERT, and ADC_ALERT status bits in the status register. These can immediately
reset if the source of the alert has not been cleared or disabled with the other bits in this register. This bit
self-clears to 0 after the status register bits have been cleared.
Table 10. ALERT_TH Register Operations
Bit Default Function
7:0 FF
The ALERT_TH register sets the current level at which an alert occurs. Defaults to ADC full scale. The ALERT_TH 8-bit
number corresponds to the top eight bits of the current channel data.
Table 11. CONTROL Register Operations
Bit Default Name
Function
00
SWOFF
Forces the ALERTB pin to deassert. Can be active only if the EN_OFF_ALERT bit is high (see Table 9).
Rev. 0 | Page 12 of 16