/* Enables or disables the tim peripheral Preload register on CCR4.  */
void TIM_OC4PreloadConfig(TIM_TypeDef *tim, TIMOCPE_Typedef preload)
/* Enables or disables the tim peripheral Preload register on CCR4.  */
void TIM_OC4PreloadConfig(TIM_TypeDef *tim, TIMOCPE_Typedef preload)
{
    MODIFY_REG(tim->CCMR2, TIM_CCMR2_OC4PEN, preload << 8);
}