mc68hc908jl16 Freescale Semiconductor, Inc, mc68hc908jl16 Datasheet - Page 116

no-image

mc68hc908jl16

Manufacturer Part Number
mc68hc908jl16
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Multi-Master IIC Interface (MMIIC)
The MMIIC module will respond to the calling address:
or the general calling address:
or the calling address:
8.8.2 Multi-Master IIC Control Register (MMCR)
MMEN — Multi-Master IIC Enable
MMIEN — Multi-Master IIC Interrupt Enable
MMTXAK — Transmit Acknowledge Enable
REPSEN — Repeated Start Enable
116
This bit is set to enable the Multi-master IIC module. When MMEN = 0, module is disabled and all flags
will restore to its power-on default states. Reset clears this bit.
When this bit is set, the MMTXIF, MMRXIF, MMALIF, and MMNAKIF flags are enabled to generate an
interrupt request to the CPU. When MMIEN is cleared, the these flags are prevented from generating
an interrupt request. Reset clears this bit.
This bit is set to disable the MMIIC from sending out an acknowledge signal to the bus at the 9th clock
bit after receiving 8 data bits. When MMTXAK is cleared, an acknowledge signal will be sent at the 9th
clock bit. Reset clears this bit.
This bit is set to enable repeated START signal to be generated when in master mode transfer
(MMAST = 1). The REPSEN bit is cleared by hardware after the completion of repeated START signal
or when the MMAST bit is cleared. Reset clears this bit.
1 = MMIIC module enabled
0 = MMIIC module disabled
1 = MMTXIF, MMRXIF, MMALIF, and/or MMNAKIF bit set will generate interrupt request to CPU
0 = MMTXIF, MMRXIF, MMALIF, and/or MMNAKIF bit set will not generate interrupt request to CPU
1 = MMIIC does not send acknowledge signals at 9th clock bit
0 = MMIIC sends acknowledge signal at 9th clock bit
1 = Repeated START signal will be generated if MMAST bit is set
0 = No repeated START signal will be generated
Address: $0042
Bit 0 of the 8-bit calling address is the MMRW bit from the calling master.
Reset:
Read:
Write:
MMEN
Bit 7
Bit 7
Figure 8-5. Multi-Master IIC Control Register (MMCR)
0
1
0
0
= Unimplemented
MMIEN
0
6
1
0
6
0
MC68HC908JL16 Data Sheet, Rev. 1.1
5
0
0
0
5
0
0
NOTE
4
1
0
1
4
0
0
MMTXAK
3
0
0
1
3
0
REPSEN
2
1
0
0
2
0
Bit 1
0
0
0
1
0
0
Freescale Semiconductor
Bit 0
0
0

Related parts for mc68hc908jl16