| Electronic Components Datasheet Search |
|
HT49C10 Datasheet(PDF) 17 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT49C10 Datasheet(HTML) 17 Page - Holtek Semiconductor Inc |
|
17 / 47 page ![]() HT49C10 17 September 28, 1999 8 15 ( f s / 2 ~ fs /2 ) D i v i der fs 8 to 1 Mu x . P r e sca l e r RT 2 RT 1 RT 0 RT C I n t e r r u p t Real time clock · 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 Coun- ter) and SP, and leaves the others at their origi- nal 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 mask option. Awakening from an I/O port stimulus, the pro- gram resumes execution of the next instruction. On the other hand, awakening from an inter- rupt, two sequences may occur. If the related in- terrupt is disabled or the interrupt is enabled, but the stack is full, the program resumes exe- cution at the next instruction. But if the inter- rupt 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 a wake-up event occurs, it takes 1024 tSYS (system clock period) to resume normal opera- tion. In other words, a dummy period is in- serted. If the wake-up results from an interrupt acknowledgment, the actual interrupt subrou- tine execution is delayed by more than one cy- cle. However, if the wake-up results in the next instruction execution, the execution will be per- formed 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 a 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² |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |