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

HT46RU66 参数 Datasheet PDF下载

HT46RU66图片预览
型号: HT46RU66
PDF下载: 下载PDF文件 查看货源
内容描述: A / D型8位微控制器与LCD [A/D Type 8-Bit MCU with LCD]
分类和应用: 微控制器
文件页数/大小: 63 页 / 489 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT46RU66的Datasheet PDF文件第34页浏览型号HT46RU66的Datasheet PDF文件第35页浏览型号HT46RU66的Datasheet PDF文件第36页浏览型号HT46RU66的Datasheet PDF文件第37页浏览型号HT46RU66的Datasheet PDF文件第39页浏览型号HT46RU66的Datasheet PDF文件第40页浏览型号HT46RU66的Datasheet PDF文件第41页浏览型号HT46RU66的Datasheet PDF文件第42页  
HT46RU66/HT46CU66  
·
UCR2 register  
to ²0² and if the MCU is in the Power Down Mode,  
any edge transitions on the RX pin will not wake-up  
the device.  
The UCR2 register is the second of the two UART  
control registers and serves several purposes. One of  
its main functions is to control the basic enable/dis-  
able operation of the UART Transmitter and Receiver  
as well as enabling the various UART interrupt  
sources. The register also serves to control the baud  
rate speed, receiver wake-up enable and the address  
detect enable.  
¨
ADDEN  
The ADDEN bit is the address detect mode bit.  
When this bit is ²1² the address detect mode is en-  
abled. When this occurs, if the 8th bit, which corre-  
sponds to RX7 if BNO=0, or the 9th bit, which  
corresponds to RX8 if BNO=1, has a value of ²1²  
then the received word will be identified as an ad-  
dress, rather than data. If the corresponding inter-  
rupt is enabled, an interrupt request will be  
generated each time the received word has the ad-  
dress bit set, which is the 8 or 9 bit depending on the  
value of BNO. If the address bit is ²0² an interrupt  
will not be generated, and the received data will be  
discarded.  
Further explanation on each of the bits is given below:  
¨
TEIE  
This bit enables or disables the transmitter empty  
interrupt. If this bit is equal to ²1² when the transmit-  
ter empty TXIF flag is set, due to a transmitter  
empty condition, the UART interrupt request flag  
will be set. If this bit is equal to ²0² the UART inter-  
rupt request flag will not be influenced by the condi-  
tion of the TXIF flag.  
¨
BRGH  
¨
TIIE  
The BRGH bit selects the high or low speed mode  
of the Baud Rate Generator. This bit, together with  
the value placed in the BRG register, controls the  
Baud Rate of the UART. If this bit is equal to ²1² the  
high speed mode is selected. If the bit is equal to ²0²  
the low speed mode is selected.  
This bit enables or disables the transmitter idle in-  
terrupt. If this bit is equal to ²1² when the transmitter  
idle TIDLE flag is set, the UART interrupt request  
flag will be set. If this bit is equal to ²0² the UART in-  
terrupt request flag will not be influenced by the  
condition of the TIDLE flag.  
¨
RXEN  
¨
RIE  
The RXEN bit is the Receiver Enable Bit. When this  
bit is equal to ²0² the receiver will be disabled with  
any pending data receptions being aborted. In addi-  
tion the buffer will be reset. In this situation the RX  
pin can be used as a general purpose I/O pin. If the  
RXEN bit is equal to ²1² the receiver will be enabled  
and if the UARTEN bit is equal to ²1² the RX pin will  
be controlled by the UART. Clearing the RXEN bit  
during a transmission will cause the data reception  
to be aborted and will reset the receiver. If this oc-  
curs, the RX pin can be used as a general purpose  
I/O pin.  
This bit enables or disables the receiver interrupt. If  
this bit is equal to ²1² when the receiver overrun  
OERR flag or receive data available RXIF flag is  
set, the UART interrupt request flag will be set. If  
this bit is equal to ²0² the UART interrupt will not be  
influenced by the condition of the OERR or RXIF  
flags.  
¨
WAKE  
This bit enables or disables the receiver wake-up  
function. If this bit is equal to ²1² and if the MCU is in  
the Power Down Mode, a low going edge on the RX  
input pin will wake-up the device. If this bit is equal  
b
7
b
0
T
X
E
N
R
X
E
N
B
R
G
H
A
D
D
E
N
W
A
K
E
R
I
E
T
I
I
E
T
E
I
E
U
C
R
2
R
e
g
i
s
t
e
r
T
1
0
r
a
n
s
m
i
t
t
e
r
e
m
p
t
y
i
n
t
e
r
r
u
p
t
e
n
a
b
l
e
:
:
T
T
X
X
I
F
i
i
n
n
t
t
e
r
r
r
r
u
p
t
t
r
r
e
q
u
e
s
s
t
e
d
n
i
a
b
l
e
I
F
e
u
p
e
q
u
e
t
s
a
b
l
e
T
1
0
r
a
n
s
m
i
t
t
e
r
i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