1、使用USS库 单片机进入不了低功耗模式,屏蔽USS相关API才可以
2、使用USS库 使用DMA中断时编译出现"
Warning[w52]: More than one definition for the byte at address 0xffe4 in common segment INTVEC. It is defined in module "USS_Lib_HAL" as well as in module "main"
",已经被USS占用,我怎么才能使用
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.
1、使用USS库 单片机进入不了低功耗模式,屏蔽USS相关API才可以
2、使用USS库 使用DMA中断时编译出现"
Warning[w52]: More than one definition for the byte at address 0xffe4 in common segment INTVEC. It is defined in module "USS_Lib_HAL" as well as in module "main"
",已经被USS占用,我怎么才能使用
关于USS库的使用,我们是有专门的文档的,您可以参考一下
http://www.ti.com/lit/ug/slau732a/slau732a.pdf
您现在使用的是哪个程序?开发环境呢,IAR/CCS?
我是自己建立工程移植USS库,使用定时器方式进入和退出LPM3,退出LPM3进行数据采集,应该用不上USS_startLowPowerUltrasonicCapyure吧?
目前不初始化不调用USS API 的情况下进入退出LPM3正常,初始化USS后就不能进入低功耗模式,在USS_userConfig.h 里面也没有看到LPM的相关定义配置
这个是选择完成USS捕获时所需的电源模式,代码里是选择的LPM0。也就是说完成捕获后会进入LPM0,您可以尝试选择LPM3
//! \brief Selects the desired power mode while USS capture is done //! typedef enum _USS_low_power_mode_option_ { USS_low_power_mode_option_low_power_mode_0 = LPM0_bits, //!< MSP remains in LPM0 power mode until timer expires USS_low_power_mode_option_low_power_mode_1 = LPM1_bits, //!< MSP remains in LPM1 power mode until timer expires USS_low_power_mode_option_low_power_mode_2 = LPM2_bits, //!< MSP remains in LPM2 power mode until timer expires USS_low_power_mode_option_low_power_mode_3 = LPM3_bits //!< MSP remains in LPM3 power mode until timer expires } USS_low_power_mode_option;