|
- uint32_t tempDelay;
- while(1)
- {
- SSIAdvFrameHoldEnable(SSI3_BASE);
- SSIDataPut(SSI3_BASE, 0xAA);
- SSIDataPut(SSI3_BASE, 0xAA);
- SSIDataPut(SSI3_BASE, 0xAA);
- SSIDataPut(SSI3_BASE, 0xAA);
- SSIAdvDataPutFrameEnd(SSI3_BASE, 0xBB);
- for(tempDelay=100;tempDelay>0;tempDelay--); //添加个延时,等待FIFO里边的数据发送完
- SSIAdvFrameHoldDisable(SSI3_BASE);
- for(tempDelay=60000;tempDelay>0;tempDelay--);
- for(tempDelay=60000;tempDelay>0;tempDelay--);
- for(tempDelay=60000;tempDelay>0;tempDelay--);
- }
复制代码 |
|