欢迎访问ic37.com |
会员登录 免费注册
发布采购

HT46CU25 参数 Datasheet PDF下载

HT46CU25图片预览
型号: HT46CU25
PDF下载: 下载PDF文件 查看货源
内容描述: A / D型8位MCU [A/D Type 8-Bit MCU]
分类和应用:
文件页数/大小: 63 页 / 474 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT46CU25的Datasheet PDF文件第10页浏览型号HT46CU25的Datasheet PDF文件第11页浏览型号HT46CU25的Datasheet PDF文件第12页浏览型号HT46CU25的Datasheet PDF文件第13页浏览型号HT46CU25的Datasheet PDF文件第15页浏览型号HT46CU25的Datasheet PDF文件第16页浏览型号HT46CU25的Datasheet PDF文件第17页浏览型号HT46CU25的Datasheet PDF文件第18页  
HT46RU25/HT46CU25  
Time Base  
Once an internal WDT oscillator (RC oscillator with pe-  
riod 65ms at 5V normally) is selected, it is divided by  
2
The time base offers a periodic time-out period to gener-  
ate a regular internal interrupt. Its time-out period  
ranges from 212/fS to 215/fS selected by options. If time  
base time-out occurs, the related interrupt request flags  
(MFF bit 6 of the INTC1, TBF; bit 5 of the MFIC) are set.  
If the interrupts (EMFI and ETBI) are enabled, and the  
stack is not full, a subroutine call to location 18H occurs.  
TBF will not be cleared automatically, it should be  
cleared by user.  
12~215 (by option to get the WDT time-out period). The  
WDT time-out minimum period is 300ms~600ms. This  
time-out period may vary with temperature, VDD and  
process variations. By selection from the WDT option,  
longer time-out periods can be achieved. If the WDT  
time-out is selected at 215, the maximum time-out period  
is divided by 215~216 which is about 2.1s~4.3s.  
If the WDT oscillator is disabled, the WDT clock may still  
come from the instruction clock and operates in the  
same manner except that in the HALT state the WDT  
may stop counting and lose its protecting purpose. In  
this situation the logic can only be restarted by external  
logic. If the device operates in a noisy environment, us-  
ing the on-chip RC oscillator (WDT OSC) is strongly rec-  
ommended, since the HALT will stop the system clock.  
Real Time Clock - RTC  
The real time clock (RTC) is operated in the same  
manner as the time base that is used to supply a regular  
internal interrupt. Its time-out period ranges from fS/28 to  
fS/215 by software programming. Writing data to RT2,  
RT1 and RT0 (bits 2, 1, 0 of the RTCC; 09H) yields  
various time-out periods. If the RTC time-out occurs, the  
related interrupt request flags (MFF bit 6 of INTC1, RTF;  
bit 6 of MFIC) are set. If the interrupts (EMFI and ERTI)  
are enabled, and the stack is not full, a subroutine call to  
location 18H occurs. RTF will not be cleared  
automatically, it should be cleared by user.  
The WDT overflow under normal operation will initialize  
a ²chip reset² and set the status bit TO. Whereas in the  
HALT mode, the overflow will initialize a ²warm reset²  
and only the program counter and stack pointer are re-  
set to zero. To clear the contents of the WDT, three  
methods are adopted; external reset (a low level to  
RES), software instructions, or a HALT instruction. The  
software instructions 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  
option - ²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 case ²CLR WDT1² and ²CLR WDT2² are cho-  
sen (i.e. CLRWDT times equal two), these two instruc-  
tions must be executed to clear the WDT, otherwise, the  
WDT may reset the chip due of time-out.  
Bit No.  
Label  
Function  
0
1
2
RT0  
RT1  
RT2  
8 to 1 multiplexer control  
inputs to select the real clock  
prescaler output  
3
¾
QOSC  
¾
Unused bit, read as ²0²  
32768Hz OSC quick start-up  
oscillating  
4
0/1: quick/slow start  
5~7  
Unused bit, read as ²0²  
RTCC (09H) Register  
If the WDT time-out period is selected at fs/212 (option),  
the WDT time-out period ranges from fs/212~fs/213, since  
the ²CLR WDT² or ²CLR WDT1² and ²CLR WDT2²  
instructions only clear the last two stages of the WDT.  
S
Y
S
C
o
n
f
i
g
u
r
a
t
i
o
n
f
S
C
o
n
f
i
g
u
r
a
t
i
o
n
O
p
t
i
o
n
T
i
m
e
B
a
s
e
I
n
t
e
r
r
u
p
t
O
p
t
i
o
n
W
D
T
T
O
O
s
s
c
c
i
i
l
l
l
l
a
a
t
t
o
r
r
1
2
1
5
1
2
1
5
D
i
v
i
d
e
b
y
2
~
2
2
/
f
S
~
2
/
f
S
S
e
l
e
c
t
R
C
o
Time Base  
S
Y
S
8
D i v i d e b y 2 ~ 2  
1
5
C
o
n
f
i
g
u
r
a
t
i
o
n
f
S
W
D
T
T
O
O
s
s
c
c
i
i
l
l
l
l
a
a
t
t
o
r
r
O
p
t
i
o
n
(
S
e
t
b
y
R
T
C
C
R
T
C
I
n
t
e
r
r
u
p
t
8
1
5
S
e
l
e
c
t
R
e
g
i
s
t
e
r
s
)
2
/
f
S
~
2
/
f
R
C
o
R
T
2
~
R
T
0
Real Time Clock  
Rev. 1.30  
14  
March 9, 2007  
 复制成功!