English
Language : 

Z8F6421PM020SC Datasheet, PDF (178/299 Pages) Zilog, Inc. – High Performance 8-Bit Microcontrollers Z8 Encore-R 64K Series
Z8 Encore!® 64K Series
Product Specification
158
I2C Diagnostic State Register
The I2C Diagnostic State register (Table 74) provides observability of internal state. This
is a read only register used for I2C diagnostics and manufacturing test.
Table 74. I2C Diagnostic State Register (I2CDST)
BITS
7
6
5
4
3
2
1
0
FIELD SCLIN SDAIN STPCNT
TXRXSTATE
RESET
X
0
R/W
R
ADDR
F55H
SCLIN - Value of Serial Clock input signal
SDAIN - Value of the Serial Data input signal
STPCNT - Value of the internal Stop Count control signal
TXRXSTATE - Value of the internal I2C state machine
TXRXSTATE
0_0000
0_0001
0_0010
0_0011
0_0100
0_0101
0_0110
0_0111
0_1000
0_1001
0_1010
0_1011
0_1100
0_1101
0_1110
State Description
Idle State
START State
Send/Receive data bit 7
Send/Receive data bit 6
Send/Receive data bit 5
Send/Receive data bit 4
Send/Receive data bit 3
Send/Receive data bit 2
Send/Receive data bit 1
Send/Receive data bit 0
Data Acknowledge State
Second half of data Acknowledge State used only for not acknowledge
First part of STOP state
Second part of STOP state
10-bit addressing: Acknowledge State for 2nd address byte
7-bit addressing: Address Acknowledge State
PS019915-1005
I2C Controller