
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
IIC-Bus Module
User’s Manual
20-6
V2.2, 2004-01
IIC_X, V2.0
ACKDIS
5
rwh
Acknowledge Pulse Disable
0
An acknowledge pulse is generated for each
received byte
1
No acknowledge pulse is generated
Note: ACKDIS is automatically cleared by a stop
condition.
BUM
4
rwh
Busy Master
0
Clearing bit BUM immediately generates a
stop condition
1
Setting bit BUM generates a start condition in
(multi-) Master mode
Note: Setting bit BUM while the bus is busy (BB = 1)
generates an arbitration lost situation.
In this case, BUM is cleared and bit AL is set.
BUM cannot be set in slave mode.
MOD
[3:2]
rw
Basic Operating Mode
00
IIC module is disabled and initialized (Init-
Mode). Transmissions in progress will be
aborted.
01
Slave mode
10
Single-Master mode
11
Multi-Master mode
RSC
1
rwh
Repeated Start Condition Trigger
0
No operation
1
Generate a repeated start condition in (multi-)
master mode. RSC cannot be set in slave
mode.
Note: RSC is cleared automatically after the
repeated start condition has been sent.
M10
0
rw
Slave Address Width Selection
0
7-bit slave address, using ICA[7:1]
1
10-bit slave address, using ICA[9:0]
Field
Bits
Type
Description