| Electronic Components Datasheet Search |
|
HT46R063B Datasheet(PDF) 31 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46R063B Datasheet(HTML) 31 Page - Holtek Semiconductor Inc |
|
31 / 96 page ![]() HT46R064B/065B/066B Rev. 1.00 31 April 8, 2011 Under normal program operation, a Watchdog Timer time-out will initialise a device reset and set the status bit TO. However, if the system is in the Idle/Sleep Mode, when a Watchdog Timer time-out occurs, the device will be woken up, the TO bit in the status register will be set and only the Program Counter and Stack Pointer will be reset. Three methods can be adopted to clear the con- tents of the Watchdog Timer. The first is an external hardware reset, which means a low level on the external reset pin, the second is using the Clear Watchdog Timer software instructions and the third is when a HALT in- struction is executed. 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 single ²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 Watchdog Timer while for the second option, both ²CLR WDT1² and ²CLR WDT2² must both be executed to successfully clear the Watchdog Timer. Note that for this second op- tion, if ²CLR WDT1² is used to clear the Watchdog Timer, successive executions of this instruction will have no effect, only the execution of a ²CLR WDT2² in- struction will clear the Watchdog Timer. Similarly after the ²CLR WDT2² instruction has been executed, only a successive ²CLR WDT1² instruction can clear the Watchdog Timer. · WDTS Register Bit 76543210 Name ¾¾¾¾¾ WS2 WS1 WS0 R/W ¾¾¾¾¾ R/W R/W R/W POR ¾¾¾¾¾ 111 Bit 7~3 : unimplemented, read as ²0² Bit 2~0 WS2, WS1, WS0: WDT time-out period selection 000: 2 8 t WDTCK 001: 2 9 t WDTCK 010: 2 10 t WDTCK 011: 2 11 t WDTCK 100: 2 12 t WDTCK 101: 2 13 t WDTCK 110: 2 14 t WDTCK 111: 2 15 t WDTCK 1 5 s t a g e c o u n t e r W D T T i m e - o u t W S 2 ~ W S 0 C o n f i g . O p t i o n S e l e c t W D T C l o c k S o u r c e S e l e c t i o n 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 f S Y S / 4 L I R C L X T f W D T C K 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 |