mc68hc05bs8 Freescale Semiconductor, Inc, mc68hc05bs8 Datasheet - Page 68

no-image

mc68hc05bs8

Manufacturer Part Number
mc68hc05bs8
Description
Mc68hc05 Family Of Low-cost Single-chip Microcontrollers.
Manufacturer
Freescale Semiconductor, Inc
Datasheet
8
8.3.4
The MIF and MAL bits are software clearable; while the other bits are read only.
MCF - Data Transfer Complete
When MCF is set, the MIF (M-Bus interrupt) bit is also set. An M-Bus interrupt is generated if the
MIEN bit is set.
MAAS - Addressed as Slave
This MAAS bit is set when its own specific address (M-Bus Address register) matches the calling
address. When MAAS is set, the MIF (M-Bus interrupt) bit is also set. An interrupt is generated if
the MIEN bit is set. Then CPU needs to check the SRW bit and set its MTX bit accordingly. Writing
to the M-Bus Control register clears this bit.
MBB - Bus Busy
This bit indicates the status of the bus. When a START signal is detected, MBB is set. When a
STOP signal is detected, it is cleared.
MAL - Arbitration Lost
This arbitration lost flag is set when the M-Bus master loses arbitration during a master
transmission mode. When MAL is set, the MIF (M-Bus interrupt) bit is also set. This bit must be
cleared by software.
8-8
1 (set)
0 (clear) –
1 (set)
0 (clear) –
1 (set)
0 (clear) –
1 (set)
0 (clear) –
Address
$003C
M-Bus Status Register (MSR)
MCF
bit 7
A byte transfer has been completed.
A byte is being transfer.
Currently addressed as a slave.
Not currently addressed.
M-Bus busy.
M-Bus idle.
Lost arbitration in master mode.
No arbitration lost.
MAAS
bit 6
MBB
bit 5
M-BUS SERIAL INTERFACE
bit 4
MAL
bit 3
SIF
SRW
bit 2
bit 1
MIF
RXAK
bit 0
1000 0001
on reset
MC68HC05BS8
State
TPG

Related parts for mc68hc05bs8