| Os motores de busca de Datasheet de Componentes eletrônicos |
|
HT49R50 Folha de dados(PDF) 19 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT49R50 Folha de dados(HTML) 19 Page - Holtek Semiconductor Inc |
|
19 / 59 page ![]() HT49R50 19 October 22, 1999 · All I/O ports maintain their original status. · The PD flag is set but the TO flag is cleared. · LCD driver is still running (if the WDT OSC or RTC OSC is selected). The system quits the HALT mode by an external reset, an interrupt, an external falling edge sig- nal on port A, or a WDT overflow. An external re- set causes device initialization, and the WDT overflow performs a "warm reset". After examin- ing the TO and PD flags, the reason for chip re- set can be determined. The PD flag is cleared by system power-up or by executing the "CLR WDT" instruction, and is set by executing the "HALT" instruction. On the other hand, the TO flag is set if WDT time-out occurs, and causes a wake-up that only resets the PC (Program Counter) and SP, and leaves the others at their original state. The port A wake-up and interrupt methods can be considered as a continuation of normal exe- cution. Each bit in port A can be independently selected to wake up the device by options. Awakening from an I/O port stimulus, the pro- gram resumes execution of the next instruc- tion. On the other hand, awakening from an interrupt, two sequences may occur. If the re- lated interrupt is disabled or the interrupt is enabled but the stack is full, the program re- sumes execution at the next instruction. But if the interrupt is enabled, and the stack is not full, the regular interrupt response takes place. When an interrupt request flag is set before en- tering the "halt" status, the system cannot be awaken using that interrupt. If wake-up events occur, it takes 1024 tSYS (sys- tem clock period) to resume normal operation. In other words, a dummy period is inserted af- ter the wake-up. If the wake-up results from an interrupt acknowledgment, the actual inter- rupt subroutine execution is delayed by more than one cycle. However, if the Wake-up results in the next instruction execution, the execution will be performed immediately after the dummy period is finished. To minimize power consumption, all the I/O pins should be carefully managed before enter- ing the HALT status. Reset There are three ways in which reset may occur. · RES is reset during normal operation · RES is reset during HALT · WDT time-out is reset during normal operation The WDT time-out during HALT differs from other chip reset conditions, for it can perform a "warm reset" that resets only the PC and SP and leaves the other circuits at their original state. Some registers remain unaffected during any other reset conditions. Most registers are reset to the "initial condition" once the reset conditions are met. Examining the PD and TO flags, the program can distinguish between dif- ferent chip resets . TO PD RESET Conditions 0 0 RES reset during power-up uu RES reset during normal operation 0 1 RES Wake-up HALT 1u WDT time-out during normal operation 1 1 WDT Wake-up HALT Note: "u" means "unchanged" RE S V DD Reset circuit |
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | Lista de Fabricantes 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 |