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:EZMode 计时器

Guru**** 2539500 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/566814/cc2530-ezmode-timer

器件型号:CC2530

您好!

我一直在查看下面的代码、我想知道多长时间(以秒、分钟等为单位) 根据 SAMPLELIGHT_EZMODE_TIMEOUT_EVT 的值0x0004、EZMode 打开。

if (事件和 SAMPLELIGHT_EZMODE_TIMEOUT_EVT)

zcl_EZModeAction (EZMODE_ACT_TIMENT_OUT、NULL);// eZ-Mode 超时
返回(事件^ SAMPLELIGHT_EZMODE_TIMEOUT_EVT);

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    这3分钟由 zcl_ezmode.h 中的 EZMODE_TIME 定义

    #define EZMODE_TIME (3*60000)//(EZModeTime)保持在 eZ-模式的时间3分钟(以 ms 为单位)