-
DuiHuaK
神经网络算法神经网络算法神经网络算法神经网络算法(BP networksBP networksBP networksBP networksBP networks)
- 2021-02-16 13:19:47下载
- 积分:1
-
example6_TIM
本例展示了如何设置TIM,用它来测量一个外部输入信号的频率和占空比。
TIM2时钟设置为72MHz,预分频设置为0,TIM2计数器时钟可表达为:
TIM2 counter clock = TIMxCLK / (Prescaler +1) = 72 MHz,因此可测量的最小频率值为1100Hz。
设置TIM2工作在PWM输入模式(PWM Input Mode),把外部信号作为输入连接到TIM2通道2。
利用TIM2计数器中断来测量信号的频率和占空比。在TIM2_IRQHandler中,计算信号的频率和占空比,方法如下:
变量"Frequency"为由下式得到的外部信号频率:
Frequency = TIM2 counter clock / TIM2_CCR2 单位Hz
变量"Duty_Cycle"为由下式得到的外部信号占空比:
Duty_Cycle = (TIM2_CCR1*100)/(TIM2_CCR2) 单位
(This example shows how to set up the TIM, and use it to measure the frequency and duty cycle of an external input signal. TIM2 clock set to 72MHz and the prescaler is set to 0, TIM2 is counter clock can be expressed as: TIM2 is counter clock = TIMxCLK/(prescaler. Ppls1) = 72 MHz, the minimum measurable frequency value of 1100 Hz. Set TIM2 PWM input mode (PWM Input Mode), the external signal as an input connected to the the TIM2 Channel 2. TIM2 counter interrupt signal to measure frequency and duty cycle. Calculate the frequency and duty cycle of the signal in TIM2_IRQHandler as follows: variable " Frequency" on the grounds of the external signal frequency by the following formula: Frequency = TIM2 is counter clock/TIM2_CCR2 unit Hz variable Duty_Cycle " on the grounds of the following formula to get external duty cycle: Duty_Cycle = (TIM2_CCR1* 100)/(TIM2_CCR2) in )
- 2012-05-18 18:28:47下载
- 积分:1
-
opengl-zoom-rotate-pan
opengl 3d的旋转、缩放和平移,可以很方面的实现。
- 2013-06-17 23:03:49下载
- 积分:1
-
stm32单片机蓝牙数据传输
STM32单片机广泛应用于生活中,本代码通过单片机蓝牙模块与电脑端进行数据传输,在系统中,单片机不带液晶显示屏,因此需要在串口助手中显示出单片机所传输的数据。本代码可以实现单片机与电脑通过蓝牙传输并显示在串口助手中的作用。
- 2022-02-07 13:00:17下载
- 积分:1
-
qisiwole
vc++ 与 matlab 混合编程例子
- 2009-04-04 09:43:43下载
- 积分:1
-
fangxing
这是一个应用一致性几何绕射理论编写的简单程序,初学学者可作为参考(This is a simple program UTD written application, can be used as a reference for beginners and scholars)
- 2021-01-13 16:48:53下载
- 积分:1
-
curl-7.65.1
说明: Duilib 是一款强大的界面开发工具,可以将用户界面和处理逻辑彻底分离,极大地提高用户界面的开发效率,遵循bsd协议。(Duilib is a powerful interface development tool, which can completely separate the user interface and processing logic, greatly improve the development efficiency of user interface, and follow the BSD protocol.)
- 2020-06-19 19:40:02下载
- 积分:1
-
TM7705
TM7705与单片机STM32的接口程序,已经调试通过-Interface with MCU DAC1230 procedures are debugging through
- 2022-09-21 20:40:03下载
- 积分:1
-
C版贪吃蛇源代码
C版贪吃蛇源代码,编译,执行即可娱乐
- 2022-10-01 15:40:03下载
- 积分:1
-
Zip-Unzip-by-IniFile
使您的其他项目轻松压缩解压文件与这个小程序,可以从任何开发IDE调用一个精确的ini文件,指示程序做什么,什么是在同一个文件中完成的。
- 2023-08-05 16:55:03下载
- 积分:1