| Electronic Components Datasheet Search |
|
HT82B40R Datasheet(PDF) 28 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT82B40R Datasheet(HTML) 28 Page - Holtek Semiconductor Inc |
|
28 / 57 page ![]() HT82B40R/HT82B40A Rev. 1.10 28 September 4, 2009 No matter what the source of the wake-up event is, once a wake-up situation occurs, a time period equal to 1024 system clock periods will be required before normal sys- tem operation resumes. However, if the wake-up has originated due to an interrupt, the actual interrupt sub- routine execution will be delayed by an additional one or more cycles. If the wake-up results in the execution of the next instruction following the ²HALT² instruction, this will be executed immediately after the 1024 system clock period delay has ended. Watchdog Timer The WDT clock source is implemented by a dedicated RC oscillator (WDT oscillator) or instruction clock (sys- tem clock divided by 4), enabled using a configuration option. This timer is designed to prevent a software mal- function or sequence jumping to an unknown location with unpredictable results. If the Watchdog Timer is dis- abled, all the executions related to the WDT results in no operation. Once the internal WDT oscillator (RC oscillator normally with a period of 78 ms) is selected, it is first divided by 256 (8-stages) to get the nominal time-out period of approxi- mately 20ms. This time-out period may vary with tem- perature, VDD and process variations. By using the WDT prescaler, longer time-out periods can be realized. Writing data to WS2, WS1, WS0 (bit 2, 1, 0 of the WDTS) can give different time-out periods. If WDTS2, WDTS1, WDTS0 are all equal to ²1², the division ratio is up to 1:128, and the maximum time-out period is 2.6s. If the WDT oscillator is disabled, the WDT clock source may still come from the instruction clock and operate in the same manner except that in the Power down Mode state the WDT may stop counting and lose its protecting purpose. In this situation the WDT logic can be restarted by external logic. The high nibble and bit 3 of the WDTS are reserved for user defined flags, which can be used to indicate some specified status. If the device operates in a noisy environment, using the on-chip RC oscillator (WDT OSC) is strongly recom- mended, since the HALT will stop the system clock. Bit No. Label Function 0 1 2 WDTS0 WDTS1 WDTS2 Watchdog Timer division ratio selection bits Bit 2,1,0 = 000, division ratio = 1:1 Bit 2,1,0 = 001, division ratio = 1:2 Bit 2,1,0 = 010, division ratio = 1:4 Bit 2,1,0 = 011, division ratio = 1:8 Bit 2,1,0 = 100, division ratio = 1:16 Bit 2,1,0 = 101, division ratio = 1:32 Bit 2,1,0 = 110, division ratio = 1:64 Bit 2,1,0 = 111, division ratio = 1:128 3 WDTS3 Bit3=1, D+, and D- connected to 510k W pull-high resistor Bit3=0, No pull-high - default at MCU reset 4~6 ¾ Not used 7 WDTS7 Bit7=1, USB reset signal can reset MCU and set URST_FLAG (bit 2 of 1AH) (default on at MCU reset) Bit7=0, USB reset signal cannot reset MCU WDTS Register 8 - b i t C o u n t e r ( ¸ 2 5 6 ) 7 - b i t P r e s c a l e r 8 - t o - 1 M U X W D T T i m e - o u t W S 0 ~ W S 2 W D T C l o c k S o u r c e C l e a r W D T T y p e C o n f i g u r a t i o n O p t i o n C L R W D T 1 F l a g C L R W D T 2 F l a g 1 o r 2 I n s t r u c t i o n s C L R C L R f S Y S / 4 W D T O s c i l l a t o r W D T C l o c k S o u r c e C o n f i g u r a t i o n O p t i o n Watchdog 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 |