| 数据搜索系统,热门电子元器件搜索 |
|
ST6380 数据表(PDF) 20 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST6380 数据表(HTML) 20 Page - STMicroelectronics |
|
20 / 82 page ![]() 20/82 ST6380, ST6381, ST6382, ST6383, ST6388, ST6389 RESETS (Cont’d) 3.2.3 Watchdog Reset The MCU provides a Watchdog timer function in order to ensure graceful recovery from software upsets. If the Watchdog register is not refreshed before an end-of-count condition is reached, the internal reset will be activated. This, amongst oth- er things, resets the watchdog counter. The MCU restarts just as though the Reset had been generated by the RESET pin, including the built-in stabilisation delay period. 3.2.4 Application Note No external resistor is required between VDD and the Reset pin, thanks to the built-in pull-up device. 3.2.5 MCU Initialization Sequence When a reset occurs the stack is reset, the PC is loaded with the address of the Reset Vector (locat- ed in program ROM starting at address 0FFEh). A jump to the beginning of the user program must be coded at this address. Following a Reset, the In- terrupt flag is automatically set, so that the CPU is in Non Maskable Interrupt mode; this prevents the initialisation routine from being interrupted. The in- itialisation routine should therefore be terminated by a RETI instruction, in order to revert to normal mode and enable interrupts. If no pending interrupt is present at the end of the initialisation routine, the MCU will continue by processing the instruction immediately following the RETI instruction. If, how- ever, a pending interrupt is present, it will be serv- iced. Figure 15. Reset and Interrupt Processing Figure 16. Reset Circuit RESET RESET VECTOR JP JP:2 BYTES/4 CYCLES RETI RETI: 1 BYTE/2 CYCLES INITIALIZATION ROUTINE VA00181 VA0200E TO ST6 RESET ST6 INTERNAL RESET OSCILLATOR SIGNAL WATCHDOG RESET VDD 300k RESET (ACTIVE LOW) COUNTER 1k POWER ON/OFF RESET |
|
链接网址 |
| 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 |