CC254x第一次进入PM3后,外部IO中断可以唤醒,第二次进入PM3后就唤不醒了,请教一下是什么原因
时间:10-02
整理:3721RD
点击:
测试代码如下:
if ( events & SBP_START_DEVICE_EVT )
{
// Start the Device
VOID GAPRole_StartDevice( &simpleBLEPeripheral_PeripheralCBs );
// Start Bond Manager
VOID GAPBondMgr_Register( &simpleBLEPeripheral_BondMgrCBs );
halSleep(0); // 进入深度睡眠状态(降低功耗)
osal_start_timerEx( simpleBLEPeripheral_TaskID, SBP_START_DEVICE_EVT, 10 );
return ( events ^ SBP_START_DEVICE_EVT );
}
