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

HD6473434F16 参数 Datasheet PDF下载

HD6473434F16图片预览
型号: HD6473434F16
PDF下载: 下载PDF文件 查看货源
内容描述: 12伏不能应用于S -掩模模型(单电源规格) ,因为这可能会永久损坏设备。 [12 V must not be applied to the S-mask model (single-power-supply specification), as this may permanently damage the device.]
分类和应用: 外围集成电路微控制器可编程只读存储器时钟
文件页数/大小: 752 页 / 2557 K
品牌: HITACHI [ HITACHI SEMICONDUCTOR ]
 浏览型号HD6473434F16的Datasheet PDF文件第332页浏览型号HD6473434F16的Datasheet PDF文件第333页浏览型号HD6473434F16的Datasheet PDF文件第334页浏览型号HD6473434F16的Datasheet PDF文件第335页浏览型号HD6473434F16的Datasheet PDF文件第337页浏览型号HD6473434F16的Datasheet PDF文件第338页浏览型号HD6473434F16的Datasheet PDF文件第339页浏览型号HD6473434F16的Datasheet PDF文件第340页  
13.3.8 Sample Flowcharts  
Figures 13.12 to 13.15 show typical flowcharts for using the I2C bus interface in each mode.  
Start  
Initialize  
1. Test the status of the SCL and SDA lines.  
Read BBSY in ICSR  
1
2. Select master transmit mode.  
No  
3. Generate a start condition.  
BBSY = 0?  
Yes  
4. Set transmit data for the first byte (slave address + R/W).  
5. Wait for 1 byte to be transmitted.  
2
3
4
5
Set MST = 1 and  
TRS = 1 in ICCR  
6. Test for acknowledgement by the designated slave device.  
7. Set transmit data for the second and subsequent bytes.  
8. Wait for 1 byte to be transmitted.  
Write BBSY = 1  
and SCP = 0 in ICSR  
9. Test for end of transfer.  
Write transmit data in ICDR  
Read IRIC in ICSR  
IRIC = 1?  
10. Generate a stop condition.  
No  
Yes  
Clear IRIC in ICSR  
Read ACKB in ICSR  
6
No  
No  
ACKB = 0?  
Yes  
Master receive mode  
Transmit mode?  
Yes  
7
8
Write transmit data in ICDR  
Read IRIC in ICSR  
IRIC = 1?  
No  
Yes  
Clear IRIC in ICSR  
Read ACKB in ICSR  
9
No  
End of transmission  
(ACKB = 1)?  
Yes  
10  
Write BBSY = 0  
and SCP = 0 in ICSR  
End  
Figure 13.12 Flowchart for Master Transmit Mode (Example)  
307  
 复制成功!