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.

[参考译文] RTOS/CC2640:cc2640传感器标签

Guru**** 2573695 points


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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/590039/rtos-cc2640-cc2640-sensor-tag

器件型号:CC2640

工具/软件:TI-RTOS

在传感器标签堆栈中读取加速计数据的代码是什么?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您可以参阅 sensortag_mov.c
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    谢谢你。
    I2C 设置中对信标机械模式的需求是什么? 我是否可以知道为什么这里会给出信标?
    void bspI2cInit (void)

    Semaphore_Params semParamsMutex;

    //创建保护信标
    Semaphore_Params_init (&semParamsMutex);
    SemParametersMutex.mode = Semaphore_Mode_binary;
    Semaphore_construction (&mutex、1、&semParamsMutex);