參數(shù)資料
型號: HT46C63-100QEP-A
廠商: Holtek Semiconductor Inc.
英文描述: A/D with LCD Type 8-Bit MCU
中文描述: 在A / D液晶型8位微控制器
文件頁數(shù): 14/44頁
文件大?。?/td> 328K
代理商: HT46C63-100QEP-A
HT46R63/HT46C63
Rev. 1.90
14
May 17, 2004
results. The watchdog timer can be disabled by options.
If the watchdog timer is disabled, all the executions re-
lated to the WDT result in no operation. The WDT
time-out period is fixed as 2
16
/f
S
. The f
S
means the clock
frequency of WDT, time base, RTC and LCD. If
WDTOSC is selected as the WDT clock, the time-out
period may vary with temperatures, VDD and process
variations. The WDTOSC and RTCOSC can be still run-
ning (decided by option) at the halt mode if they are se-
lected as the WDT clock source. Once the 32.768kHz
oscillator (with a period of 31.25 s normally) is selected
to be the clock source of WDT (and LCD, RTC, Time
Base), it is directly divided by 2
16
to get the nominal
time-out period of 2 seconds. If the WDT clock comes
from the instruction clock, the WDT will stop counting
and lose its protecting purpose in halt mode. In this situ-
ation the logic can only be restarted by external logic. If
the device operates in a noisy environment, using the
RTCOSC or WDTOSC is strongly recommended, since
the HALT will stop the system clock.
The overflow of WDT under normal operation will initial-
ize chip reset and set the status bit TO . But in the
HALT mode, the overflow will initialize a warm reset ,
and only the PC and SP are reset to zero. To clear the
contents of WDT , 3 methods are adopted; external re-
set (a low level to RES)
, software instruction(s) and a
HALT instruction. The software instruction(s) include
CLR WDT and the other set
CLR WDT1 and CLR
WDT2 Of these two types of instruction, only one can
be active depending on the options
CLR WDT times
selection option . If the CLR WDT is selected (i.e.
CLRWDT times equal one), any execution of the CLR
WDT instruction will clear the WDT. In the case that
CLR WDT1 and CLR WDT2 are chosen (i.e. CLR
WDT times equal two), these two instructions must be
executed to clear the WDT; otherwise, the WDT may re-
set the chip as a result of time-out. The RTC oscillator
should be designed as an auto-speed-up oscillator. Af-
ter the RTC oscillator is oscillating, the auto-speed-up
should be turned off.
Time Base Generator
There is a time base generator implemented in the mi-
cro-controller. The time base generator provides
time-out periods selection whose range from f
S
/2
12
to
f
S
/2
15
. When the time base time-out occurs and the
stack is not full and the time base interrupt is enabled,
an interrupt subroutine call to ROM location 010H will
activate.
RTC Generator
There is an RTC generator implemented in the mi-
cro-controller. The RTC generator provides software
configurable real time clock periods whose range from
f
S
/2
8
to f
S
/2
15
.
When the RTC time-out occurs and the
stack is not full and the RTC interrupt is enabled, an in-
terrupt subroutine call to ROM location 018H will acti-
vate. The RTCC is the real time clock control register
used to select the division ratio of RTC clock sources.
RTCC.7~RTCC.3 cannot be used.
RTCC.2 RTCC.1 RTCC.0 RTC clock divided factor
0
0
0
2
8
0
0
1
2
9
0
1
0
2
10
0
1
1
2
11
1
0
0
2
12
1
0
1
2
13
1
1
0
2
14
1
1
1
2
15
Power Down Operation
HALT
The HALT mode is initialized by the HALT instruction
and results in the following...
The system oscillator will be turned off but the
WDTOSC or RTCOSC will stop or keep running de-
cided by option (If the WDTOSC or RTCOSC is se-
lected)
The contents of the on-chip RAM and registers remain
unchanged.
WDT will be cleared and recounted again (if the WDT
clock is from the WDTOSC or RTCOSC).
All of the I/O ports maintain their original status.
The PDF flag is set and the TO flag is cleared.
The system can leave the HALT mode by means of an
external reset, an interrupt, an external falling edge sig-
nal on port A or a WDT overflow. An external reset
causes a device initialization and the WDToverflow per-
forms a warm reset . After the TO and PDF flags are
examined, the reason for chip reset can be determined.
The PDF flag is cleared by system power-up or execut-
ing the CLR WDT instruction and is set when execut-
ing the HALT instruction. The TO flag is set if the WDT
time-out occurs, and causes a wake-up that only resets
the PC and SP; the others keep their original status.
The port A wake-up and interrupt methods can be con-
sidered as a continuation of normal execution. Each bit
in port A can be independently selected to wake up the
device by the option. Awakening from an I/O port stimu-
lus, the program will resume execution of the next in-
struction. If it is awakening from an interrupt, two
sequences may happen. If the related interrupt is dis-
abled or the interrupt is enabled but the stack is full, the
program will resume execution at the next instruction. If
theinterruptisenabledandthestackisnotfull,theregu-
lar interrupt response takes place. If an interrupt request
flag is set to 1 before entering the HALT mode, the
wake-upfunctionoftherelatedinterruptwillbedisabled.
相關PDF資料
PDF描述
HT46C63-56SSOP-A A/D with LCD Type 8-Bit MCU
HT46R63 A/D with LCD Type 8-Bit MCU
HT46C64 A/D with LCD Type 8-Bit MCU
HT46R64 A/D with LCD Type 8-Bit MCU
HT46R23 8-Bit OTP Microcontroller
相關代理商/技術參數(shù)
參數(shù)描述
HT46C63-56SSOP-A 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:A/D with LCD Type 8-Bit MCU
HT46C64 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:A/D with LCD Type 8-Bit MCU
HT46C64_11 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:A/D with LCD Type 8-Bit MCU
HT46C65 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:A/D with LCD Type 8-Bit MCU
HT46C65_11 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:A/D with LCD Type 8-Bit MCU