早教吧作业答案频道 -->英语-->
C6000CSLfunctionsPERFMK如何理解?PERFMK(REG,FIELD,fieldval)CreatesashiftedversionoffieldvalthatyoucouldORwiththeresultofotherFMKmacrostoinitializeregisterREG.ThisallowstheusertoinitializefewfieldsinREGasanalter
题目详情
C6000 CSL functions PER_FMK如何理解?
PER_FMK (REG,FIELD,fieldval)Creates a shifted version of fieldval that you could OR with the result of other_FMK macros to initialize register REG.This allows the user to initialize few fieldsin REG as an alternative to the _RMK macro,which requires that ALL registerfields be initialized.PER_FMKS (REG,FIELD,sym)Creates a shifted version of the symbol value that you can OR with the result ofother _FMK/_FMKS macros to initialize register REG.(See also PER_FMK()macro.)
PER_FMK (REG,FIELD,fieldval)Creates a shifted version of fieldval that you could OR with the result of other_FMK macros to initialize register REG.This allows the user to initialize few fieldsin REG as an alternative to the _RMK macro,which requires that ALL registerfields be initialized.PER_FMKS (REG,FIELD,sym)Creates a shifted version of the symbol value that you can OR with the result ofother _FMK/_FMKS macros to initialize register REG.(See also PER_FMK()macro.)
▼优质解答
答案和解析
对外设寄存器进行位运算的一个函数.主要是规范位运算操作.因为涉及外设寄存器,如果碰到诸如大小端,16位值赋值给32位值等问题,错误会很隐蔽,查起来也很麻烦.所以让你规范的使用这个函数,就大大降低这种误操作的风险.具体你可以看看ti给的利用CSL对寄存器赋值的例程.一看就应该懂怎么用了.我看的是对timer寄存器赋值的例子. 查看原帖>>
看了 C6000CSLfuncti...的网友还看了以下:
65 .在亮度通道中,亮度延迟线的延迟时间大约为 ( ) 。A . 0.6 μ s B . 12 μ 2020-06-07 …
(2014•镇江)已知过点(2,-3)的直线y=ax+b(a≠0)不经过第一象限,设s=a+2b, 2020-06-17 …
离散数学中的复合关系.因为是自学的,基础不好.有一个看不懂设R是由A={1,2,3,4}到B={2 2020-06-28 …
已知过点(2,-3)的直线y=ax+b(a≠0)不经过第一象限,设s=a+2b,则s的取值范围是( 2020-07-17 …
阅读材料,回答下列问题:(10分)材料一据中国地震台网测定,北京时间2015年9月17日6:54, 2020-07-17 …
C6000CSLfunctionsPERFMK如何理解?PERFMK(REG,FIELD,fiel 2020-07-26 …
15、锐角△ABC中,BC=6,SABC12,两动点M、N分别在边AB、AC上滑动,且MN.. 2020-07-30 …
试用150和42的倍数和表示他们的最大公因式即150×S+42×T=(150,42)=6,S和T均 2020-08-01 …
在矩形ABCD中,P,Q分别是BC,CD上的两点,S三角形ABQ=8,S三角形PCQ=6,S三角形A 2020-11-04 …
英语翻译1.A:你对英国有什麽了解吗?2.S:一点点...3.A:那你对英国这个地方感兴趣吗?4.S 2021-02-02 …