Z8FMC16100 Series Flash MCU
Product Specification
189
2
Table 97. I C State Register (I2CSTATE) - Description when DIAG = 0
BITS
FIELD
RESET
R/W
7
6
ACK
5
AS
4
DS
3
10B
2
1
0
ACKV
RSTR
SCLOUT
BUSY
0
0
0
0
0
0
X
R
X
R
R
R
R
R
R
R
F55H
ADDR
ACKV—ACK Valid
This bit is set if sending data (Master or Slave) and the ACKbit in this register is valid for
the byte just transmitted. This bit can be monitored if it is appropriate for software to ver-
ify the ACKvalue before writing the next byte to be sent. To operate in this mode, the data
register must not be written when TDREasserts; instead, software waits for ACKVto assert.
This bit clears when transmission of the next byte begins or the transaction is ended by a
STOP or RESTART condition.
ACK—Acknowledge
This bit indicates the status of the Acknowledge for the last byte transmitted or received.
This bit is set for an Acknowledge and cleared for a Not Acknowledge condition.
AS—Address State
This bit is active High while the address is being transferred on the I2C bus.
DS—Data State
This bit is active high while the data is being transferred on the I2C bus.
10B—This bit indicates whether a 10 or 7-bit address is being transmitted when operating
as a Master. After the STARTbit is set, if the five most-significant bits of the address are
11110B, this bit is set. When set, it is reset once the address has been sent.
RSTR—RESTART
This bit is updated each time a STOP or RESTART interrupt occurs (SPRSbit set in
I2CISTAT register).
0 = Stop condition
1 = Restart condition
SCLOUT—Serial Clock Output
Current value of Serial Clock being output onto the bus. The actual values of the SCL and
SDA signals on the I2C bus can be observed via the GPIO Input register.
BUSY—I2C Bus Busy
0 = No activity on the I2C Bus.
1 = A transaction is underway on the I2C bus.
PS024604-1005
P R E L I M I N A R Y
I2C State Register