MC68HC05T16
MOTOROLA
4-9
RESETS AND INTERRUPTS
4
1) An arbitration lost which is signified by the Arbitration Lost flag, ALOST of
M-Bus Status Register.
2) Addressed as slave which is indicated by the master addressed as slave
flag, SELTED of M-Bus Status Register.
3) Completed transmission or reception of one byte of data. It depends on the
original mode of the M-Bus interface which is determined by the
Transmit/Receive flag, XMT of M-Bus Control Register.
MCF - Data Transfer Complete Flag
1 (set)
–
A byte transfer has been completed.
0 (clear) –
A byte is being transfer.
SELTED - Addressed as Slave
1 (set)
–
Currently addressed as a slave.
0 (clear) –
Currently not addressed.
When its own specific address (M-Bus Address register) matches the calling address, this bit is
set. An interrupt is generated if the MIEN bit is set. Then CPU needs to check the SRW bit and set
its XMT bit accordingly. Writing to the M-Bus Control register clears this bit.
ALOST - Arbitration Lost
This arbitration lost bit is set by hardware when the M-bus master loses arbitration during a master
transmission mode. This bit must be cleared by software.
On entering the interrupt service routine, the M-Bus interrupt flag, MIF of M-Bus Status Register
must be cleared by software.
The interrupt service routine address is specified by the contents of memory location $FFF4 and
$FFF5. Reset disables the whole M-Bus block by clearing the M-Bus Control Register.
Refer to Section 6 for detailed description of M-Bus.
Address
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
M-Bus Status Register
$3A
MCF SELTED BBSY ALOST
SRW
MIF
RXACKB
1000 0001
TPG
37
Содержание MC68HC05T16
Страница 2: ......
Страница 14: ...MOTOROLA vi MC68HC05T16 THIS PAGE LEFT BLANK INTENTIONALLY TPG 12 ...
Страница 16: ...MOTOROLA viii MC68HC05T16 THIS PAGE LEFT BLANK INTENTIONALLY TPG 14 ...
Страница 18: ...MOTOROLA x MC68HC05T16 THIS PAGE LEFT BLANK INTENTIONALLY TPG 16 ...
Страница 26: ...MOTOROLA 2 6 MC68HC05T16 PIN DESCRIPTIONS AND INPUT OUTPUT PORTS 2 THIS PAGE LEFT BLANK INTENTIONALLY TPG 24 ...
Страница 54: ...MOTOROLA 5 12 MC68HC05T16 TIMERS 5 THIS PAGE LEFT BLANK INTENTIONALLY TPG 52 ...
Страница 64: ...MOTOROLA 6 10 MC68HC05T16 M BUS SERIAL INTERFACE 6 THIS PAGE LEFT BLANK INTENTIONALLY TPG 62 ...
Страница 92: ...MOTOROLA 10 4 MC68HC05T16 ANALOG TO DIGITAL CONVERTER 10 THIS PAGE LEFT BLANK INTENTIONALLY TPG 90 ...
Страница 106: ...MOTOROLA 11 14 MC68HC05L1 CPU CORE AND INSTRUCTION SET 11 THIS PAGE LEFT BLANK INTENTIONALLY TPG 104 ...
Страница 110: ...MOTOROLA 12 4 MC68HC05T16 LOW POWER MODES 12 THIS PAGE LEFT BLANK INTENTIONALLY TPG 108 ...
Страница 116: ...MOTOROLA 13 6 MC68HC05T16 OPERATING MODES 13 THIS PAGE LEFT BLANK INTENTIONALLY TPG 114 ...
Страница 122: ...MOTOROLA 14 6 MC68HC05T16 ELECTRICAL SPECIFICATIONS 14 THIS PAGE LEFT BLANK INTENTIONALLY TPG 120 ...
Страница 124: ...MOTOROLA 15 2 MC68HC05T16 MECHANICAL SPECIFICATIONS 15 THIS PAGE LEFT BLANK INTENTIONALLY TPG 122 ...
Страница 127: ...2 1 3 4 5 6 7 8 9 10 11 12 13 14 15 ...