Input Capture using timers.
HiI'm working on a BLDC Motor control project using STM8S Discovery Board (STM8S 105C6T6 MCU). I need to read the hall sensor inputs from my motor onto the three channels of TIM 2. So I thought of getting acquainted with the mechanism of input captur...