Description: At TIM3 timer with PA6, PA7, PB0, PB1 output frequency of the same four are 50 duty cycle, respectively, 37.5 , 25 , 12.5 of the signal. PWM_Input with the TIM2 function, I caught from the PA1 signal PWM frequency and duty cycle, and output measurement USART1 information.
- [IAR_STM32] - Originality, STM32F103R8T6 for the contr
File list (Check if you may need any files):
PWM_Output_Input
................\EWARMv4
................\.......\cortexm3_macro.s
................\.......\Debug
................\.......\.....\Exe
................\.......\.....\...\PWM_Output_Input.d79
................\.......\.....\...\PWM_Output_Input.sim
................\.......\.....\List
................\.......\.....\Obj
................\.......\.....\...\cortexm3_macro.r79
................\.......\.....\...\main.r79
................\.......\.....\...\PWM_Output_Input.pbd
................\.......\.....\...\stm32f10x_flash.r79
................\.......\.....\...\stm32f10x_gpio.r79
................\.......\.....\...\stm32f10x_it.r79
................\.......\.....\...\stm32f10x_lib.r79
................\.......\.....\...\stm32f10x_nvic.r79
................\.......\.....\...\stm32f10x_rcc.r79
................\.......\.....\...\stm32f10x_systick.r79
................\.......\.....\...\stm32f10x_tim.r79
................\.......\.....\...\stm32f10x_usart.r79
................\.......\.....\...\stm32f10x_vector.r79
................\.......\lnkarm_flash.xcl
................\.......\PWM_Output_Input.dep
................\.......\PWM_Output_Input.ewd
................\.......\PWM_Output_Input.ewp
................\.......\PWM_Output_Input.eww
................\.......\settings
................\.......\........\PWM_Output_Input.cspy.bat
................\.......\........\PWM_Output_Input.dbgdt
................\.......\........\PWM_Output_Input.dni
................\.......\........\PWM_Output_Input.wsdt
................\.......\stm32f10x_vector.c
................\EWARMv5
................\.......\cortexm3_macro.s
................\.......\Debug
................\.......\.....\Exe
................\.......\.....\...\PWM_Output_Input.out
................\.......\.....\List
................\.......\.....\Obj
................\.......\.....\...\cortexm3_macro.o
................\.......\.....\...\main.o
................\.......\.....\...\PWM_Output_Input.pbd
................\.......\.....\...\stm32f10x_flash.o
................\.......\.....\...\stm32f10x_gpio.o
................\.......\.....\...\stm32f10x_it.o
................\.......\.....\...\stm32f10x_lib.o
................\.......\.....\...\stm32f10x_nvic.o
................\.......\.....\...\stm32f10x_rcc.o
................\.......\.....\...\stm32f10x_systick.o
................\.......\.....\...\stm32f10x_tim.o
................\.......\.....\...\stm32f10x_usart.o
................\.......\.....\...\stm32f10x_vector.o
................\.......\PWM_Output_Input.dep
................\.......\PWM_Output_Input.ewd
................\.......\PWM_Output_Input.ewp
................\.......\PWM_Output_Input.eww
................\.......\settings
................\.......\........\PWM_Output_Input.cspy.bat
................\.......\........\PWM_Output_Input.dbgdt
................\.......\........\PWM_Output_Input.dni
................\.......\........\PWM_Output_Input.wsdt
................\.......\........\PWM_Output_Input_Debug.jlink
................\.......\stm32f10x_flash.icf
................\.......\stm32f10x_vector.c
................\library
................\.......\inc
................\.......\...\cortexm3_macro.h
................\.......\...\stm32f10x_adc.h
................\.......\...\stm32f10x_bkp.h
................\.......\...\stm32f10x_can.h
................\.......\...\stm32f10x_crc.h
................\.......\...\stm32f10x_dac.h
................\.......\...\stm32f10x_dbgmcu.h
................\.......\...\stm32f10x_dma.h
................\.......\...\stm32f10x_exti.h
................\.......\...\stm32f10x_flash.h
................\.......\...\stm32f10x_fsmc.h
................\.......\...\stm32f10x_gpio.h
................\.......\...\stm32f10x_i2c.h
................\.......\...\stm32f10x_iwdg.h
................\.......\...\stm32f10x_lib.h
................\.......\...\stm32f10x_map.h
................\.......\...\stm32f10x_nvic.h
................\.......\...\stm32f10x_pwr.h
................\.......\...\stm32f10x_rcc.h
................\.......\...\stm32f10x_rtc.h
................\.......\...\stm32f10x_s