![Digi Rabbit 5000 Скачать руководство пользователя страница 82](http://html1.mh-extra.com/html/digi/rabbit-5000/rabbit-5000_user-manual_2496192082.webp)
82
Rabbit 5000 Microprocessor User’s Manual
6.2 Operation
To ensure proper operation, all interrupt handler routines should be written according to
the following guidelines.
•
Push all registers to be used by the routine onto the stack before use, and pop them off
the stack before returning from the ISR.
•
Keep the ISR as short and fast as possible. The use of assembly code is strongly recom-
mended.
•
If the ISR will run for some time, lower the interrupt priority as soon as possible within
the ISR to allow other interrupts to occur.
•
A number of special rules apply to interrupts when operating in the system/user mode;
please see the appropriate chapter for more details.
6.3 Interrupt Tables
Table 6-1 shows the structure of the internal interrupt vector table. The first column is the
vector address offset within the table. The second column shows the vectors in the first
256 bytes of the table, and the third column shows the vectors in the second 256 bytes.
Table 6-1. Internal Interrupt Vector Table Structure
Offset
Offset
Offset
0x00
Periodic Interrupt
—
0x10
Secondary Watchdog
—
0x20
RST 10
—
0x30
RST 18
—
0x40
RST20
—
0x50
RST 28
—
0x60
Syscall instruction
—
0x70
RST 38
PWM
0x80
Slave Port
Sys/User Mode Violation
0x90
Write Protect Violation
Quadrature Decoder
0xA0
Timer A
Input Capture
0xB0
Timer B
Stack Limit Violation
0xC0
Serial Port A
Serial Port E
0xD0
Serial Port B
Serial Port F
0xE0
Serial Port C
Network Port B/C
0xF0
Serial Port D
Timer C
Содержание Rabbit 5000
Страница 1: ...Rabbit 5000 Microprocessor User s Manual 019 0168_E...
Страница 11: ...Table of Contents Appendix B Rabbit 5000 Errata 401 B 1 Errata 401 Index 405...
Страница 12: ...Rabbit 5000 Microprocessor User s Manual...
Страница 20: ...20 Rabbit 5000 Microprocessor User s Manual...
Страница 36: ...36 Rabbit 5000 Microprocessor User s Manual...
Страница 56: ...56 Rabbit 5000 Microprocessor User s Manual...
Страница 92: ...92 Rabbit 5000 Microprocessor User s Manual...
Страница 104: ...104 Rabbit 5000 Microprocessor User s Manual...
Страница 122: ...122 Rabbit 4000 Microprocessor User s Manual...
Страница 142: ...142 Rabbit 5000 Microprocessor User s Manual...
Страница 214: ...214 Rabbit 5000 Microprocessor User s Manual...
Страница 228: ...228 Rabbit 5000 Microprocessor User s Manual...
Страница 280: ...280 Rabbit 5000 Microprocessor User s Manual...
Страница 298: ...298 Rabbit 5000 Microprocessor User s Manual...
Страница 306: ...306 Rabbit 5000 Microprocessor User s Manual...
Страница 314: ...314 Rabbit 5000 Microprocessor User s Manual...
Страница 368: ...368 Rabbit 5000 Microprocessor User s Manual...
Страница 388: ...388 Rabbit 5000 Microprocessor User s Manual...
Страница 396: ...396 Rabbit 5000 Microprocessor User s Manual...
Страница 404: ...404 Rabbit 5000 Microprocessor User s Manual...