MC68HC05T16
MOTOROLA
4-5
RESETS AND INTERRUPTS
4
4.2.1
Hardware Controlled Sequences
The following three functions are not strictly interrupts, however, they are tied very closely to the
interrupts. These functions are RESET, STOP, WAIT.
1) RESET
The RESET input pin causes the program to go to its starting
address. This address is specified by the contents of memory
locations $FFFE and $FFFF. The interrupt mask of the condition
code register is also set. Most parts of the MCU is configured to
some known state as described in Table 4-1.
2) STOP
The STOP instruction causes the oscillator to be turned off and
the processor “sleeps” until an external interrupt (IRQ) or RESET
occurs. See section 12 on Low Power Modes.
3) WAIT
The WAIT instruction causes all processor clocks to stop, but
leaves the Timer and PAC clocks running. This “rest” state of the
processor can be exited by RESET, an external interrupt (IRQ),
or any of the interrupts described above. There are no special
wait vectors for these individual interrupts. See section 12 on
Low Power Modes.
Table 4-2 Reset/Interrupt Vector Addresses
Register
Flag Name
Interrupt
CPU Interrupt
Vector Address
–
–
Reset
RESET
$FFFE-$FFFF
–
–
Software
SWI
$FFFC-$FFFD
OSD Status
VFLB
Vertical Flyback
OSD
$FFFA-$FFFB
R3CF/R2CF/
R1CF/R0CF
OSD Row Completion
–
–
External Interrupt
IRQ
$FFF8-$FFF9
Timer Status
ICF
Input Capture
TIMER $FFF6-$FFF7
OC0F/OC1F
Output Compare
TOF
Timer Overflow
M-Bus Status
ALOST
Arbitration Loss
M-BUS
$FFF4-$FFF5
SELTED
Addressed as Slave
MCF
Transfer Complete
PAC Control
PAOF
Pulse Accumulator Overflow
PAC
$FFF2-$FFF3
Multi-Function
Timer
RTIF
Real Time Interrupt
MFT
$FFF0-$FFF1
TOF
Timer Overflow
TPG
33
Содержание 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 ...