搜索资源列表
STM32+EXTI.rar
- 本例展示了如何使用嵌套中断向量控制器(Nested Vectored Interrupt Controller)来设置IRQ通道。 把3个计时器(TIM2,3,4)设置为在每一个计数器更新事项(counter update event)产生中断。这三个计时器都与各自对应的更新IRQ通道联系起来,并设置他们的中断优先级,TIM2为0,TIM4为2。 在他们各自的中断中:TIM2每1秒翻转一次PC.06的状态;TIM3每2秒翻转一次PC.07的状态;TIM4每3秒翻转一次PC.08的状态
STM32+TIM.rar
- 本例展示了如何设置TIM工作在输出比较-非主动模式(Output Compare Inactive mode),并产生相应的中断。 TIM2时钟设置为36MHz,预分频设置为35999,TIM2计数器时钟可表达为: TIM2 counter clock = TIMxCLK / (Prescaler +1) = 1 KHz 设置TIM2_CCR1寄存器值为1000, CCR1寄存器值1000除以TIM2计数器时钟频率1KHz,为1000毫秒。因此,经过1000毫秒的时延,置PC.06
stm32-Frequency-meter
- 使用stm32通用计数器做的一个简易频率计,可以算出脉冲宽度还有其占空比-Done using a general-purpose counter stm32 simple frequency counter, you can calculate the pulse width as well as its duty cycle
STM32_graycntr
- Gray counter example for STM32 and CodeSourcery G-Gray counter example for STM32 and CodeSourcery GCC
STM32-WWDGPLCD1602-Sec-counter
- WWDG+LCD1602秒表实验;* WWDG + LCD1602 秒表实验 *两个按键中断方式控制,计时精确到10ms *key1--Start/Stop---PA8(板子上User键) key2---Clear---PC13(板子上Tamper键) *LCD1602接线:D0~D7--->PD[0..7] RS->PE0 RW->PE1 E->PE2(外部接上拉电阻到5V) *by 追梦 2011-4-8 *change by:追梦 2011-
PWM-RTC-T
- stm32 pwm 定时器 计数器等功能的集合,可以实现pwm输出,外部信号计数,定时器开关等功能-ststm32 pwm timer counter is a collection of functions can be achieved pwm output, an external signal count, timer switches and other functions.
counter
- stm32的定时器计数 能够对外来的触发进行计数-stm32 timer counter
STM32-frequency-measurement-
- 该程序是基于STM32外部触发计数器的测频程序代码,可以测量的范围是0-100MHZ误差1 不到。-The program is based on the STM32 external trigger counter frequency measurement program code, can be measured in the range of 0-100MHZ error of less than 1 .
stm32tim1PWM
- 利用stm32高级计数器tim1同时产生四路PWM,其它定时器也可以产生四路,可模仿该例子设置寄存器-Stm32 senior counter tim1 use while producing four PWM, timers can also produce other four, mimic the example set register
STM32-counter
- STM32 使用外部中断作为计数器 可以通过串口查看计数值 还有暂停计数功能-STM32 using an external interrupt can still be suspended as a counter counting functions via the serial port to view the count value
stm32-tim-counter-vf
- stm32 tim counter 文档经典合集97 vf伏压变换 tim cnt模式 频率采样-stm32 tim counter
Counter-Frequency-Detection
- stm32实现高精度频率测定,共两种方法 捕获法(可精确到0.001Hz) 定时器中断法(可精确到0.1Hz)-stm32 achieve high precision frequency measurement, a total of two methods Capture (accurate to 0.001Hz) Timer interrupt method (accurate to 0.1Hz)
TIM--counter--register
- stm32 定时器 简单计数程序 寄存器编写-stm32 timer descr iption
TIM-Counter
- stm32 定时器 简单计数 库函数编写-stm32 timer descr iption
STM32
- 本实验将实现如下功能:本实验DS0用来指示程序运行,400ms为一个周期。DS1用于定时器中断取反,指示定时器中断状态,1000ms为一个周期。下载完后,可以看到DS0快闪,DS1慢闪。 -This experiment will achieve the following functions: this experiment DS0 used to indicate the program to run, 400ms for a cycle. DS1 for timer interrupt
3路PWM
- PWM是一种对模拟信号电平进行数字编码的方法。3路PWM通过高分辨率计数器的使用,方波的占空比被调制用来对一个具体模拟信号的电平进行编码(PWM is an analog signal level for digital encoding method.3 road PWM through the use of high resolution counter, square wave duty ratio is modulated to encode a specific analog sign
led on off-waiting counter
- led on off with waiting counter
STM32独立看门狗程序
- 本源码为基于STM32的独立看门狗工作原理实验,配置寄存器IWDG_KR ,设定预分频和计数器初值(This source code is based on STM32 independent watchdog working principle experiment, configuration register IWDG_KR, setting preset frequency and counter initial value.)
测速
- 使用stm32计数器和定时器测速,简单方便(Speed measurement using STM32 counter and timer)
计数器
- 可以实现0~9999秒计数功能的计数器,每隔1s钟计数一次(Counter for 0-9999 seconds, one unit per second)