求问CC1310中easylink_abort()什么时候使用,我使用阻塞接收的时候可以使用吗,为什么我按照例程使用后会失败?
如果不使用的话发送接收切换就能成功,但是我1ms做一次发送接收切换怎样使用比较合适,发送接收使用阻塞模式好还是异步模式合适,求指点!!!!感谢
Viki Shi:
EasyLink_abort() ——– Aborts a non blocking call
The following is true for receive operation:
RX is enabled by calling EasyLink_receive() or EasyLink_receiveAsync()
Entering RX can be immediate or scheduled
EasyLink_receive() is blocking and EasyLink_receiveAsync() is non-blocking
The EasyLink API does not queue messages so calling another API function while in EasyLink_receiveAsync() will return EasyLink_Status_Busy_Error
An Async operation can be canceled with EasyLink_abort()
TI中文支持网
