PIC16F87XA
DS39582B-page 102
2003 Microchip Technology Inc.
FIGURE 9-21:
I
2
C MASTER MODE WAVEFORM (TRANSMISSION, 7 OR 10-BIT ADDRESS)
SDA
SCL
SSPI
F
BF (
SSPST
A
T
<0
>)
SEN
A7
A
6
A5
A4
A
3
A
2
A1
A
C
K
=
0
D7
D6
D5
D4
D3
D2
D1
D0
ACK
T
ran
smi
tti
ng
D
a
ta
or
S
e
co
nd
H
a
lf
R/
W
=
0
T
ran
smi
t
A
d
dr
ess t
o
S
lave
1
23
4
56
789
12
3
4
5
67
8
9
P
Cle
a
re
d
in
so
ftwa
re
se
rv
ice
r
o
u
tin
e
SSPBUF
i
s
wr
it
te
n
i
n
s
o
ft
w
a
re
fr
om S
S
P
in
ter
rup
t
A
fter
S
tart co
ndi
ti
on, S
E
N
c
le
a
red by hard
w
are
S
SSPBUF
wr
it
te
n
wit
h
7
-b
it
a
d
d
re
s
s
a
n
d
R/
W
.
S
tar
t tr
a
n
sm
it.
SCL
h
e
ld
l
o
w
wh
ile
CPU
re
s
p
o
n
d
s
t
o
SSPI
F
SEN =
0
o
f 10
-b
it
A
ddr
ess
W
rit
e
SSPCO
N
2
<
0
>
SEN =
1
S
tar
t con
d
it
io
n b
egi
n
s
F
rom
S
lave
, cl
e
a
r
A
C
K
S
T
A
T
bi
t
S
S
P
C
ON
2
<
6>
ACKST
A
T
in
SSPCO
N
2
=
1
C
le
a
red i
n
so
ftw
ar
e
SS
PBUF wr
it
te
n
PEN
Cle
a
re
d
in
so
ft
wa
re
R/
W
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655