-
3.2.5-EDMA
EMDA控制器可以在没有cpu的参与下完成映射存储空间的数据传输,这些数据的传输可以是片内外设,片内存储器之间。(EMDA controller can be done without the participation of CPU mapping storage space of data transmission, the data transmission can be set inside and outside, between internal storage.)
- 2016-04-26 23:13:24下载
- 积分:1
-
液位传感器TTL输出程序
说明: 超过液位后警示灯动作,提示或警告液面已经到达警示位(Warning lamp action after exceeding liquid level)
- 2020-06-25 09:40:02下载
- 积分:1
-
FM2018SHI-c-code
美国fortemedia消回音芯片FM2018SHI控制程序C
代码以及寄存器操作,可兼容FM1188.(American fortemedia echo cancellation chip FM2018SHI control procedures C code as well as register operation, compatible FM1188.)
- 2013-12-12 14:17:47下载
- 积分:1
-
progjess
The progress of the color gradient(The progress of The color gradient)
- 2017-03-13 16:40:23下载
- 积分:1
-
串口测试程序
说明: 基于VC 的51单片机串口测试程序源码(51 VC serial port test program source code based on VC)
- 2020-05-21 08:23:44下载
- 积分:1
-
Text1
pca 用于定时器功能 pca可用于捕捉,定时,pwm输出等功能(pca pca can be used to capture, timing, pwm output for timer function)
- 2012-08-28 15:04:01下载
- 积分: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
-
AD2S1210_Code
ADI公司的ADC芯片AD2S1210的配置及采集处理程序,已经过验证,在tms320上运行ok(ADC company s AD2S1210 chip ADI configuration and acquisition process, has been verified, running on the OK TMS320)
- 2021-03-18 10:39:20下载
- 积分:1
-
D_Motor
AT89C51控制步进电机,实现正反转加减速,驱动芯片是ULN2803.(AT89C51 control the stepper motor to achieve reversing acceleration and deceleration, the driver chip is the ULN2803.)
- 2011-05-30 21:09:36下载
- 积分:1
-
stm32f105x_adc
stm32单片机通过AD转化输出模拟电压值,并显示在串口调试助手上(The analog voltage value of STM32 MCU is converted by AD and displayed on the debugging assistant of serial port.)
- 2020-12-08 11:19:21下载
- 积分:1