This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

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

Part Number: CC2530

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

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

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

    /******************************************************************************
     * @fn          zb_SystemReset
     *
     * @brief       The 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.
     *
     * @param       none
     *
     * @return      none
     */
    void zb_SystemReset ( void )
    {
      SystemResetSoft();  // Especially useful for CC2531 to not break comm with USB Host.
    }