
1996 Dec 11
49
Philips Semiconductors
Preliminary specification
Low voltage 16-bit microcontroller
P90CL301BFH (C100)
12.5.1
I
2
C-
BUS
S
TATUS
R
EGISTER
(SSTA)
SSTA is an 8-bit read only Special Function Register. The contents of SSTA may be used as a vector to a service routine.
This optimizes response time of the software and consequently that of the I
2
C-bus. Tables 73 to 77 show the list of the
status codes defined by the contents of register SSTA.
Table 70
I
2
C-bus Status Register (address FFFF 8205H)
Table 71
Description of SSTA bits
Table 72
Used abbreviations in the mode descriptions; see Tables 73 to 77
Table 73
Master transmitter (MST/TRX) mode
7
6
5
4
3
2
1
0
SC4
SC3
SC2
SC1
SC0
BIT
SYMBOL
DESCRIPTION
7 to 3
2 to 0
SC4 to SC0
The bits SC4 to SC0 hold a status code.
Reserved; held LOW.
SYMBOL
DESCRIPTION
SLA
R
W
ACK
ACKNOT
DATA
MST
SLV
TRX
REC
7-bit slave address
read bit
write bit
acknowledgement (acknowledge bit = 0)
not acknowledge (acknowledge bit = 1)
8-bit (byte) to or from the I
2
C-bus
master
slave
transmitter
receiver
SSTA VALUE
DESCRIPTION
08H
10H
18H
20H
28H
30H
38H
A START condition has been transmitted
A repeated START condition has been transmitted
SLA and W have been transmitted, ACK has been received
SLA and W have been transmitted, ACKNOT received
DATA of S1DAT has been transmitted, ACK received
DATA of S1DAT has been transmitted, ACKNOT received
Arbitration lost in SLA, R/W or DATA