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

HA0075E 参数 Datasheet PDF下载

HA0075E图片预览
型号: HA0075E
PDF下载: 下载PDF文件 查看货源
内容描述: 高性价比的A / D型8位MCU [Cost-Effective A/D Type 8-Bit MCU]
分类和应用:
文件页数/大小: 60 页 / 463 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HA0075E的Datasheet PDF文件第22页浏览型号HA0075E的Datasheet PDF文件第23页浏览型号HA0075E的Datasheet PDF文件第24页浏览型号HA0075E的Datasheet PDF文件第25页浏览型号HA0075E的Datasheet PDF文件第27页浏览型号HA0075E的Datasheet PDF文件第28页浏览型号HA0075E的Datasheet PDF文件第29页浏览型号HA0075E的Datasheet PDF文件第30页  
HT46R4A  
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.  
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.  
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 1ms, care must be taken for system  
clock speeds in excess of 2MHz. For system clock speeds  
in excess of 2MHz, 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-  
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.  
b
7
b
0
E
O
C
B
P
C
R
2
P
C
R
1
P
C
R
0
A
C
S
2
A
C
S
1
A
C
S
0
S
T
A
R
T
A
D
C
R
R
e
g
i
s
t
e
r
S
A
e
C
l
e
c
t
A
/
D
c
h
a
n
n
e
l
S
2
A
C
S
1
A
C
S
0
0
0
0
0
1
1
1
0
0
1
1
0
0
1
0
1
0
1
0
1
:
:
:
:
:
:
:
A
A
A
A
A
A
u
N
N
N
N
N
N
0
1
2
3
4
5
X
n
d
e
f
i
n
e
d
,
m
u
s
t
n
o
t
b
e
u
s
e
d
P
o
r
t
B
A
/
D
c
h
a
n
n
e
l
c
o
n
f
i
g
u
r
a
t
i
o
n
s
P
C
R
2
P
C
R
1
P
C
R
0
0
0
0
0
1
1
1
0
0
1
1
0
0
1
0
1
0
1
0
1
0
:
P
o
r
t
B
A
/
D
c
h
a
n
n
e
l
s
-
a
l
l
o
f
f
:
P
B
0
e
n
a
b
l
e
d
a
s
A
N
0
:
P
B
0
~
P
B
1
e
n
a
b
l
e
d
a
s
A
N
0
~
A
N
1
:
P
B
0
~
P
B
2
e
n
a
b
l
e
d
a
s
A
N
N
N
N
0
0
0
0
~
~
~
~
A
A
A
A
N
N
N
N
2
3
4
5
:
:
:
P
P
P
B
B
B
0
0
0
~
~
~
P
P
P
B
B
B
3
4
5
e
e
e
n
n
n
a
a
a
b
b
b
l
l
l
e
e
e
d
d
d
a
a
a
s
s
s
A
A
A
E
n
d
o
f
A
/
D
c
o
n
v
e
r
s
i
o
n
f
l
a
g
1
0
:
n
o
t
e
n
d
o
f
A
/
D
c
o
n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