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

EM78P312NP 参数 Datasheet PDF下载

EM78P312NP图片预览
型号: EM78P312NP
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-BIT Microcontroller]
分类和应用: 微控制器
文件页数/大小: 68 页 / 668 K
品牌: ELAN [ ELAN MICROELECTRONICS CORP ]
 浏览型号EM78P312NP的Datasheet PDF文件第33页浏览型号EM78P312NP的Datasheet PDF文件第34页浏览型号EM78P312NP的Datasheet PDF文件第35页浏览型号EM78P312NP的Datasheet PDF文件第36页浏览型号EM78P312NP的Datasheet PDF文件第38页浏览型号EM78P312NP的Datasheet PDF文件第39页浏览型号EM78P312NP的Datasheet PDF文件第40页浏览型号EM78P312NP的Datasheet PDF文件第41页  
EM78P312N  
8-Bit Microcontroller  
(b) 8-bit Receive Mode  
Setting SPIM0 ~ SPIM1 to receive mode and setting SPIS to “1” to start receiving.  
The data are input sequentially from the SI pin in synchronous with the serial  
clock. When the final bit of transfer data has been received, the SPI interrupt is  
generated and SPIS is cleared to “0” by hardware. In order to receive the next  
data, the SPIS must be set to “1” again by software. If the current data is not read  
out from the data buffer, receiving is not started when using internal clock.  
shift start  
shi f t start  
shift finish  
RBF  
WBE  
/SCK pin  
SI pi n  
a0 a1 a2 a3 a4 a5 a6 a7  
b0 b1 b2 b3 b4 b5 b6 b7  
SPI F  
SPI D  
a
b
read data  
Fig. 5-15 Receive Mode (8-bit, 1 word)  
read data  
(c) 8-bit Transmit/Receive Mode  
Set SPIM0 ~ SPIM1 to transmit/receive mode and write data to data buffer SPID.  
Set SPIS to “1” to start transferring. The data are output to the SO pin and input  
from the SI pin sequentially in synchronous with the serial clock. When the  
number of data words specified has been transferred, the SPI interrupt is  
generated and SPIS is cleared to “0” by hardware. In order to receive the next  
data, the SPIS must be set to “1” again by software. Writing data in transmit  
mode and reading data in receive mode use the same data buffer. If the current  
data is not read out from the data buffer and then write the data to data buffer, the  
transfer is not started when using internal clock. Always write the data to be  
transmitted after reading the received data.  
Product Specification (V1.0) 10.03.2006  
(This specification is subject to change without further notice)  
33  
 复制成功!