Multi-Master IIC Interface (MMIIC)
MC68HC908AP Family Data Sheet, Rev. 4
234
Freescale Semiconductor
14.6.1
MMIIC Address Register (MMADR)
MMAD[7:1] — Multi-Master Address
These seven bits represent the MMIIC interface’s own specific slave address when in slave mode, and
the calling address when in master mode. Software must update MMAD[7:1] as the calling address
while entering master mode and restore its own slave address after master mode is relinquished. This
register is cleared as $A0 upon reset.
MMEXTAD — Multi-Master Expanded Address
This bit is set to expand the address of the MMIIC in slave mode. When set, the MMIIC will
acknowledge the following addresses from a calling master: $MMAD[7:1], 0000000, and 0001100.
Reset clears this bit.
1 = MMIIC responds to the following calling addresses:
$MMAD[7:1], 0000000, and 0001100.
0 = MMIIC responds to address $MMAD[7:1]
For example, when MMADR is configured as:
The MMIIC module will respond to the calling address:
or the general calling address:
or the calling address:
Note that bit-0 of the 8-bit calling address is the MMRW bit from the calling master.
Address:
$0048
Bit 7
654321
Bit 0
Read:
MMAD7
MMAD6
MMAD5
MMAD4
MMAD3
MMAD2
MMAD1
MMEXTAD
Write:
Reset:
10100000
Figure 14-4. MMIIC Address Register (MMADR)
MMAD7
MMAD6
MMAD5
MMAD4
MMAD3
MMAD2
MMAD1
MMEXTAD
11010101
Bit 7
65432
Bit 1
1101010
0000000
Bit 7
65432
Bit 1
0001100