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

HT46R068B 参数 Datasheet PDF下载

HT46R068B图片预览
型号: HT46R068B
PDF下载: 下载PDF文件 查看货源
内容描述: 增强A / D型8位OTP MCU [Enhanced A/D Type 8-bit OTP MCU]
分类和应用:
文件页数/大小: 134 页 / 5896 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT46R068B的Datasheet PDF文件第86页浏览型号HT46R068B的Datasheet PDF文件第87页浏览型号HT46R068B的Datasheet PDF文件第88页浏览型号HT46R068B的Datasheet PDF文件第89页浏览型号HT46R068B的Datasheet PDF文件第91页浏览型号HT46R068B的Datasheet PDF文件第92页浏览型号HT46R068B的Datasheet PDF文件第93页浏览型号HT46R068B的Datasheet PDF文件第94页  
HT46R068B/HT46R069B  
Enhanced A/D Type 8-bit OTP MCU  
Bit 0  
TRF: SPI Transmit/Receive Complete flag  
0: Data is being transferred  
1: SPI data transmission is completed  
The TRF bit is the Transmit/Receive Complete flag and is set "1" automatically  
when an SPI data transmission is completed, but must set to "0" by the application  
program. It can be used to generate an interrupt.  
SPI Communication  
After the SPI interface is enabled by setting the SIMEN bit high, then in the Master Mode, when  
data is written to the SIMD register, transmission/reception will begin simultaneously. When the  
data transfer is complete, the TRF flag will be set automatically, but must be cleared using the  
application program. In the Slave Mode, when the clock signal from the master has been received,  
any data in the SIMD register will be transmitted and any data on the SDI pin will be shifted into  
the SIMD register. The master should output an SCS signal to enable the slave device before a  
clock signal is provided. The slave data to be transferred should be well prepared at the appropriate  
moment relative to the SCS signal depending upon the configurations of the CKPOLB bit and  
CKEG bit. The accompanying timing diagram shows the relationship between the slave data and  
SCS signal for various configurations of the CKPOLB and CKEG bits.  
The SPI will continue to function even in the IDLE Mode.  
S
M
I
N
E
1
=
,
C
S
N
E
0
=
(
x
E
e
t
n
r
a
P
u
l
l
H
l
-
g
i
)
h
S
C
S
M
I
N
E
,
C
S
N
E
1
=
K
K
K
K
O
O
I
C
C
C
C
D
D
D
(
(
(
(
K
K
K
K
C
C
C
C
O
O
O
O
P
P
P
P
B
B
B
B
L
L
L
L
1
0
1
0
=
,
C
K
G
E
E
E
E
0
=
)
=
=
=
,
,
,
K
K
K
C
C
C
G
G
G
0
1
1
=
=
=
)
)
)
D
/
7
0
D
6
D
D
/
1
D
/
5
2
D
4
D
D
/
3
D
/
3
4
D
2
D
D
/
5
D
/
1
6
D
0
D
D
/
7
(
K
C
G
E
0
=
=
p
)
D
/
7
0
D
6
D
D
/
1
D
/
5
2
D
4
D
D
/
3
D
/
3
4
D
2
D
D
/
5
D
/
1
6
D
0
D
D
/
7
(
K
C
G
E
1
)
D
t
a
a
C
a
u
e
t
r
W
i
r
e
t
t
o
S
I
M
D
SPI Master Mode Timing  
S
S
C
S
S
S
S
K
K
O
I
C
C
D
D
(
K
C
O
P
B
L
1
=
)
(
K
C
O
P
B
L
0
=
)
D
/
7
0
D
6
D
D
/
1
D
/
5
2
D
4
D
D
/
3
D
/
3
4
D
2
D
D
/
5
D
/
1
6
D
0
D
D
/
7
D
t
a
a
C
a
p
u
e
t
r
W
i
r
e
t
t
o
S
I
M
D
(
D
S
O
d
o
s
e
n
o
h
c
t
a
n
u
g
t
n
l
f
i
e
r
i
t
s
S
K
C
e
d
)
g
e
SPI Slave Mode Timing - CKEG=0  
Rev. 1.00  
85  
�anꢀaꢁꢂ ꢃꢄꢅ ꢃ011  
 复制成功!