Example Description

This example describes how to use Timer 4 to capture pulse width.

Requirement Components:
    None

Behaviour:
- PA_13 as TIM5 PWM channel output 32K, connect it to PB_4
- PB_4 as TIM4 input capture pin

This example will print out the pulse width of 32kHz pwm positive edge.
 