Microchip Technology MA160014 Data Sheet

Page of 560
PIC18(L)F2X/4XK22
DS41412F-page 230
 2010-2012 Microchip Technology Inc.
FIGURE 15-16:
I
2
C SLAVE, 7-BIT ADDRESS, RECEPTION (SEN = 0, AHEN = 1, DHEN = 1) 
Re
ce
ivin
g
 Ad
d
re
s
s
R
e
c
e
ivin
g
 Da
ta
Re
ce
ive
d
 Da
ta
P
A7
A6
A5
A4
A3
A2
A1
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
SDAx
SCL
x
BF
CKP
S
P
12
3
4
5
6
7
8
9
1
2
3
4
56
78
9
1
2
3
4
56
78
M
a
ster
 sen
d
s
S
to
p
 co
n
d
itio
n
S
Da
ta
 is
 r
e
a
d
 f
ro
m
 SSPx
BUF
C
le
a
red
 by
 softw
ar
e
SS
Px
IF
 is
 s
e
t o
n
 
9th
 fa
lli
n
g e
dge
 of
 
S
C
Lx,
 af
te
A
C
K
CKP s
e
t b
y
 s
o
ft
w
a
re
SCL
x
 is
 r
e
le
a
s
e
d
S
la
v
e so
ft
wa
re
 
9
A
C
K
T
IM
 cl
e
a
red 
by
h
a
rd
w
a
re
 i
n
 9th
 
ri
si
ng
 edg
e o
f S
C
Lx
sets A
C
K
D
T
 to
not
 A
C
K
 
W
h
en D
H
E
N
=
1
:
CK
P is
 cle
a
re
d
 b
y
h
a
rd
w
a
re
 o
n
 8
th
 fa
llin
g
e
dge
 of
 S
C
Lx
S
lave
 softw
ar
e
clea
rs
 A
C
K
D
T
 to
AC
K
 t
he 
rec
e
iv
ed
by
te
ACKT
IM
 s
e
t b
y
 h
a
rd
w
a
re
on
 8th
 fa
lli
n
g e
dge
 of
 S
C
Lx
Wh
e
n
 AHEN=
1
:
C
K
P
 i
s
 c
le
a
red 
by h
a
rd
w
a
re
and
 S
C
Lx 
is
 str
e
tch
e
d
Ad
d
re
s
s
 is
re
ad
 fro
m
 
SSBUF
 
A
C
K
T
IM
 se
t by
 har
dw
a
re
on
 8t
h fa
lli
ng e
d
g
e
 o
f S
C
Lx
AC
K
Ma
ster
 R
e
le
ases
 S
D
A
x
to
 slav
e fo
r A
C
K
 se
que
nce
No
 in
te
rr
u
p
t
a
fte
r no
t A
C
K
fr
om
 S
lave
ACK
=
1
ACK
ACK
D
T
ACKTI
M
SS
Px
IF
If
 AHEN
=
1
:
S
S
P
xI
F
 is
 set