TI中文支持网
TI专业的中文技术问题搜集分享网站

CC2530:   SystemReset();与 zb_SystemReset(); 之间的区别

Part Number:CC2530

  SystemReset();与 zb_SystemReset(); 之间的区别

Kevin Qiu1:

SystemReset和硬件复位一样,zb_SystemReset则是软复位,具体的查看下面的定义:

// Restart system from absolute beginning
// Disables interrupts, forces WatchDog reset
#define SystemReset()\
{\HAL_DISABLE_INTERRUPTS(); \HAL_SYSTEM_RESET();\
}

/******************************************************************************* @fnzb_SystemReset** @briefThe zb_SystemReset function reboots the ZigBee device.The*zb_SystemReset function can be called after a call to*zb_WriteConfiguration to restart Z-Stack with the updated*configuration.** @paramnone** @returnnone*/
void zb_SystemReset ( void )
{SystemResetSoft();// Especially useful for CC2531 to not break comm with USB Host.
}

赞(0)
未经允许不得转载:TI中文支持网 » CC2530:   SystemReset();与 zb_SystemReset(); 之间的区别
分享到: 更多 (0)