English
Language : 

UPSD3354DV-40U6 Datasheet, PDF (130/272 Pages) STMicroelectronics – fast 8032 MCU with programmable logic
I2C interface
UPSD33xx
Table 74.
Bit 7
GC
S1STA: I2C Interface Status register (SFR DDh, reset value 00h)
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
STOP
INTR TX_MODE BBUSY BLOST ACK_RESP SLV
Table 75. S1STA register bit definition
Bit Symbol R/W
Function
General Call flag
GC = 1 if the General Call address of 00h was received when SIOE is in
7
GC
R Slave mode, and GC is cleared by a START or STOP condition on the
bus. If the SIOE is in Master mode when GC = 1, the Bus Lost condition
exists, and BLOST = 1.
STOP flag
6
STOP
R STOP = 1 while SIOE detects a STOP condition on the bus when in
Master or Slave mode.
Interrupt flag
) 5
INTR R,W INTR is set to 1 by any of the five I2C interrupt conditions listed above.
t(s INTR must be cleared by firmware.
c Transmission Mode flag
u 4 TX_MODE R TX_MODE = 1 whenever the SIOE is in Master-Transmitter or Slave-
d Transmitter mode. TX_MODE = 0 when SIOE is in any receiver mode.
ro Bus Busy flag
te P 3
BBUSY
R BBUSY = 1 when the I2C bus is in use. BBUSY is set by the SIOE when
a START condition exists on the bus and BBUSY is cleared by a STOP
le condition.
so Bus Lost flag
b 2
BLOST R BLOST is set when the SIOE is in Master mode and it looses the
O arbitration process to another Master device on the bus.
- Not Acknowledge Response flag
t(s) While SIOE is in Transmitter mode:
– After SIOE sends a byte, ACK_RESP = 1 whenever the external I2C
c device receives the byte, but that device does NOT assert an
u accolade signal (external device asserted a high on SDA during the
d acknowledge bit-time).
ro 1 ACK_RESP R – After SIOE sends a byte, ACK_RESP = 0 whenever the external I2C
P device receives the byte, and that device DOES assert an accolade
te signal (external device drove a low on SDA during the acknowledge
bit-time)
le Note: If SIOE is in Master-Transmitter mode, and ACK_RESP = 1 due to
so a Slave-Transmitter not sending an Acknowledge, a STOP condition will
b not automatically be generated by the SIOE. The STOP condition must
O be generated with S1CON.STO = 1.
Slave Mode flag
0
SLV
R SLV = 1 when the SIOE is in Slave mode. SLV = 0 when the SIOE is in
Master mode (default).
130/272
Doc ID 9685 Rev 7