-
100T2
汽车横、轨道衡,电子汽车衡技术协议说明文档资料(Automotive Wang, railroad track scale, electronic truck scale information technology agreement documentation)
- 2007-08-21 22:00:52下载
- 积分:1
-
12864
12864液晶显示驱动,即Proteus中HDG12864f-3的驱动程序(12864LCD driver, the Proteus in HDG12864f-3driver
)
- 2012-04-17 19:47:27下载
- 积分:1
-
HUST
华中科大第八届的程序 拿了赛区的二等奖 关于飞思卡尔智能车电磁组(sensor group)
- 2014-01-17 13:00:55下载
- 积分:1
-
commonly-used-algorithm--C-code
常用算法程序集(C语言描述) (第三版)源代码(commonly used algorithm C code)
- 2017-03-25 18:09:20下载
- 积分: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
-
ADS1100的源程序
ADS1100是全差分输入、16位分辨率、SOT23-6封装、有自校准功能的精密A/D转换器(The ADS1100 is a fully differential input, 16 bit resolution, SOT23 - 6 package, and a precision A/D converter with self calibration functions)
- 2017-09-28 19:19:41下载
- 积分:1
-
AD_lcd
基于TI公司的msp430g2553单片机的lcd显示程序,好用(Based on TI company s msp430g2553 MCU LCD display program, absolutely easy to use)
- 2013-09-12 12:23:53下载
- 积分:1
-
MSP430-RS232-
这是利用MSP430f149在1602液晶屏上显示字符的程序。(This to use MSP430f149 1602 LCD display character program.)
- 2013-04-09 02:39:14下载
- 积分:1
-
1.LED
说明: 51单片机中的开发板上的LED跑马灯程序,很简单但是很实用适合新手/。(The program of LED horse-running lamp on the development board of 51 single-chip computer is very simple but practical for beginners/ novices.)
- 2019-01-26 22:09:37下载
- 积分:1
-
MySTM8V1.3
stm8l的ADC采集,DAC输出以及串口通讯(Stm8l ADC acquisition, DAC output and serial communication)
- 2017-07-07 14:09:48下载
- 积分:1