| Electronic Components Datasheet Search |
|
HT47C06L Datasheet(PDF) 10 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT47C06L Datasheet(HTML) 10 Page - Holtek Semiconductor Inc |
|
10 / 37 page ![]() HT47C06L Rev. 1.00 10 June 15, 2007 Multi-function Timer The HT47C06L provides a multi-function timer for the WDT and time base but with different time-out periods. The multi-function timer consists of an 8-stage divider and a 7-bit prescaler, with the clock source coming from fSYS. The multi-function timer also provides a selectable frequency signal (ranges from fS/2 3 to f S/2 6) for LCD driver circuits, and a selectable frequency signal (ranges from fS/2 2 to f S/2 5) for the buzzer output by op- tions. It is recommended to select a near 4kHz signal to LCD driver circuits for proper display. Time Base - TB The time base is used to supply a regular internal inter- rupt. Its time-out period ranges from fS/2 8 to f S/2 15 by software programming. Writing data to RT2, RT1 and RT0 (bits 2, 1, 0 of TBC;09H) yields various time-out periods. If a time base time-out occurs, the related inter- rupt request flag (TBF; bit 5 of INTC) is set. But if the in- terrupt is enabled, and the stack is not full, a subroutine call to location 08H occurs. When the HALT instruction is executed, the time base still works and can wake-up from HALT mode if fOSC is on. If the TBF is set to ²1² be- fore entering the HALT mode, the wake-up function will be disabled. RT2 RT1 RT0 Time Base Divided Factor 000 2 8 001 2 9 010 2 10 011 2 11 100 2 12 101 2 13 110 2 14 111 2 15 Power Down Operation - HALT The HALT mode is initialized by the ²HALT² instruction and results in the following: · The f OSC and fSYS will still work or stop depending on the LCD option, but T1 will be turned off. · The contents of the on-chip RAM and registers remain unchanged. · The WDT will be cleared and resume counting. · All I/O ports maintain their original status. · The PDF flag is set and the TO flag is cleared. · The LCD driver can be turned off or on depending on the LCD option. · The time base will stop or keep running depending on the LCD option. Port A wake-up and external interrupt wake-up methods can be considered as a continuation of normal execu- tion. Awakening from an I/O port stimulus, the program will resume execution at the next instruction. If awaken- ing from an external interrupt, two possibilities may occur. If the external interrupt is disabled or the external interrupt is enabled but the stack is full, the program will resume execution at the next instruction. If the external interrupt is enabled and the stack is not full, a regular in- terrupt response takes place. If an external interrupt request flag is set to ²1² before entering the HALT mode, the wake-up function of the re- lated interrupt will be disabled. If the wake-up results from an external interrupt ac- knowledge signal, the actual interrupt subroutine execu- tion will be delayed by more than one cycle. However, if the wake-up results in the next instruction execution fol- lowing the ²HALT², the execution will be performed im- mediately. To minimize power consumption, all the I/O pins should be carefully managed before entering the HALT mode. Reset There are three ways in which a reset may occur. · RES reset during normal operation · RES reset during HALT mode · WDT time-out reset during normal operation The WDT time-out reset during HALT mode is different from other chip reset conditions, since it can perform a warm reset that just resets the program counter and stack pointer leaving the other circuits in their original state. Some registers remain unchanged during other reset conditions. Most registers are reset to the ²initial condition ² when the reset conditions are met. By exam- ining the PDF and TO flags, the program can distinguish between different ²chip resets². 8 - s t a g e D i v i d e r 8 t o 1 M u x . 7 - b i t P r e s c a l e r f S f S / 2 8 S y s t e m C l o c k ( f S Y S ) L C D D r i v e r f S / 2 3 ~ f S / 2 6 B u z z e r f S / 2 2 ~ f S / 2 5 T i m e B a s e O u t R T 0 ~ R T 2 f S / 2 1 5 f S / 2 1 6 T F F R T F F R W D T C l e a r T i m e - o u t R e s e t f S / 2 ~ f S / 2 1 5 1 6 Multi-function Timer |
|
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 |