7751 Group User’s Manual
INTERRUPTS
4–8
4.3.1 Interrupt disable flag (I)
All maskable interrupts can be disabled by this flag. When this flag is set to “1,” all maskable interrupts
are disabled; when the flag is cleared to “0,” those interrupts are enabled. Because this flag is set to “1”
at reset, clear the flag to “0” when enabling interrupts.
4.3.2 Interrupt request bit
When an interrupt request occurs, this bit is set to “1.” The bit remains set to “1” until the interrupt request
is accepted, and it is cleared to “0” when the interrupt request is accepted.
This bit also can be set to “0” or “1” by software.
____
____
For the INT
i
interrupt request bit (i = 0 to 2), when using the INT
i
interrupt with level sense, the bit is
ignored.
4.3.3 Interrupt priority level select bits and processor interrupt priority level (IPL)
The interrupt priority level select bits are used to determine the priority level of each interrupt. Use the SEB
or CLB instruction to set these bits.
When an interrupt request occurs, its interrupt priority level is compared with the processor interrupt priority
level (IPL). The requested interrupt is enabled only when the comparison result meets the following condition.
Accordingly, an interrupt can be disabled by setting its interrupt priority level to 0.
Each interrupt priority level > Processor interrupt priority level (IPL)
Table 4.3.1 lists the setting of interrupt priority level, and Table 4.3.2 lists the interrupt enabled level
corresponding to IPL contents.
All the interrupt disable flag (I), interrupt request bit, interrupt priority level select bits, and processor
interrupt priority level (IPL) are independent of one another; they do not affect one another. Interrupt
requests are accepted only when the following conditions are satisfied.
•Interrupt disable flag (I) = “0”
•Interrupt request bit = “1”
•Interrupt priority level > Processor interrupt priority level (IPL)
4.3 Interrupt control
Содержание 7700 FAMILY
Страница 2: ...MITSUBISHI 16 BIT SINGLE CHIP MICROCOMPUTER 7700 FAMILY 7751 SERIES 7751 Group User s Manual...
Страница 11: ...Table of Contents viii 7751 Group User s Manual MEMORANDUM...
Страница 12: ...CHAPTER 1 DESCRIPTION 1 1 Performance overview 1 2 Pin configuration 1 3 Pin description 1 4 Block diagram...
Страница 48: ...CHAPTER 3 INPUT OUTPUT PINS 3 1 Programmable I O ports 3 2 I O pins of internal peripheral devices...
Страница 157: ...TIMER B 6 28 7751 Group User s Manual 6 5 Pulse period pulse width measurement mode MEMORANDUM...
Страница 245: ...7751 Group User s Manual 8 36 A D CONVERTER Precautions when using A D converter MEMORANDUM...
Страница 246: ...CHAPTER 9 WATCHDOG TIMER 9 1 Block description 9 2 Operation description 9 3 Precautions when using watchdog timer...
Страница 254: ...CHAPTER 10 STOP MODE 10 1 Clock generating circuit 10 2 Operation description 10 3 Precautions for Stop mode...
Страница 260: ...CHAPTER 11 WAIT MODE 11 1 Clock generating circuit 11 2 Operation description 11 3 Precautions for Wait mode...
Страница 265: ...7751 Group User s Manual WAIT MODE 11 6 11 3 Precautions for Wait mode MEMORANDUM...
Страница 289: ...CONNECTION WITH EXTERNAL DEVICES 12 4 Hold function 7751 Group User s Manual 12 24 MEMORANDUM...
Страница 290: ...CHAPTER 13 RESET 13 1 Hardware reset 13 2 Software reset...
Страница 302: ...CHAPTER 14 CLOCK GENERATING CIRCUIT 14 1 Oscillation circuit example 14 2 Clock...
Страница 307: ...CLOCK GENERATING CIRCUIT 7751 Group User s Manual 14 6 14 2 Clock MEMORANDUM...
Страница 359: ...ELECTRICAL CHARACTERISTICS 7751 Group User s Manual 15 52 MEMORANDUM 15 15 Testing circuit for ports P0 to P8 1 and E...
Страница 360: ...CHAPTER 16 STANDARD CHARACTERISTICS 16 1 Standard characteristics...
Страница 365: ...STANDARD CHARACTERISTICS 16 1 Standard characteristics 7751 Group User s Manual 16 6 MEMORANDUM...
Страница 366: ...CHAPTER 17 APPLICATIONS 17 1 Memory expansion...
Страница 405: ...APPLICATIONS 7751 Group User s Manual 17 40 17 1 Memory expansion MEMORANDUM...
Страница 406: ...CHAPTER 18 PROM VERSION 18 1 EPROM mode 18 2 Usage precaution...
Страница 417: ...7751 Group User s Manual PROM VERSION 18 12 18 2 Usage precaution MEMORANDUM...
Страница 418: ...CHAPTER 19 FLASH MEMORY VERSION 19 1 Parallel input output mode 19 2 Serial input output mode...
Страница 451: ...FLASH MEMORY VERSION 7751 Group User s Manual 19 34 19 2 Serial input output mode MEMORANDUM...
Страница 483: ...APPENDIX 7751 Group User s Manual 20 32 Appendix 4 Package outlines Appendix 4 Package outlines 80P6N A...
Страница 484: ...APPENDIX 7751 Group User s Manual 20 33 Appendix 4 Package outlines 80D0...
Страница 489: ...APPENDIX 7751 Group User s Manual 20 38 Appendix 6 Hexadecimal instruction code table...
Страница 490: ...APPENDIX 7751 Group User s Manual 20 39 Appendix 6 Hexadecimal instruction code table...
Страница 491: ...APPENDIX 7751 Group User s Manual 20 40 Appendix 7 Machine instructions Appendix 7 Machine instructions...
Страница 492: ...APPENDIX 7751 Group User s Manual 20 41 Appendix 7 Machine instructions...
Страница 493: ...APPENDIX 7751 Group User s Manual 20 42 Appendix 7 Machine instructions...
Страница 494: ...APPENDIX 7751 Group User s Manual 20 43 Appendix 7 Machine instructions...
Страница 495: ...APPENDIX 7751 Group User s Manual 20 44 Appendix 7 Machine instructions...
Страница 496: ...APPENDIX 7751 Group User s Manual 20 45 Appendix 7 Machine instructions...
Страница 497: ...APPENDIX 7751 Group User s Manual 20 46 Appendix 7 Machine instructions...
Страница 498: ...APPENDIX 7751 Group User s Manual 20 47 Appendix 7 Machine instructions...
Страница 499: ...APPENDIX 7751 Group User s Manual 20 48 Appendix 7 Machine instructions...
Страница 500: ...APPENDIX 7751 Group User s Manual 20 49 Appendix 7 Machine instructions...
Страница 501: ...APPENDIX 7751 Group User s Manual 20 50 Appendix 7 Machine instructions...
Страница 502: ...APPENDIX 7751 Group User s Manual 20 51 Appendix 7 Machine instructions...
Страница 503: ...APPENDIX 7751 Group User s Manual 20 52 Appendix 7 Machine instructions...
Страница 504: ...APPENDIX 7751 Group User s Manual 20 53 Appendix 7 Machine instructions...
Страница 505: ...APPENDIX 7751 Group User s Manual 20 54 Appendix 7 Machine instructions...
Страница 506: ...APPENDIX 7751 Group User s Manual 20 55 Appendix 7 Machine instructions...
Страница 507: ...APPENDIX 7751 Group User s Manual 20 56 Appendix 7 Machine instructions...
Страница 508: ...APPENDIX 7751 Group User s Manual 20 57 Appendix 7 Machine instructions...
Страница 509: ...APPENDIX 7751 Group User s Manual 20 58 Appendix 7 Machine instructions...
Страница 510: ...APPENDIX 7751 Group User s Manual 20 59 Appendix 7 Machine instructions...
Страница 511: ...APPENDIX 7751 Group User s Manual 20 60 Appendix 7 Machine instructions...
Страница 535: ...APPENDIX Appendix 9 Q A 7751 Group User s Manual 20 84 MEMORANDUM...
Страница 536: ...GLOSSARY...
Страница 539: ...GLOSSARY 7751 Group User s Manual 4 MEMORANDUM...