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

SN8F22711B 参数 Datasheet PDF下载

SN8F22711B图片预览
型号: SN8F22711B
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 111 页 / 1291 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8F22711B的Datasheet PDF文件第74页浏览型号SN8F22711B的Datasheet PDF文件第75页浏览型号SN8F22711B的Datasheet PDF文件第76页浏览型号SN8F22711B的Datasheet PDF文件第77页浏览型号SN8F22711B的Datasheet PDF文件第79页浏览型号SN8F22711B的Datasheet PDF文件第80页浏览型号SN8F22711B的Datasheet PDF文件第81页浏览型号SN8F22711B的Datasheet PDF文件第82页  
SN8F2270B Series  
USB 2.0 Low-Speed 8-Bit Micro-Controller  
8.4 PWM0 MODE  
8.4.1 OVERVIEW  
PWM function is generated by TC0 timer counter and output the PWM signal to PWM0OUT pin (P5.3). The 8-bit  
counter counts modulus 256, 64, 32, 16 controlled by ALOAD0, TC0OUT bits. The value of the 8-bit counter (TC0C) is  
compared to the contents of the reference register (TC0R). When the reference register value (TC0R) is equal to the  
counter value (TC0C), the PWM output goes low. When the counter reaches zero, the PWM output is forced high. The  
low-to-high ratio (duty) of the PWM0 output is TC0R/256, 64, 32, 16.  
PWM output can be held at low level by continuously loading the reference register with 00H. Under PWM operating, to  
change the PWM’s duty cycle is to modify the TC0R.  
’
Note: TC0 is double buffer design. Modifying TC0R to change PWM duty by program, there is no glitch  
and error duty signal in PWM output waveform. Users can change TC0R any time, and the new reload  
value is loaded to TC0R buffer at TC0 overflow.  
MAX. PWM  
ALOAD0 TC0OUT PWM duty range TC0C valid value TC0R valid bits value  
Frequency  
(Fcpu = 6MHz)  
11.719K  
Remark  
0
0
1
1
0
1
0
1
0/256~255/256  
0/64~63/64  
0/32~31/32  
0/16~15/16  
0x00~0xFF  
0x00~0x3F  
0x00~0x1F  
0x00~0x0F  
0x00~0xFF  
0x00~0x3F  
0x00~0x1F  
0x00~0x0F  
Overflow per 256 count  
Overflow per 64 count  
Overflow per 32 count  
Overflow per 16 count  
46.875K  
93.75K  
187.5K  
The Output duty of PWM is with different TC0R. Duty range is from 0/256~255/256.  
0
1
128  
254 255  
0
1
128  
254 255  
……  
……  
……  
……  
TC0 Clock  
TC0R=00H  
TC0R=01H  
TC0R=80H  
TC0R=FFH  
Low  
High  
Low  
High  
Low  
High  
Low  
SONiX TECHNOLOGY CO., LTD  
Page 78  
Version 1.2  
 
 复制成功!