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

HT46R14A 参数 Datasheet PDF下载

HT46R14A图片预览
型号: HT46R14A
PDF下载: 下载PDF文件 查看货源
内容描述: A / D型8位OTP MCU [A/D Type 8-Bit OTP MCU]
分类和应用:
文件页数/大小: 49 页 / 316 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT46R14A的Datasheet PDF文件第7页浏览型号HT46R14A的Datasheet PDF文件第8页浏览型号HT46R14A的Datasheet PDF文件第9页浏览型号HT46R14A的Datasheet PDF文件第10页浏览型号HT46R14A的Datasheet PDF文件第12页浏览型号HT46R14A的Datasheet PDF文件第13页浏览型号HT46R14A的Datasheet PDF文件第14页浏览型号HT46R14A的Datasheet PDF文件第15页  
HT46R14A  
Bit No.  
Label  
ET0I  
ET1I  
EADI  
¾
Function  
0
1
2
3
4
5
6
7
Control the Timer/Event Counter 0 interrupt (1=enabled; 0=disabled)  
Control the Timer/Event Counter 1 interrupt (1=enabled; 0=disabled)  
Control the A/D converter interrupt  
Unused bit, read as ²0²  
T0F  
T1F  
ADF  
¾
Internal Timer/Event Counter 0 request flag (1=active; 0=inactive)  
Internal Timer/Event Counter 1 request flag (1=active; 0=inactive)  
A/D converter request flag (1=active; 0=inactive)  
Unused bit, read as ²0²  
MFIC (1BH) Register  
Oscillator Configuration  
During the execution of an interrupt subroutine, other in-  
terrupt acknowledgements are held until the ²RETI² in-  
struction is executed or the EMI bit and the related  
interrupt control bit are set to 1, if the stack is not full. To  
return from the interrupt subroutine, a RET or RETI  
instruction may be executed. The RETI instruction will set  
the EMI bit to re-enable an interrupt service, but the RET  
will not.  
There are two types of system oscillator circuits within the  
microcontroller. These are an RC oscillator and a Crys-  
tal oscillator, the choice of which is determined via a  
configuration option. The Power-down mode stops the  
system oscillator and ignores an external signal to con-  
serve power.  
V
D
D
Interrupts, occurring in the interval between the rising  
edges of two consecutive T2 pulses, will be serviced on  
the latter of the two T2 pulses, if the corresponding inter-  
rupts are enabled. In the case of simultaneous requests  
the following table shows the priority that is applied.  
These can be masked by resetting the EMI bit.  
O
S
C
1
O
S
C
1
S
Y
S
O
S
C
2
O
S
C
2
N
M
O
S
O
p
e
n
D
r
a
i
n
C
r
y
s
t
a
l
O
s
c
i
l
l
a
t
o
r
R
C
O
s
c
i
l
l
a
t
o
r
System Oscillator  
Interrupt Source  
External interrupt 0  
Priority Vector  
If an RC oscillator is used, an external resistor between  
OSC1 and VSS is required and whose resistance  
should range from 24kW to 1MW. Pin OSC2 can be  
used to monitor the system frequency at 1/4 the system  
frequency or can be used to synchronize external cir-  
cuitry. The RC oscillator provides the most cost effec-  
tive means of oscillator implementation, however, the  
frequency of oscillation may vary with VDD, tempera-  
ture and process variations. It is, therefore, not recom-  
mended for use in timing sensitive applications where  
an accurate oscillator frequency is desired.  
1
2
3
4
5
004H  
008H  
00CH  
010H  
014H  
External interrupt 1  
Comparator 0 output interrupt  
Comparator 1 output interrupt  
External interrupt 2 (from PC1)  
Multi-function interrupt (Timer/  
6
018H  
event counter 0/1 & ADC converter)  
The EMI, EEI0, EEI1, EC0I, ET0I, ET1I, and EMFI are  
all used to control the enable/disable status of inter-  
rupts. These bits prevent the requested interrupt from  
being serviced. Once the interrupt request flags (EI0F,  
EI1F, C0F, T0F, T1F, MFI) are all set, they remain in the  
INTC1 or INTC0 respectively until the interrupts are ser-  
viced or cleared by a software instruction. It is recom-  
mended that a program does not use the ²CALL  
subroutine² within the interrupt subroutine. Interrupts of-  
ten occur in an unpredictable manner or need to be ser-  
viced immediately in some applications. If only one stack  
is left and enabling the interrupt is not well controlled, the  
original control sequence will be damaged if the ²CALL²  
operates within the interrupt subroutine.  
If a Crystal oscillator is used, a crystal connected be-  
tween OSC1 and OSC2 is required. No other external  
components are required. Instead of a crystal, a resona-  
tor can also be connected between OSC1 and OSC2 to  
obtain a frequency reference, but two external capaci-  
tors connected between OSC1, OSC2 and ground are  
required, if the oscillating frequency is less than 1MHz.  
When the system enters the Power-down mode the sys-  
tem oscillator is stopped to conserve power.  
The WDT oscillator is a free running on-chip RC oscillator,  
and no external components are required. Even if the sys-  
tem enters the power down mode where the system clock  
is stopped, the WDT oscillator will continue to operate with  
a period of approximately 65ms at 5V. The WDT oscillator  
can be disabled using a configuration option to conserve  
power.  
Rev. 1.00  
11  
August 3, 2007