| 数据搜索系统,热门电子元器件搜索 |
|
ST63140 数据表(PDF) 25 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST63140 数据表(HTML) 25 Page - STMicroelectronics |
|
25 / 86 page ![]() MCU Initialization Sequence When a reset occurs the stack is reset to the pro- gram counter, the PC is loaded with the address of the reset vector (located in the program ROM at addresses FFEh & FFFh). A jump instruction to the beginning of the program has to be written into these locations. After a reset a NMI is automat- ically activated so that the core is in non-maskable interrupt mode to prevent false or ghost interrupts during the restart phase. Therefore the restart rou- tine should be terminated by a RETI instruction to switch to normal mode and enable interrupts. If no pending interrupt is present at the end of the reset routine the ST631xx will continue with the instruc- tion after the RETI; otherwise the pending interrupt will be serviced. RESET IS RESET STILL PRESENT ? YES NO VA000427 NMI MASK SET INT LATCH CLEARED ( IF PRESENT ) SELECT NMI MODE FLAGS PUT FFEh ON ADDRESS BUS LOAD PC FROM RESET LOCATIONS FFE / FFF FETCH INSTRUCTION Figure 21. Reset & Interrupt Processing Flow-Chart JP RESET VECTOR INITIALIZATION ROUTINE JP: 2 BYTES/4 CYCLES RETI: 1BYTES/2 CYCLES RETI VA 000181 RESET Figure 22. Restart Initialization Program Flow-Chart RESET (Continued) ® ST63140,142,126,156 21/82 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |