参数资料
型号: SN8P1603S
厂商: SONIX Technology Co., Ltd.
英文描述: 8-Bit Micro-Controller
中文描述: 8位微控制器
文件页数: 63/94页
文件大小: 540K
代理商: SN8P1603S
SN8P1600
8-bit micro-controller
SONiX TECHNOLOGY CO., LTD
Page 63
Revision 1.94
PWM FUNCTION DESCRIPTION (SN8P1604 Only)
OVERVIEW
PWM function is generated by TC1 timer counter and output the PWM signal to PWM1OUT pin (P5.3). The 8-bit
counter counts modulus 256, from 0-255, inclusive. The value of the 8-bit counter is compared to the contents of the
reference register TC1R. When the reference register value TC1R is equal to the counter value TC1C, the PWM
output goes low. When the counter reaches zero, the PWM output is forced high. The low-to-high ratio (duty) of the
PWM1 output is TC1R/256.
All PWM outputs remain inactive during the first 256 input clock signals. Then, when the counter value (TC1C)
changes from FFH back to 00H, the PWM output is forced to high level. The pulse width ratio (duty cycle) is defined by
the contents of the reference register (TC1R) and is programmed in increments of 1:256. The 8-bit PWM data register
TC1R is a write only register.
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 TC1R.
Reference Register Value (TC1R)
0000 0000
0000 0001
0000 0010
.
.
1000 0000
1000 0001
.
.
1111 1110
1111 1111
Duty
0/256
1/256
2/256
.
.
128/256
129/256
.
.
254/256
255/256
TC1 Clock
TC1R = 00H
TC1R = 80H
TC1R = 01H
TC1R = FFH
High
Low
Low
High
Low
Low
High
0
1
128
..... 254
255
.....
0
1
128
.....
254
255
.....
相关PDF资料
PDF描述
SN8P1603X 8-Bit Micro-Controller
SN8P1604 8-Bit Micro-Controller
SN8P1604AK 8-Bit Micro-Controller
SN8P1604AP 8-Bit Micro-Controller
SN8P1604AQ 8-Bit Micro-Controller
相关代理商/技术参数
参数描述
SN8P1603X 制造商:SONIX 制造商全称:SONIX 功能描述:8-Bit Micro-Controller
SN8P1604 制造商:SONIX 制造商全称:SONIX 功能描述:8-Bit Micro-Controller
SN8P1604AK 制造商:SONIX 制造商全称:SONIX 功能描述:8-Bit Micro-Controller
SN8P1604AP 制造商:SONIX 制造商全称:SONIX 功能描述:8-Bit Micro-Controller
SN8P1604AQ 制造商:SONIX 制造商全称:SONIX 功能描述:8-Bit Micro-Controller