文件名称:915pwm07.17.02
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 10kb
- 下载次数:
- 0次
- 提 供 者:
- your*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
LPC932为例:创建一个脉宽调制信号的定时模式6
由Christian Kulig ,飞利浦半导体12/06/02
导言:
在LPC932可以用来创建一个脉宽调制PWM信号。
这是一个模拟信号,只有2离散水平,例如0V
和5V和恒定时期。目前的价值在这个信号
某一点的时间成正比其占空比。这是
高一期的时间除以时期。它也可以被
计算出的平均价值在某一特定时期。那个
意味着低通滤波后, (如RC电路)的信号变得
模拟,实际值所控制的微控制器。那个
脉宽调制功能使LPC932控制的速度,例如
直流电动机或电力照明亮度。
描述:
通用定时器表# t1的LPC932设置为PWM模式6 。
在此模式变成8位上升柜台特别8位
重载溢流。重载价值观的交替和代表
高级时间和减去一个时期的时候( =低时间)的
PWM信号。每个溢出就中断或切换的
某端口引脚。
指定的端口引脚上T1是P0.7 。
例如交替的增加和减少的占空比的
PWM信号端口引脚P0.7介于0 %和100 % 。
请注意,在Keil公司MCB900局此端口引脚不
连接到任何的发光二极管,然而的PWM可显示
与示波器。-LPC932 EXAMPLE: CREATING A PWM SIGNAL USING A TIMER IN MODE 6
by Christian Kulig, Philips Semiconductor 12/06/02
INTRODUCTION:
The LPC932 can be used to create a Pulse Width Modulated PWM signal.
That s an analog signal, with only 2 discrete levels, for example 0V
and 5V and a constant period. The current value of this signal at a
certain point of time is proportional to its Duty Cycle. That s the
High Time during one period divided by the period. It can also be
calculated as the average value during a particular period. That
means after low pass filtering, (e.g. RC circuit) the signal becomes
analog, with an actual value controlled by the microcontroller. The
PWM functionality enables the LPC932 to control for example the speed
of DC motors or the brightness of electric lighting.
DEscr iptION:
The general purpose timer T1 of the LPC932 is set up to PWM Mode 6.
In this mode it becomes a 8 bit up-counter with a special 8 bit
reload on overflow. The reload
由Christian Kulig ,飞利浦半导体12/06/02
导言:
在LPC932可以用来创建一个脉宽调制PWM信号。
这是一个模拟信号,只有2离散水平,例如0V
和5V和恒定时期。目前的价值在这个信号
某一点的时间成正比其占空比。这是
高一期的时间除以时期。它也可以被
计算出的平均价值在某一特定时期。那个
意味着低通滤波后, (如RC电路)的信号变得
模拟,实际值所控制的微控制器。那个
脉宽调制功能使LPC932控制的速度,例如
直流电动机或电力照明亮度。
描述:
通用定时器表# t1的LPC932设置为PWM模式6 。
在此模式变成8位上升柜台特别8位
重载溢流。重载价值观的交替和代表
高级时间和减去一个时期的时候( =低时间)的
PWM信号。每个溢出就中断或切换的
某端口引脚。
指定的端口引脚上T1是P0.7 。
例如交替的增加和减少的占空比的
PWM信号端口引脚P0.7介于0 %和100 % 。
请注意,在Keil公司MCB900局此端口引脚不
连接到任何的发光二极管,然而的PWM可显示
与示波器。-LPC932 EXAMPLE: CREATING A PWM SIGNAL USING A TIMER IN MODE 6
by Christian Kulig, Philips Semiconductor 12/06/02
INTRODUCTION:
The LPC932 can be used to create a Pulse Width Modulated PWM signal.
That s an analog signal, with only 2 discrete levels, for example 0V
and 5V and a constant period. The current value of this signal at a
certain point of time is proportional to its Duty Cycle. That s the
High Time during one period divided by the period. It can also be
calculated as the average value during a particular period. That
means after low pass filtering, (e.g. RC circuit) the signal becomes
analog, with an actual value controlled by the microcontroller. The
PWM functionality enables the LPC932 to control for example the speed
of DC motors or the brightness of electric lighting.
DEscr iptION:
The general purpose timer T1 of the LPC932 is set up to PWM Mode 6.
In this mode it becomes a 8 bit up-counter with a special 8 bit
reload on overflow. The reload
(系统自动生成,下载前可以参看下载内容)
下载文件列表
915pwm07.17.02
..............\915pwm07.17.02.Opt
..............\915pwm07.17.02.plg
..............\915pwm07.17.02.Uv2
..............\915pwm07.17.m51
..............\915pwm07_17_02_Opt.Bak
..............\915pwm07_17_02_Uv2.Bak
..............\code
..............\....\pwmmain.c
..............\hex
..............\...\915pwm07.17.02
..............\...\915pwm07.17.02.plg
..............\...\915pwm07.17.hex
..............\...\915pwm07.17.lnp
..............\...\pwmmain.obj
..............\pwmmain.lst
..............\915pwm07.17.02.Opt
..............\915pwm07.17.02.plg
..............\915pwm07.17.02.Uv2
..............\915pwm07.17.m51
..............\915pwm07_17_02_Opt.Bak
..............\915pwm07_17_02_Uv2.Bak
..............\code
..............\....\pwmmain.c
..............\hex
..............\...\915pwm07.17.02
..............\...\915pwm07.17.02.plg
..............\...\915pwm07.17.hex
..............\...\915pwm07.17.lnp
..............\...\pwmmain.obj
..............\pwmmain.lst