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.
具体不太明白
①CMPAHR/CMPBHR应该怎么取
②edge mode里的 rising和falling是否都要选取
③HRPWM period control是否要勾上,勾上后里面period值应该怎么取
1. CMPAHR/CMPBHR是高精度比较值,当使能HR之后,总的比较值等于CMPA+CPMAHR或CMPB+CMPBHR。具体要根据应用来设定。
2. rising还是failing选择的是高精度的边沿,比如使能了HR的CMPA处执行的动作是set,则选择rising,反之亦然。这个选项也可以都勾选。
3. 同1,当使能了高精度周期时,总的周期值等于TBPRD+TBPRDHR。这些都是要根据具体情况来设定的。