| 전자부품 데이터시트 검색엔진 |
|
HT45F43 데이터시트(PDF) 51 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F43 데이터시트(HTML) 51 Page - Holtek Semiconductor Inc |
|
51 / 152 page ![]() 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 SLEEP or IDLE Mode, when a Watchdog Timer time-out occurs, 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 contents of the Watchdog Timer. The first is an external hardware reset, which means a low level on the RES pin, the second is using the Watchdog Timer software clear instructions and the third is via 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 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 WDT while for the second option, both ²CLR WDT1² and ²CLR WDT2² must both be executed alternately to successfully clear the Watchdog Timer. Note that for this second option, 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² instruction 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. The maximum time out period is when the 2 20 division ratio is selected. As an example, with a 32.768kHz LXT oscillator as its source clock, this will give a maximum watchdog period of around 32 seconds for the 2 20 division ratio, and a minimum timeout of 250ms for the 213 division ration. If the fSYS/4 clock is used as the Watchdog Timer clock source, it should be noted that when the system enters the SLEEP or IDLE0 Mode, then the instruction clock is stopped and the Watchdog Timer may lose its protecting purposes. For systems that operate in noisy environments, using the fSUB clock source is strongly recommended. HT45F23/HT45F43 8-Bit Flash MCU with Op Amps & Comparators Rev. 1.20 51 September 15, 2011 8 - s t a g e D i v i d e r f S W D T T i m e - o u t ( 2 1 3 / f S ~ 2 2 0 / f S ) f S / 2 8 W D T P r e s c a l e r 8 - t o - 1 M U X 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 U B W S 2 ~ W S 0 M U X f S Y S / 4 M U X L X T L I R C C o n f i g u r a t i o n O p t i o n C o n f i g u r a t i o n O p t i o n Watchdog Timer |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |