MC68HC05T16
MOTOROLA
6-7
M-BUS SERIAL INTERFACE
6
6.3.3
M-Bus Control Register (MCR)
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.
Address
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$39
MEN
MIEN
MSTR
XMT
ACKEB
0000 0000
TPG
59
Summary of Contents for MC68HC05T16
Page 2: ......
Page 14: ...MOTOROLA vi MC68HC05T16 THIS PAGE LEFT BLANK INTENTIONALLY TPG 12 ...
Page 16: ...MOTOROLA viii MC68HC05T16 THIS PAGE LEFT BLANK INTENTIONALLY TPG 14 ...
Page 18: ...MOTOROLA x MC68HC05T16 THIS PAGE LEFT BLANK INTENTIONALLY TPG 16 ...
Page 54: ...MOTOROLA 5 12 MC68HC05T16 TIMERS 5 THIS PAGE LEFT BLANK INTENTIONALLY TPG 52 ...
Page 64: ...MOTOROLA 6 10 MC68HC05T16 M BUS SERIAL INTERFACE 6 THIS PAGE LEFT BLANK INTENTIONALLY TPG 62 ...
Page 110: ...MOTOROLA 12 4 MC68HC05T16 LOW POWER MODES 12 THIS PAGE LEFT BLANK INTENTIONALLY TPG 108 ...
Page 116: ...MOTOROLA 13 6 MC68HC05T16 OPERATING MODES 13 THIS PAGE LEFT BLANK INTENTIONALLY TPG 114 ...