/* Enables or disables the TIMx peripheral Preload register on CCDAT5.  */
void TIM_ConfigOc5Preload(TIM_Module *TIMx, uint16_t TIM_OCPreload)
/* Enables or disables the TIMx peripheral Preload register on CCDAT5.  */
void TIM_ConfigOc5Preload(TIM_Module *TIMx, uint16_t TIM_OCPreload)
{
    uint16_t tmpccmr3 = 0;
    assert_param(IsTimList1Module(TIMx));
    assert_param(IsTimOcPreLoadState(TIM_OCPreload));
    tmpccmr3 = TIMx->CCMOD3;
    tmpccmr3 &= (uint16_t) ~((uint16_t)TIM_CCMOD3_OC5PEN);
    tmpccmr3 |= (uint16_t)(TIM_OCPreload);
    TIMx->CCMOD3 = tmpccmr3;
}