/* Enables or disables the TIMx peripheral Preload register on CCDAT3.  */
void TIM_ConfigOc3Preload(TIM_Module *TIMx, uint16_t TIM_OCPreload)
/* Enables or disables the TIMx peripheral Preload register on CCDAT3.  */
void TIM_ConfigOc3Preload(TIM_Module *TIMx, uint16_t TIM_OCPreload)
{
    uint16_t tmpccmr2 = 0;
    assert_param(IsTimList3Module(TIMx));
    assert_param(IsTimOcPreLoadState(TIM_OCPreload));
    tmpccmr2 = TIMx->CCMOD2;
    tmpccmr2 &= (uint16_t) ~((uint16_t)TIM_CCMOD2_OC3PEN);
    tmpccmr2 |= TIM_OCPreload;
    TIMx->CCMOD2 = tmpccmr2;
}