S3C2440 IIC总线接口
时间:11-21
来源:互联网
点击:
- opMasTxcondition
- rIICCON=0xaf;//resumesIICoperation.
- Delay(1);//waituntilstopcondtionisineffect.
- //Thependingbitwillnotbesetafterissuingstopcondition.
- break;
- }
- rIICDS=iicData[iicPt++];//iicData[0]hasdummy.
- for(i=0;i<10;i++);//forsetuptimeuntilrisingedgeofIICSCL
- rIICCON=0xaf;//resumesIICoperation.
- break;
- caseSETRDADDR://设置要从从机机读取数据的从机地址
- if((iicDataCount--)==0)
- {
- break;//IICoperationisstoppedbecauseofIICCON[4]
- }
- rIICDS=iicData[iicPt++];
- for(i=0;i<10;i++);//forsetuptimeuntilrisingedgeofIICSCL
- rIICCON=0xaf;//resumesIICoperation.
- break;
- default:
- break;
- }
- }
S3C2440IIC总线接 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)