/* Enable Off-State in Idle Mode. 
Enables the off-state in idle mode for the break function of an advanced timer. When the master output is disabled the output is set to its inactive level as defined by the output polarity. */
void timer_set_enabled_off_state_in_idle_mode(uint32_t timer_peripheral)
/* Enable Off-State in Idle Mode. 
Enables the off-state in idle mode for the break function of an advanced timer. When the master output is disabled the output is set to its inactive level as defined by the output polarity. */
void timer_set_enabled_off_state_in_idle_mode(uint32_t timer_peripheral)
{
	TIM_BDTR(timer_peripheral) |= TIM_BDTR_OSSI;
}