| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
MPD78CP18KB bảng dữ liệu(PDF) 180 Page - NEC |
|
|
|||||||||||||||||||||||||||||
MPD78CP18KB bảng dữ liệu(HTML) 180 Page - NEC |
|
180 / 373 page ![]() CHAPTER 9 INTERRUPT CONTROL FUNCTIONS 162 When execution of the interrupt service routine ends, processing is performed to return to the address at which the interrupt was acknowledged. First, registers, flags, etc., other than the PSW which have been save are restored, and if necessary the IE F/F is set by the EI instruction. Next, the RETI instruction is used to restore the previously saved return address and PSW in the order: Lower PC byte, upper PC byte, PSW. Since interrupt servicing is performed for non-maskable interrupts irrespective of the status of the IE F/F, they are useful for program processing in the event of an emergency such as a power failure. The configuration of the NMI pin is shown in Figure 9-5. Although INTFNMI cannot be tested by a skip instruction, the NMI pin status can be tested by a skip instruction (SKIT NMI or SKNIT NMI). Thus, in the non-maskable interrupt service routine, relatively wide noise can be removed by testing the NMI pin status several times using a skip instruction. The NMI pin status is not changed when tested by a skip instruction. Caution The IE F/F is reset unconditionally when a non-maskable interrupt is generated, and the contents of the IE F/F prior to the non-maskable interrupt are not saved. Therefore, when returning to the main routine the original status of the IE F/F should be determined by means of the stack address when the non-maskable interrupt was generated. Figure 9-5. Internal Configuration of NMI Pin NMI DQ NMI S R Q Non-maskable interrupt request Non-maskable interrupt acknowledgment Test control µ PD78C18 |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |