欢迎访问ic37.com |
会员登录 免费注册
发布采购

SN8F2288 参数 Datasheet PDF下载

SN8F2288图片预览
型号: SN8F2288
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 163 页 / 3660 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8F2288的Datasheet PDF文件第98页浏览型号SN8F2288的Datasheet PDF文件第99页浏览型号SN8F2288的Datasheet PDF文件第100页浏览型号SN8F2288的Datasheet PDF文件第101页浏览型号SN8F2288的Datasheet PDF文件第103页浏览型号SN8F2288的Datasheet PDF文件第104页浏览型号SN8F2288的Datasheet PDF文件第105页浏览型号SN8F2288的Datasheet PDF文件第106页  
SN8F2280 Series  
USB 2.0 Full-Speed 8-Bit Micro-Controller  
8.5.3 PWM Duty with TCnR Changing  
In PWM mode, the system will compare TCnC and TCnR all the time. When TCnC<TCnR, the PWM will output logic  
“High”, when TCnCTCnR, the PWM will output logic “Low”. If TCnC is changed in certain period, the PWM duty will  
change in next PWM period. If TCnR is fixed all the time, the PWM waveform is also the same.  
Above diagram is shown the waveform with fixed TCnR. In every TCnC overflow PWM output “High, when  
TCnCTCnR PWM output ”Low”. If TCnR is changing in the program processing, the PWM waveform will became as  
following diagram.  
TCnC < TCnR  
PWM Low > High  
TCnC > = TCnR  
PWM High > Low  
TCnC overflow  
and TCnIRQ set  
Update New TCnR!  
Update New TCnR!  
Old TCnR < TCnC < New TCnR  
New TCnR < TCnC < Old TCnR  
Old TCnR  
New TCnR  
New TCnR  
Old TCnR  
0xFF  
TCnC Value  
0x00  
PWMn Output  
1
2
3
4
5
Period  
1st PWM  
Update PWM Duty  
2nd PWM  
Update PWM Duty  
3th PWM  
In period 2 and period 4, new Duty (TCnR) is set. TCn is double buffer design. The PWM still keeps the same duty in  
period 2 and period 4, and the new duty is changed in next period. By the way, system can avoid the PWM not  
changing or H/L changing twice in the same cycle and will prevent the unexpected or error operation.  
SONiX TECHNOLOGY CO., LTD  
Page 102  
Version 1.1  
 
 复制成功!