1.问题一:调用EasyLink_receiveAsync(rxDoneCallback, 0)来接收, 收到后会触发中断函数rxDoneCallback。
if (EasyLink_transmit(¤tRadioOperation.easyLinkTxPacket) != EasyLink_Status_Success)
[
System_abort("EasyLink_transmit failed");
]
]
/* Enter RX */
if (EasyLink_receiveAsync(rxDoneCallback, 0) != EasyLink_Status_Success)
[
System_abort("EasyLink_receiveAsync failed");
]
1.问题一:调用EasyLink_receiveAsync(rxDoneCallback, 0)来接收, 收到后会触发中断函数rxDoneCallback。
if (EasyLink_transmit(¤tRadioOperation.easyLinkTxPacket) != EasyLink_Status_Success)
[
System_abort("EasyLink_transmit failed");
]
]
/* Enter RX */
if (EasyLink_receiveAsync(rxDoneCallback, 0) != EasyLink_Status_Success)
[
System_abort("EasyLink_receiveAsync failed");
]
举报