Motor commutation using Hall feedback and the Timer input XOR gate
I am planning to us the STM32F103 MCU for BLDC motor control. No encoder, only the usual three Hall sensors. I am attempting to use the XOR gate in Timer channel 1 that combines the rising and falling edges of all three Halls (Ref. Manual RM0008, page 332). See the enclosed diagram, where the red lines indicate the signal flow used for this feature (Ref. Manual RM0008, p. 382, Fig. 125).
Question: how is the Timer's Edge Detector configured to detect both rising and falling edges? I cannot find a reference for timers. (only for external triggers - ETR).
Thank you for your feedback!