-
4.2.4
《单片机C语言编程与实例》的代码,使用keil编程环境,供大家参考( Microcontroller C programming language and examples of code, using keil programming environment, for your reference)
- 2008-07-29 15:12:33下载
- 积分:1
-
test_7279
这里给出一个用于测试7279芯片扫描与控制功能的简单例程。(Here is a test for the 7279 chip scanning and control functions simple routines.)
- 2013-08-08 01:17:56下载
- 积分:1
-
123
说明: 一个电子钟的程序,用ds1302 和s52单片机,用8位数码管显示(Procedures for an electronic clock, with ds1302 and s52 microcontroller with 8-bit digital display)
- 2010-03-31 22:41:22下载
- 积分:1
-
serialDispDebug
针对单片机数据采集系统,用Matlab实现上位机,实现从串口读取采集数据并实时绘制信号波形,包括初始化主机串口、按照通信协议调用回调函数读取数据,并实时刷新波形显示。(For SCM data acquisition system, the Matlab computer, data read the serial port acquisition and real-time signal waveform drawing, including the initialization callback function called the host a serial port, according to the communication protocol to read data, real-time refresh and waveform display.)
- 2015-11-30 02:32:42下载
- 积分:1
-
KIVA-3V.2x 模拟仿真必备
学内燃机的都懂,不用多介绍了,kiva-3v做模拟仿真必备。(Understand about learning the engine, do not introduce more, kiva-3v necessary to do simulation)
- 2014-02-26 21:35:34下载
- 积分: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
-
51654498STM32F107_LwIP_PTP_V1.0.3
这是ptp时钟同步代码,经测试有用,移植的时候注意选择版本,推荐使用v2 版本stm32 ms评估板(this is ptp,this is ptp this is ptp this is ptp)
- 2018-01-30 19:17:29下载
- 积分:1
-
AD8638_8639_cn
AD8638/AD8639:16V自稳零、轨到轨输出运算放大器(中文版PDF, 728 KB)(AD8638/AD8639: 16V Auto-Zero, Rail-to-Rail Output Operational Amplifier (Chinese edition PDF, 728 KB))
- 2015-01-10 18:09:28下载
- 积分:1
-
HART
HART设计代码和硬件电路图纸,绝对的有用,方便你的设计(HART code and hardware circuit design drawings, absolutely useful and convenient for your design)
- 2021-02-24 13:59:40下载
- 积分:1
-
STM32F103C8T6控制继电器输出
STM32F103控制继电器输出,可扩展应用至其他程序(STM32F103 Control Relay Output)
- 2021-01-20 15:28:41下载
- 积分:1