/* Set Timer 1 Input to XOR of Three Channels. 
The first timer capture input is formed from the XOR of the first three timer input channels 1, 2, 3. */
void timer_set_ti1_ch123_xor(uint32_t timer_peripheral)
/* Set Timer 1 Input to XOR of Three Channels. 
The first timer capture input is formed from the XOR of the first three timer input channels 1, 2, 3. */
void timer_set_ti1_ch123_xor(uint32_t timer_peripheral)
{
	TIM_CR2(timer_peripheral) |= TIM_CR2_TI1S;
}