|
MC68HC05BD3 Datasheet, PDF (40/112 Pages) Motorola, Inc – HCMOS microcontroller | |||
|
◁ |
Then CPU needs to check the SRW bit and set its MTX bit accordingly. Writing to the M-Bus
Control register clears this bit.
MAL - Arbitration Lost
1 (set) â Lost arbitration in master mode.
0 (clear) â No arbitration lost.
Refer to Section 7 for detailed description of M-Bus Interface.
4
4.2.2.4 Multi-Function Timer Interrupts
There are two interrupt sources, TOF and RTIF bits of Multi-Function Timer Control and Status
Register. The interrupt service routine address is speciï¬ed by the contents of memory location
$3FF4 and $3FF5.
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
MFT Control and Status Register $0008 TOF RTIF TOFIE RTIE IRQN
RT1 RT0 0000 0011
TOF - Timer Overï¬ow
1 (set) â 8-bit ripple timer overï¬ow has occurred.
0 (clear) â No 8-bit ripple timer overï¬ow has occurred.
This bit is set when the 8-bit ripple counter overï¬ows from $FF to $00; a timer overï¬ow interrupt
will occur, if TOFIE is set. TOF is cleared by writing a â0â to the bit.
RTIF - Real Time Interrupt Flag
1 (set) â A real time interrupt has occurred.
0 (clear) â A real time interrupt has not occurred.
The clock frequency that drives the RTI circuit is E/16384, giving a maximum interrupt period of
8.19ms at a bus clock rate of 2MHz. A CPU interrupt request will be generated if RTIE is set. RTIF
is cleared by writing a â0â to the bit.
Refer to Section 5 for detailed description of Multi-Function Timer.
MOTOROLA
4-8
RESETS AND INTERRUPTS
TPG
MC68HC05BD3
|
▷ |