Microchip Technology MA160014 Scheda Tecnica
2010-2012 Microchip Technology Inc.
DS41412F-page 231
PIC18(L)F2X/4XK22
FIGURE 15-17:
I
2
C SLAVE, 7-BIT ADDRESS, RECEPTION (SEN = 1, AHEN = 1, DHEN = 1)
Re
ce
ivin
g
Ad
d
re
s
s
R
e
c
e
iv
e
Da
ta
Re
ce
ive
Da
ta
A7
A6
A5
A4
A3
A2
A1
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
SDA
x
SCL
x
SSPx
IF
BF
ACKDT
CKP
S
P
ACK
S
12
34
56
7
8
9
12
3
45
6
7
8
9
12
34
5
6
7
8
9
ACK
ACK
Cle
are
d
b
y
softwar
e
A
C
K
T
IM
i
s
c
le
a
re
d b
y
ha
rdw
a
re
SSPx
BUF c
a
n
b
e
S
e
t by
so
ft
wa
re,
re
ad
an
y
t
ime
be
fo
re
n
e
xt
byte
is lo
ade
d
re
lease
S
C
Lx
on
9th
ri
si
ng
ed
ge
of
S
C
L
x
Re
ce
ive
d
a
d
d
re
s
s
is lo
a
d
e
d
in
to
SSPx
BUF
S
lave softw
ar
e
cl
e
a
rs
ACKDT
t
o
ACK
R/
W
=
0
M
a
st
er rel
e
ases
S
D
A
x
to
slave
for
A
C
K
s
e
qu
en
c
e
th
e r
e
c
e
iv
ed
by
te
Wh
e
n
AHEN
=
1
;
o
n
th
e
8
th
fa
llin
g
e
d
g
e
of S
C
L
x
of
an
add
re
ss
byte
, CK
P
is cle
a
re
d
ACKTI
M
is
s
e
t b
y
h
a
rd
wa
re
o
n
8
th
fa
llin
g
e
d
g
e
o
f
SCL
x
Wh
e
n
DHEN =
1
;
o
n
th
e
8
th
fa
llin
g
e
d
g
e
of S
C
L
x
of
a r
e
ce
iv
ed
data b
y
te,
C
K
P
i
s
cl
ea
re
d
Re
ce
ive
d
d
a
ta
is
a
v
a
ila
b
le
o
n
SSPx
BUF
S
lav
e se
nds
no
t A
C
K
C
K
P
i
s
not
cl
ea
red
if
no
t A
C
K
P
M
a
ster
sen
d
s
S
to
p
co
n
d
itio
n
No inter
ru
p
t
a
fte
r
if
no
t A
C
K
fr
om
S
lave
ACKTI
M