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

HT46F47E 参数 Datasheet PDF下载

HT46F47E图片预览
型号: HT46F47E
PDF下载: 下载PDF文件 查看货源
内容描述: 高性价比的A / D型闪存的8位微控制器与EEPROM [Cost-Effective A/D Flash Type 8-Bit MCU with EEPROM]
分类和应用: 闪存微控制器可编程只读存储器电动程控只读存储器电可擦编程只读存储器
文件页数/大小: 88 页 / 541 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT46F47E的Datasheet PDF文件第35页浏览型号HT46F47E的Datasheet PDF文件第36页浏览型号HT46F47E的Datasheet PDF文件第37页浏览型号HT46F47E的Datasheet PDF文件第38页浏览型号HT46F47E的Datasheet PDF文件第40页浏览型号HT46F47E的Datasheet PDF文件第41页浏览型号HT46F47E的Datasheet PDF文件第42页浏览型号HT46F47E的Datasheet PDF文件第43页  
HT46F46E/HT46F47E/HT46F48E/HT46F49E  
The ADCR control register also contains the  
nal interrupt address for processing. If the A/D internal  
interrupt is disabled, the microcontroller can be used to  
poll the EOCB bit in the ADCR register to check whether  
it has been cleared as an alternative method of detect-  
ing the end of an A/D conversion cycle.  
PCR2~PCR0 bits which determine which pins on Port B  
are used as analog inputs for the A/D converter and  
which pins are to be used as normal I/O pins. If the 3-bit  
address on PCR2~PCR0 has a value of ²100² or higher,  
then all four pins, namely AN0, AN1, AN2 and AN3 will all  
be set as analog inputs. Note that if the PCR2~PCR0 bits  
are all set to zero, then all the Port B pins will be setup as  
normal I/Os and the internal A/D converter circuitry will be  
powered off to reduce the power consumption.  
A/D Converter Clock Source Register - ACSR  
The clock source for the A/D converter, which originates  
from the system clock fSYS, is first divided by a division  
ratio, the value of which is determined by the ADCS1  
and ADCS0 bits in the ACSR register.  
The START bit in the ADCR register is used to start and  
reset the A/D converter. When the microcontroller sets  
this bit from low to high and then low again, an analog to  
digital conversion cycle will be initiated. When the  
START bit is brought from low to high but not low again,  
the EOCB bit in the ADCR register will be set to a ²1²  
and the analog to digital converter will be reset. It is the  
START bit that is used to control the overall on/off opera-  
tion of the internal analog to digital converter.  
Although the A/D clock source is determined by the sys-  
tem clock fSYS, and by bits ADCS1 and ADCS0, there are  
some limitations on the maximum A/D clock source speed  
that can be selected. As the minimum value of permissible  
A/D clock period, tAD, is 0.5ms for the HT46F46E, device,  
and 1ms for the other devices, care must be taken for sys-  
tem clock speeds in excess of 2MHz. With the exception of  
the HT46F46E device, for system clock speeds in excess  
of 2MHz, the ADCS1 and ADCS0 bits should not be set to  
²00². For the HT46F46E device, for system clock speeds  
in excess of 4MHz, the ADCS1 and ADCS0 bits should not  
be set to ²00². Doing so will give A/D clock periods that are  
less than the minimum A/D clock period which may result  
in inaccurate A/D conversion values. Refer to the following  
table for examples, where values marked with an asterisk  
* show where, depending upon the device, special care  
must be taken, as the values may be less than the speci-  
fied minimum A/D Clock Period.  
The EOCB bit in the ADCR register is used to indicate  
when the analog to digital conversion process is com-  
plete. This bit will be automatically set to ²0² by the  
microcontroller after a conversion cycle has ended. In  
addition, the corresponding A/D interrupt request flag  
will be set in the interrupt control register, and if the inter-  
rupts are enabled, an appropriate internal interrupt sig-  
nal will be generated. This A/D internal interrupt signal  
will direct the program flow to the associated A/D inter-  
b
7
b
0
E
O
C
P
B
C
R
P
2
C
R
1
P
A
C
C
R
S
0
2
A
C
S
1
A
C
S
S
T
A
R
T
A
D
C
R
R
0
e
g
i
s
t
e
r
S
A
e
C
l
r
d
e
c
t
A
/
D
c
h
a
n
n
e
l
S
A
2
C
S
A
1
C
S
0
0
0
0
0
1
0
0
1
1
0
1
0
1
:
:
:
:
:
A
A
A
A
u
N
N
N
N
0
1
2
3
X
X
n
d
e
f
i
n
e
d
,
m
u
s
t
n
o
P
o
t
B
A
/
D
c
h
a
n
n
e
l
c
o
n
f
i
g
u
r
a
t
P
C
R
P
2
C
R
P
1
C
R
0
0
0
0
0
1
0
0
1
1
0
1
0
1
:
:
:
:
:
P
P
P
P
P
o
B
B
B
B
r
t
B
A
/
D
c
h
a
n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