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

HD64F3337YF16 参数 Datasheet PDF下载

HD64F3337YF16图片预览
型号: HD64F3337YF16
PDF下载: 下载PDF文件 查看货源
内容描述: 单片机 [Single-Chip Microcomputer]
分类和应用: 微控制器和处理器外围集成电路
文件页数/大小: 747 页 / 2993 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号HD64F3337YF16的Datasheet PDF文件第328页浏览型号HD64F3337YF16的Datasheet PDF文件第329页浏览型号HD64F3337YF16的Datasheet PDF文件第330页浏览型号HD64F3337YF16的Datasheet PDF文件第331页浏览型号HD64F3337YF16的Datasheet PDF文件第333页浏览型号HD64F3337YF16的Datasheet PDF文件第334页浏览型号HD64F3337YF16的Datasheet PDF文件第335页浏览型号HD64F3337YF16的Datasheet PDF文件第336页  
13.3.5  
Slave Receive Operation  
In slave receive mode, the master device outputs the transmit clock and transmit data, and the  
slave device returns an acknowledge signal. The receive procedure and operations in slave receive  
mode are described below. See also figure 13.9.  
1. Set bits MLS and WAIT in ICMR and bits MST, TRS, and ACK in ICCR according to the  
operating mode. Set bit ICE in ICCR to 1, establishing slave receive mode.  
2. A start condition output by the master device sets BBSY to 1 in ICSR.  
3. After the slave device detects the start condition, if the first byte matches its slave address, at  
the ninth clock pulse the slave device drives SDA low to acknowledge the transfer. At the  
same time, IRIC is set to 1 in ICSR. If IEIC is 1 in ICCR, a CPU interrupt is requested. The  
slave device holds SCL low from the fall of the receive clock until it has read the data in  
ICDR.  
4. Software clears IRIC to 0 in ICSR.  
5. When ICDR is read, receiving of the next data starts.  
Steps 4 and 5 can be repeated to receive data continuously. When a stop condition is detected (a  
low-to-high transition of SDA while SCL is high), BBSY is cleared to 0 in ICSR.  
Start condition  
SCL (master  
output)  
1
2
3
4
5
6
7
8
9
1
SCL (slave  
output)  
SDA (master  
output  
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0  
Bit 7  
SDA (slave  
output)  
A
Interrupt  
request  
IRIC  
User processing  
5. Read ICDR  
4. Clear IRIC  
Figure 13.9 Operation Timing in Slave Receive Mode  
(MLS = WAIT = ACK = ACKB = 0)  
302  
 复制成功!