本例展示了如何利用外设TIM2来产生四路频率不同的信号。 TIM2时钟设置为36MHz,预分频设置为2,使用输出比较-翻转模式(Output Compare Toggle Mode)。 TIM2计数器时钟可表达为:TIM2 counter clock = TIMxCLK / (Prescaler +1) = 12 MHz 设置TIM2_CCR1寄存器值为32768,则CC1更新频率为TIM2计数器时钟频率除以CCR1寄存器值,为366.2 Hz。因此,TIM2通道1可产生一个频率为183.1 Hz的周期信号。 同理,根据寄存器TIM2_CCR2 、TIM2_CCR3和 TIM2_CCR4的值,TIM2通道2可产生一个频率为366.3 Hz的周期信号;TIM2通道3可产生一个频率为732.4 Hz的周期信号;TIM2通道4可产生一个频率为1464.8 Hz的周期信号。 可以通过示波器观察各路输出
上传时间: 2014-01-22
上传用户:plsee
编写程序,登录幼儿园200个小朋友的数据:姓名、性别、年龄、身高、体重、出生日期,分别按年龄排序后输出。 要求: (1)登录数据用函数input() (2)按身高排序用函数sort() (3)输出排序结果用函数output(),输出格式为: 幼儿园小朋友一览(依身高排序) =================================================== 姓名 性别 年龄 身高 出生日期 …… … …… ……
上传时间: 2013-12-30
上传用户:fhzm5658
输入、输出功能,检验输入的数是否为数字功能,ASCII码与二进制数的的相互转化功能,两数相乘功能,因此整个程序定义了两个宏INPUT和MULTIPLE,宏INPUT实现了输入、检验和ASCII码与二进制的相互转换功能,MULTIPLE实现了两数相乘功能,实现输出功能的是子程序OUTPUT,由于在输入的过程中多次用到了回车换行,因此定义了一个回车换行子程序CRLF。
上传时间: 2017-02-08
上传用户:Ants
matlab simulink 三相PFC仿真,input为50hz交流,output为直流。闭环矢量控制
上传时间: 2013-12-06
上传用户:cylnpy
The salience distance transform incorporates edge strength information into the distance transform. The output is more robust and informative as input for techniques such as snakes
标签: transform distance incorporates information
上传时间: 2014-01-11
上传用户:zjf3110
Lighttpd是一个轻量级的Web 服务器,支持FastCGI, CGI, Auth, 输出压缩(output compress), URL重写, Alias等重要功能。它具有非常低的内存开销,cpu占用率低,效能好,以及丰富的模块等特点。其静态文件的响应能力远高于Apache,可谓Web服务器的后期之秀
上传时间: 2014-01-20
上传用户:thuyenvinh
PowerPCB教程简介 欢迎使用 PowerPCB 教程。本教程描述了PADS-PowerPCB 的绝大部分功能 和特点,以及使用的各个过程,这些功能包括: · 基本操作 · 建立元件(Component) · 建立板子边框线(Board outline) · 输入网表(Netlist) · 设置设计规则(Design Rule) ·元件(Part)的布局(Placement) · 手工和交互的布线 · SPECCTRA全自动布线器(Route Engine) ·覆铜(Copper Pour) · 建立分隔/混合平面层(Split/mixed Plane) · Microsoft 的目标连接与嵌入(OLE)(Object Linking Embedding) · 可选择的装配选件(Assembly options) · 设计规则检查(Design Rule Check) · 反向标注(Back Annotation) · 绘图输出(Plot Output) 使用本教程后,你可以学到印制电路板设计和制造的许多基本知识。 你不必一次完成整个教程,如果在任何时候退出后,下次直接找到你要进入 的部分,继续学习本教程。 当你完成了本教程的学习后,可以参考在线帮助(On-line Help)以便得到更多 的信息。如果你需要附加的信息内容,你可以与PADS 在各地办事处或代理商取 得联系,以便得到更多的帮助。 欢迎使用PowerPCB进行PCB设计!
标签: PowerPCB PADS-PowerPCB 教程 分
上传时间: 2013-12-12
上传用户:caozhizhi
叶轮机械多级叶轮网格生成程序介绍 侯 乐 毅 非定常流课题组 本文开发的叶轮机械多级叶轮网格生成程序,采用的网格类型为H型,并在叶片前面/后面延伸区域设置平直网格数ID1和IDN。主程序MESH_BLADE_STAGES,分成三个部分,原始叶型及控制参数从输入程序INPUT输入,求解程序为GRID(ZERO),输出程序为OUTPUT。
上传时间: 2013-12-03
上传用户:bjgaofei
In this project we analyze and design the minimum mean-square error (MMSE) multiuser receiver for uniformly quantized synchronous code division multiple access (CDMA) signals in additive white Gaussian noise (AWGN) channels.This project is mainly based on the representation of uniform quantizer by gain plus additive noise model. Based on this model, we derive the weight vector and the output signal-to-interference ratio (SIR) of the MMSE receiver. The effects of quantization on the MMSE receiver performance is characterized in a single parameter named 鈥漞quivalent noise variance鈥? The optimal quantizer stepsize which maximizes the MMSE receiver output SNR is also determined.
标签: mean-square multiuser receiver project
上传时间: 2014-11-21
上传用户:ywqaxiwang
This Telecommunication Standard [TS] describes the detailed mapping from input blocks of 160 speech samples in 13-bit uniform PCM format to encoded blocks of 95, 103, 118, 134, 148, 159, 204, and 244 bits and from encoded blocks of 95, 103, 118, 134, 148, 159, 204, and 244 bits to output blocks of 160 reconstructed speech samples
标签: Telecommunication describes Standard detailed
上传时间: 2013-12-12
上传用户:cuibaigao