TM STM32F4xx Libraries  v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle

PWM IN library for STM32F4xx devices - http://stm32f4-discovery.com/2015/01/library-48-measure-pwm-input-signal-with-stm32f4. More...

Modules

 TM_PWMIN_Macros
 Library defines.
 
 TM_PWMIN_Typedefs
 Library Typedefs.
 
 TM_PWMIN_Functions
 Library Functions.
 

Detailed Description

PWM IN library for STM32F4xx devices - http://stm32f4-discovery.com/2015/01/library-48-measure-pwm-input-signal-with-stm32f4.

This library allows you to measure PWM input signal (Frequency, Duty Cycle) using TIM peripheral.

Pinout
TIMER   |CHANNEL 1            |CHANNEL 2         
        |PP1    PP2    PP3    |PP1    PP2    PP3
                                                
TIM 1   |PA8    PE9    -      |PA9    PE10   -  
TIM 2   |PA0    PA5    PA15   |PA1    PB3    -  
TIM 3   |PA6    PB4    PC6    |PA7    PB5    PC7 
TIM 4   |PB6    PD12   -      |PB7    PD13   -  
TIM 5   |PA0    PH10   -      |PA1    PH11   -  
TIM 8   |PC6    PI5    -      |PC7    PI6    -  
TIM 9   |PA2    PE5    -      |PA3    PE6    -  
TIM 10  |PB8    PF6    -      |-      -      -  
TIM 11  |PB9    PF7    -      |-      -      -  
TIM 12  |PB14   PH6    -      |PB15   PH9    -  
TIM 13  |PA6    PF8    -      |-      -      -  
TIM 14  |PA7    PF9    -      |-      -      -  
- PPx: Pins Pack 1 to 3, for 3 possible channel outputs on timer.

Notes on table above

Changelog
 Version 1.1
  - March 20, 2015
  - Support for new GPIO library
  
 Version 1.0
  - First release
Dependencies
 - STM32F4xx
 - STM32F4xx RCC
 - STM32F4xx GPIO
 - STM32F4xx TIM
 - defines.h
 - TM TIMER PROPERTIES
 - TM GPIO