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.

关于CC3200开发中库的问题

Other Parts Discussed in Thread: CC3200, CC3200SDK

在使用外设时有个库《CC3200-Peripheral_Driver_Library_User's_Guide》可以找到使用的函数说明,

在进行网络开发时,有使用到 sl_Start  sl_Task等函数,但是这些函数是做什么的,怎么使用,并没有找到相应的库文档说明,

看只有一个《CC3200 Simplelink OTA Extlib API User's Guide》里面也没有上述的函数,是没有吗????

  • 有的,请先下载并安装CC3200SDK,地址: www.ti.com.cn/.../cc3200sdk
    上述API的文档地址:file:///C:/ti/CC3200SDK_1.3.0/cc3200-sdk/docs/simplelink_api/html/group__device.html#ga5869df658d2c9fe3c2baa50503a1a8dd
  • 好的,谢谢!
    所有网络相关的文档都在这个文件夹下吗?这些文档好像是分散的,要是有类似《CC3200-Peripheral_Driver_Library_User's_Guide》的一个文档就好了!
  • 比较分散,你可以一个个点开查找simplelink_api里的文档
  • 还是要再咨询一下osi_TaskCreate这种函数的说明性文档在哪里?没找到!
  • /*!
        \brief     This function creates a Task.

        Creates a new Task and add it to the last of tasks that are ready to run

        \param    pEntry    -    pointer to the Task Function
        \param    pcName    -    Task Name String
        \param    usStackDepth    -    Stack Size in bytes
        \param    pvParameters    -    pointer to structure to be passed to the Task Function
        \param    uxPriority    -    Task Priority

        \return upon successful creation the function should return 1
                Otherwise, 0 or a negative value indicating the error code shall be returned
        \note
        \warning
    */

    OsiReturnVal_e osi_TaskCreate(P_OSI_TASK_ENTRY pEntry, const signed char * const pcName, unsigned short usStackDepth,
                       void *pvParameters, unsigned long uxPriority, OsiTaskHandle *pTaskHandle)

    参考SDK里的freertos_demo