-
ADX345
基于STM32的adx345加速度传感器代码。( U57FA u4E89M0 u7684g4A0 u901F u5EA6 u4F20 u611F u5668 u4EE3 u7801 u3002)
- 2017-05-21 11:18:50下载
- 积分:1
-
UartDemo
STC12C5410AD单片机串口测试程序(STC12C5410AD microcontroller serial test programSTC12C5410AD microcontroller serial test program)
- 2012-05-07 15:03:13下载
- 积分:1
-
MiniBalanceV5.0
基于STM32的平衡小车源码(精简入门版),可实现小车的直立平衡。(Balanced car source code based on STM32 (streamlined entry version) can achieve vertical balance of the car.)
- 2021-04-06 21:29:02下载
- 积分: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
-
61IC_S3962
Altium原理图库(TI所有DSP原理图库)
常用DSP原理图及封装TMS320F2806芯片封装库.rar
...................TMS320C6713芯片原理图.rar
...................TMS320VC5509芯片原理图.rar
...................TMS320VC5502芯片原理图 .rar
...................TMS320VC5416芯片原理图.rar
...................TMS320F2812芯片原理图.rar
...................TMS320VC5416芯片封装库.rar
...................TMS320F2806芯片原理图.rar
...................TPS767D318芯片封装库.rar
...................TMS320C6713芯片封装库.rar
...................TMS320VC5502芯片封装库.rar
...................TMS320VC5509芯片封装库.rar
...................TMS320F2812芯片封装库.rar
...................TMS320LF2407芯片封装库.rar
...................TMS320VC5407原理图.rar
常用DSP原理图及封装(Altium schematic library (TI DSP schematic library all))
- 2021-03-10 22:49:26下载
- 积分:1
-
1602LCDtest
51系列单片机,1602LCD显示测试程序,测试通过,可直接使用(51 series, 1602LCD display test program, test, can be used directly)
- 2011-11-08 09:24:59下载
- 积分:1
-
TLC5618
51单片机控制12位DA芯片TLC5618产生锯齿波,可作为扫频的触发信号(51 SCM 12 DA chip TLC5618 generated sawtooth sweep trigger signal can be used as)
- 2011-08-30 05:25:07下载
- 积分:1
-
DS18B20
PIC16F877单片机18B20项目文件(PIC16F877 microcontroller project file 18B20)
- 2014-02-17 19:40:27下载
- 积分:1
-
sim900a-gprs
sim900a gprs上传数据,51单片机c语言源程序(sim900a gprs upload data, 51 c language source)
- 2021-04-24 00:38:47下载
- 积分:1
-
Stepper-motor
基于芯片LPC2132的步进电机控制的基本实验(Chip LPC2132 stepper motor control experiment)
- 2012-12-24 16:01:07下载
- 积分:1