| 数据搜索系统,热门电子元器件搜索 |
|
HT95L10P 数据表(PDF) 13 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT95L10P 数据表(HTML) 13 Page - Holtek Semiconductor Inc |
|
13 / 42 page ![]() HT95L100/10P Rev. 0.10 13 October 1, 2002 Preliminary CLR WDT instruction will clear the WDT. In the case that ²CLR WDT1² and ²CLR WDT2² are chosen (i.e. Two clear instructions), these two instructions must be exe- cuted to clear the WDT; otherwise, the WDT may reset the chip as a result of time-out. Controller operation mode Holtek ¢s telephone controllers support two system clock and four operation modes. The system clock could be 32768Hz or 3.58MHz and operation mode could be Nor- mal, Green, Sleep or Idle mode. These are all selected by the software. The following conditions will force the operation mode to change to Green mode: · Any reset condition from any operation mode · Any interrupt from Sleep mode or Idle mode · Port A wake-up from Sleep mode or Idle mode How to change the Operation Mode · Normal mode to Green mode: Clear MODE1 to 0, then operation mode is changed to Green mode but the UPEN status is not changed. However, UPEN can be cleared by software. · Normal mode or Green mode to Sleep mode: Step 1: Clear MODE0 to 0 Step 2: Execute HALT instruction After Step 2, operation mode is changed to Sleep mode, the UPEN and MODE1 are cleared to 0 by hardware. · Normal mode or Green mode to Idle mode: Step 1: Set MODE0 to 1 Step 2: Execute HALT instruction After Step 2, operation mode is changed to Idle mode, the UPEN and MODE1 are cleared to 0 by hardware. · Green mode to Normal mode: Step 1: Set UPEN to 1 Step 2: Software delay 20ms at least Step 3: Set MODE1 to 1 After Step 3, operation mode is changed to Normal mode. · Sleep mode or Idle mode to Green mode: Method 1: Any reset condition occurred Method 2: Any interrupt is active Method 3: Port A wake-up Note: The Timer 0, Timer 1, RTC and dialer I/O inter- rupt function will not work at the Idle mode be- cause the 32768Hz crystal is stopped. The reset conditions include power on reset, external re- set, WDT time-out reset. By examining the processor status flag, PD and TO, the program can distinguish be- tween different ²reset conditions². Refer to the Reset function for detailed description. The port A wake-up and interrupt can be considered as a continuation of normal execution. Each bit in port A can be independently selected to wake-up the device by mask option. Awakening from Port A stimulus, the pro- gram will resume execution of the next instruction. Any valid interrupts from Sleep mode or Idle mode may cause two sequences. One is if the related interrupt is disabled or the interrupt is enabled but the stack is full, the program will resume execution at the next instruc- tion. The other is if the interrupt is enabled and the stack is not full, the regular interrupt response takes place. It is necessary to mention that if an interrupt request flag is set to ²1² before entering the Sleep mode or Idle mode, the wake-up function of the related interrupt will be dis- abled. Register Label Bits R/W Function MODE (26H) ¾ 4~0 RO Unused bit, read as ²0² UPEN 5 RW 1: Enable frequency up conversion function to generate 3.58MHz 0: Disable frequency up conversion function to generate 3.58MHz MODE0 6 RW 1: Disable 32768Hz oscillator while the HALT instruction is executed (Idle mode) 0: Enable 32768Hz oscillator while the HALT instruction is executed (Sleep mode) MODE1 7 RW 1: Select 3.58MHz as CPU system clock 0: Select 32768Hz as CPU system clock Operation mode description HALT Instruction MODE1 MODE0 UPEN Operation Mode 32768Hz 3.58MHz System Clock Not execute 1 X 1 Normal ON ON 3.58MHz Not execute 0 X 0 Green ON OFF 32768Hz Be executed 0 0 0 Sleep ON OFF HALT Be executed 0 1 0 Idle OFF OFF HALT Note: ²X² means don¢t care |
|
链接网址 |
| 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 |