Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Embeded-SCM Develop SCM

Example1

  • Category : SCM
  • Tags :
  • Update : 2012-11-26
  • Size : 205kb
  • Downloaded :0次
  • Author :c*****
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
This example demonstrates how to use peripherals TIM2 to generate four different signal frequencies. TIM2 clock set to 36MHz, pre-divider is set to 2, the use of output compare- flip model (Output Compare Toggle Mode). TIM2 counter clock can be expressed as: TIM2 counter clock = TIMxCLK/(Prescaler+ 1) = 12 MHz set TIM2_CCR1 register value is 32768, then cC1 update frequency for TIM2 counter clock frequency divided by the value of CCR1 register for 366.2 Hz. Therefore, TIM2 channel 1 can generate a frequency of 183.1 Hz for the periodic signal. Similarly, under the register TIM2_CCR2, TIM2_CCR3 and TIM2_CCR4 value, TIM2 channel 2 can have a frequency of 366.3 Hz cycle signal TIM2 channel 3 can have a frequency of 732.4 Hz cycle signal TIM2 Channel 4 can produce a frequency of 1464.8 Hz cycle signal. Can be observed through the oscilloscope various output
Packet file list
(Preview for download)
Example1
........\cortexm3_macro.h
........\Debug
........\main.c
........\readme.txt
........\settings
........\........\TIM_TEXT1.cspy.bat
........\........\TIM_TEXT1.dbgdt
........\........\TIM_TEXT1.dni
........\........\TIM_TEXT1.wsdt
........\stm32f10x_adc.c
........\stm32f10x_adc.h
........\stm32f10x_bkp.c
........\stm32f10x_bkp.h
........\stm32f10x_can.c
........\stm32f10x_can.h
........\stm32f10x_conf.h
........\stm32f10x_dma.c
........\stm32f10x_dma.h
........\stm32f10x_exti.c
........\stm32f10x_exti.h
........\stm32f10x_flash.c
........\stm32f10x_flash.h
........\stm32f10x_gpio.c
........\stm32f10x_gpio.h
........\stm32f10x_i2c.c
........\stm32f10x_i2c.h
........\stm32f10x_it.c
........\stm32f10x_it.h
........\stm32f10x_iwdg.c
........\stm32f10x_iwdg.h
........\stm32f10x_lib.c
........\stm32f10x_lib.h
........\stm32f10x_map.h
........\stm32f10x_nvic.c
........\stm32f10x_nvic.h
........\stm32f10x_pwr.c
........\stm32f10x_pwr.h
........\stm32f10x_rcc.c
........\stm32f10x_rcc.h
........\stm32f10x_rtc.c
........\stm32f10x_rtc.h
........\stm32f10x_spi.c
........\stm32f10x_spi.h
........\stm32f10x_systick.c
........\stm32f10x_systick.h
........\stm32f10x_tim.c
........\stm32f10x_tim.h
........\stm32f10x_tim1.c
........\stm32f10x_tim1.h
........\stm32f10x_type.h
........\stm32f10x_usart.c
........\stm32f10x_usart.h
........\stm32f10x_wwdg.c
........\stm32f10x_wwdg.h
........\TIM_TEXT1.dep
........\TIM_TEXT1.ewd
........\TIM_TEXT1.eww
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us : 632832888@qq.com
1999-2046 CodeBus All Rights Reserved.