|
MC68HC05L28 Datasheet, PDF (89/156 Pages) Motorola, Inc – Flexible general-purpose microcomputer | |||
|
◁ |
MBB â Bus busy
1 (set) â Bus is busy.
0 (clear) â Bus is idle.
This bit indicates the status of the bus. When a START signal is detected, MBB is set. When a
STOP signal is detected, MBB is cleared.
MAL â Arbitration lost
1 (set) â Arbitration lost.
0 (clear) â Default state.
MAL is set by hardware when the arbitration procedure is lost during a master transmission mode.
This bit must be cleared by software.
Bit 3 â Not implemented; always reads zero.
SRW â Read/write command
1 (set) â R/W command bit is set (read).
0 (clear) â R/W command bit is clear (write).
When MAAS is set, the R/W command bit of the calling address sent from a master is latched into
this bit. On checking this bit, the CPU can select slave transmit/receive mode according to the
command of the master.
8
MIF â I2C-bus interrupt ï¬ag
1 (set) â An I2C-bus interrupt is pending.
0 (clear) â No I2C-bus interrupt is pending.
When this bit is set, an I2C-bus interrupt is generated provided the MIEN bit in the MCR register
is set. MIF is set when one of the following events occurs:
1) The transfer of one byte of data is complete; MIF is set at the falling edge of
the ninth clock after the byte has been received.
2) A calling address is received which matches the address of the I2C-bus in
slave receive mode.
3) Arbitration is lost.
MIF must be cleared by software in the interrupt routine.
RXAK â Received acknowledge bit
1 (set) â No acknowledge signal has been detected at the ninth clock after the
transmission of a byte of data.
0 (clear) â An acknowledge bit has been received at the ninth clock after the
transmission of a byte of data.
MC68HC05L28
I2C-BUS
TPG
MOTOROLA
8-9
|
▷ |