M-Bus Control Register (Mcr) - Motorola MC68HC05T16 Technical Data Manual

Table of Contents

Advertisement

6.3.3

M-Bus Control Register (MCR)

Address
bit 7
$39
MEN
Register bit definitions:
MEN - M-Bus Enable
1 (set)
M-Bus interface system enabled.
0 (clear) –
M-Bus interface system disabled.
MIEN - M-Bus Interrupt Enable
1 (set)
M-Bus interrupt enabled.
0 (clear) –
M-Bus interrupt disabled.
This bit enables the MIF (in MSR) for M-Bus interrupts.
MSTR - Master/Slave Select Bit
1 (set)
M-Bus is set for master mode operation.
0 (clear) –
M-Bus is set for slave mode operation.
Upon reset, this bit is cleared. When this bit is changed from 0 to 1, a START signal is generated
on the bus, and the master mode is selected. When this bit is changed from 1 to 0, a STOP signal
is generated and the operation mode changes from master to slave. In master mode, a bit clear
immediately followed by a bit set of this bit generates a repeated START signal without generating
a STOP signal.
XMT - Transmit/Receive Mode Select Bit
1 (set)
M-Bus is set for transmit mode.
0 (clear) –
M-Bus is set for receive mode.
ACKEB - Acknowledge Enable Bit
1 (set)
Do not send acknowledge signal.
0 (clear) –
Send acknowledge signal at 9th clock bit.
If cleared, an acknowledge signal will be sent out to the bus at the 9th clock bit after receiving one
byte of data. If set, no acknowledge signal response. This is an active low control bit.
MC68HC05T16
bit 6
bit 5
bit 4
MIEN
MSTR
XMT
ACKEB
M-BUS SERIAL INTERFACE
bit 3
bit 2
bit 1
State
bit 0
on reset
0000 0000
TPG
MOTOROLA
6-7
6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc705t16

Table of Contents