HT46RU25/HT46CU25
Bit No.
Label
Function
0~2
¾
Unused bit, read as ²0²
Enable/disable transmit acknowledge
3
TXAK
(0=acknowledge; 1=don¢t acknowledge)
Defines the transmit/receive mode
(0=receive mode; 1=transmit)
4
5~6
7
HTX
¾
Unused bit, read as ²0²
Enable/disable I2C Bus function
(0=disable; 1=enable)
HEN
HCR (21H) Register
Bit No.
Label
RXAK
¾
Function
RXAK is cleared to ²0² when the master receives an 8-bit data and acknowledgment at the 9th
clock, RXAK is set to ²1² means not acknowledged.
0
1
Unused bit, read as ²0²
SRW is set to ²1² when the master wants to read data from the I2C Bus, so the slave must
transmit data to the master. SRW is cleared to ²0² when the master wants to write data to the
I2C Bus, so the slave must receive data from the master.
2
SRW
3~4
5
¾
Unused bit, read as ²0²
HBB is set to ²1² when I2C Bus is busy and HBB is cleared to ²0² means that the I2C Bus is
not busy.
HBB
HAAS is set to ²1² when the calling address has matched, and I2C Bus interrupt will occur
and HCF is set.
6
7
HAAS
HCF
HCF is cleared to ²0² when one data byte is being transferred, HCF is set to ²1² indicating
8-bit data communication has been finished.
HSR (22H) Register
S
t
a
r
t
W
r
i
t
e
S
l
a
v
e
A
d
d
r
e
s
s
t
o
H
A
D
R
S
E
T
H
E
N
2
D
i
s
a
b
l
e
I
C
B
u
s
E
n
a
b
l
e
I
n
t
e
r
r
u
p
t
=
?
C
L
R
E
H
I
S
E
T
E
H
I
P
o
l
l
H
I
F
t
o
d
e
c
i
d
e
W
a
i
t
f
o
r
I
n
t
e
r
r
u
p
t
2
w
h
e
n
t
o
g
o
t
o
I
C
B
u
s
I
S
R
G
o
t
o
M
a
i
n
P
r
o
g
r
a
m
G
o
t
o
M
a
i
n
P
r
o
g
r
a
m
Rev. 1.30
29
March 9, 2007