PIN Bit Summary
1.
The PIN bit can be used in polled applications to test when a serial transmission has been
completed. When the ENI bit is also set, the PIN flag sets the internal interrupt via the nINT
output.
2.
In transmitter mode, after successful transmission of one byte on the SMBus the PIN bit will be
automatically reset to logic “0” (active) indicating a complete byte transmission.
3.
In transmitter mode, PIN is set to logic “1” (inactive) each time the data register is written.
4.
In receiver mode, PIN is set to logic “0” (inactive) on completion of each received byte.
5.
Subsequently, the SCLK line will be held low until PIN is set to logic “1”.
6.
In receiver mode, when the data register is read, PIN is set to logic “1” (inactive).
7.
In slave receiver mode, an SMBus STOP condition will set PIN=0 (active).
8.
PIN=0 if a bus error (BER) or a timeout error (TE) occurs while the Timeout Interrupt Enable is
asserted (TIE).
Bit 6 TE
When the Timeout Error bit D6 is ‘1’, an SMBus timeout error has occurred (see Section
SMBus
Timeout
).
Timeout errors generate an interrupt if the TIE bit is asserted (see Section on Bit 4 TIE). If the TIE bit is
asserted, timeout errors will assert the PIN bit.
The TE bit is deasserted ‘0’ whenever the PIN bit is deasserted (see Section on Bit 7 Pin).
Bit 5 STS
When in slave receiver mode, this flag is asserted when an externally generated STOP condition is
detected (used only in slave receiver mode).
Bit 4 BER
Bus error; a misplaced START or STOP condition has been detected. Resets nBB (to logic “1”;
inactive), sets PIN = “0” (active).
Bit 3 LRB/AD0
Last Received Bit or Address 0 (general call) bit. This status bit serves a dual function, and is valid only
while PIN=0:
LRB holds the value of the last received bit over the SMBus while AAS=0 (not addressed as slave).
Normally this will be the value of the slave acknowledgment; thus checking for slave
acknowledgment is done via testing of the LRB.
ADO; when AAS = “1” (Addressed as slave condition) the SMBus controller has been addressed as
a slave. Under this condition, this bit becomes the AD0 bit and will be set to logic “1” if the slave
address received was the ‘general call’ (00h) address, or logic “0” if it was the SMBus controller’s
own slave address.
Bit 2 AAS
Addressed As Slave bit. Valid only when PIN=0. When acting as slave receiver, this flag is set when
an incoming address over the SMBus matches the value in own address register (shifted by one bit) or
if the SMBus ‘general call’ address (00h) has been received (‘general call’ is indicated when AD0 status
bit is also set to logic “1”).
156