最近在调hrpwm,问一下SFO_TI_BUild_v6.lib和SFO_TI_BUild_v6b.lib这两个库有什么区别?
Susan Yang:
两者主要区别在于是否更新HRMSTEP
There are two different versions of the SFO library – SFO_TI_Build_V6.lib, and SFO_TI_Build_V6b.lib.
SFO_TI_Build_V6.lib does not update the HRMSTEP register with the value in MEP_ScaleFactor, while SFO_TI_Build_V6b.lib updates the register. Therefore, if using SFO_TI_Build_V6.lib and auto-conversion is enabled, the application should write MEP_Scalefactor in the HRMSTEP register as shown below.
naughty boy:
回复 Susan Yang:
那什么情况下用SFO_TI_BUild_v6.lib什么情况下用 SFO_TI_Build_V6b.lib?
Jun Zhang4:
回复 naughty boy:
参考相关器件的HRPWM.pdf附录,如果用v6.lib,HRMSTEP必须自己写代码来更新,如果用了V6B.LIb,那就不用管了,库函数里面会给你自动更新。
现在去住宿需要自带洗漱用品,以前酒店给你备了,这就是差别ok?