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.
目前遇到在转换极性时(需要将TBCCR1,或TBCCR2置0),只有在这个点上出现异常。其余脉冲占空比检查过都是正常的,目前手上只有定时器A的详细 介绍,没有定时器B的,需要参考下定时器B的资料文件
您好,请问您是需要sample code使用 TimerB 创建 PWM吗 ?
不是的,因为手边的参考书只有TimerA寄存器的详细说明,而TimerB与timerA不同之处的寄存器,书上没有介绍,想看看timerB详细的寄存器说明与介绍。采样点我是通过查表法进行读取的,主要是想要看timerB寄存器里的详细介绍与说明(timerB寄存器网上的资料很难找)