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a
d
a
e
r
e
r
a
B
R
i
U
e
h
t
n
i
8
t
i
B
.
1
o
t
0
t
i
b
s
a
d
a
e
r
s
i
r
e
t
s
i
g
e
r
Table 17.14 I2C Mode Functions
i=0 to 4
NOTES:
1. Follow the procedures below to change what causes an interrupt to be generated.
(a) Disable interrupt of corresponding interrupt number.
(b) Change what causes an interrupt to be generated.
(c) Set the IR bit of a corresponding interrupt number to "0" (no interrupt requested).
(d) Set the ILVL2 to ILVL0 bits of a corresponding interrupt number.
2. Set default value of the SDAi output when the SMD2 to SMD0 bits in the UiMR register are set to "0002"
(serial I/O disabled).
3. Second data transfer to the UiRB register (on the rising edge of the ninth bit of SCLi).
4. First data transfer to the UiRB register (on the falling edge of the ninth bit of SCLi).