| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT49CU80 bảng dữ liệu(PDF) 14 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT49CU80 bảng dữ liệu(HTML) 14 Page - Holtek Semiconductor Inc |
|
14 / 54 page ![]() HT49RU80/HT49CU80 Rev. 1.20 14 December 16, 2009 If the WDT clock source chooses the internal WDT oscil- lator as its clock source, the time-out period may vary with temperature, VDD, and process variations. If the clock source is chosen to be the instruction clock, then when the power down mode is entered, it must be noted that the WDT will stop counting and lose its protective function. When the device operates in a noisy environment, using the WDT oscillator is strongly recommended, since the power down mode will stop the system clock. The WDT overflow under normal operation initialises a ²chip reset² and sets the status bit ²TO². In the power down mode, the overflow initialises a ²warm reset², and only the program counter and SP are reset to zero. To clear the WDT contents, there are three methods to be adopted. These are an external reset (a low level on the RES pin), a software instruction, and a ²HALT² instruction. There are two methods of using software instructions to clear the Watchdog Timer, one of which must be chosen by configuration option. The first option is to use the sin- gle ²CLR WDT² instruction while the second is to use the two commands ²CLR WDT1² and ²CLR WDT2². For the first option, a simple execution of ²CLR WDT² will clear the WDT while for the second option, both ²CLR WDT1 ² and ²CLR WDT2² must both be executed to successfully clear the WDT. Note that for this second option, if ²CLR WDT1² is used to clear the WDT, succes- sive executions of this instruction will have no effect, only the execution of a ²CLR WDT2² instruction will clear the WDT. Similarly after the ²CLR WDT2² instruc- tion has been executed, only a successive ²CLR WDT1² instruction can clear the Watchdog Timer. Multi-function Timer These devices provide a multi-function timer for the WDT, time base and RTC but with different time-out pe- riods. The multi-function timer consists of an 8-stage di- vider and a 7-bit prescaler, with the clock source coming from the WDT OSC, the RTC OSC or the instruction clock which is the system clock divided by 4. The multi-function timer also provides a selectable fre- quency signal, ranging from fS/2 2 to f S/2 8, for the LCD driver circuits, and a selectable frequency signal, ranging from fS/2 2 to f S/2 9, for the buzzer output selectable by configuration options. To obtain a proper display, it is recommended that a frequency as near as possible to 4kHz is selected for the LCD driver circuits. Time Base The time base offers a periodic time-out period to gener- ate a regular internal interrupt. Its time-out period ranges from /2 12 to f S/2 15 selected by a configuration op- tion. If a time base time-out occurs, the related interrupt request flag, TBF, will be set. If the interrupt is enabled, and the stack is not full, a subroutine call to location 18H will take place. The time base time-out signal can also be applied as a clock source to Timer/Event Counter 1 in order to get a longer time-out period. Real Time Clock - RTC The real time clock, abbreviated as RTC, is operated in the same manner as the time base in that it is used to supply a regular internal interrupt. Its time-out period ranges from fS/2 8 to f S/2 15 the actual value setup by soft- ware programming . Writing data to the RT2, RT1 and RT0 bits in the RTCC register provides various time-out periods. If an RTC time-out occurs, the related interrupt request flag, RTF, will be set. If the interrupt is enabled, and the stack is not full, a subroutine call to location 18H will take place. The real time clock time-out signal can also be used as a clock source for Timer/Event Counter 0 in order to get longer time-out periods. RT2 RT1 RT0 RTC Clock 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 Note: ²*² not recommended to be used f s D i v i d e r P r e s c a l e r O p t i o n L C D D r i v e r ( f S / 2 2 ~ f S / 2 8 ) B u z z e r ( f S / 2 2 ~ f S / 2 9 ) T i m e B a s e I n t e r r u p t f S / 2 1 2 ~ f S / 2 1 5 O p t i o n D i v i d e r f S 8 t o 1 M u x . P r e s c a l e r R T 2 R T 1 R T 0 R T C I n t e r r u p t f S / 2 8 ~ f S / 2 1 5 Real Time Clock |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |