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

关于宏DRIVERLIB_ASSERT_CURR_RELEASE();具体解释

这个宏查到底层,解释DRIVERLIB_ASSERT_RELEASE(0, 50218);最后得到是(driverlib_release_##group##_##build),链接在一起是(driverlib_release_0_50218);

各位大侠,看看(driverlib_release_0_50218)这一句的怎么解释,或者有解释文档也行

Viki Shi:

请提供下具体的芯片型号及例程

user5267608:

回复 Viki Shi:

我用的是CC1310 lanchpad,例程序是官网上的simplelink_cc13x0_sdk_1_60_00_21\examples\nortos\CC1310_LAUNCHXL\drivers\gpiointerrupt的例;

Susan Yang:

回复 user5267608:

This macro shall be called once from within a function of a precompiled software deliverable to lock the deliverable to a specific DriverLib release. It is essential that the call is made from code that is not optimized away.

This macro locks to the current DriverLib release used at compile-time.

您可以看一下

software-dl.ti.com/…/group__driverlib__release__api.html

赞(0)
未经允许不得转载:TI中文支持网 » 关于宏DRIVERLIB_ASSERT_CURR_RELEASE();具体解释
分享到: 更多 (0)