Lines Matching refs:tmpccmr1
2893 uint32_t tmpccmr1; in HAL_TIM_Encoder_Init() local
2953 tmpccmr1 = htim->Instance->CCMR1; in HAL_TIM_Encoder_Init()
2962 tmpccmr1 &= ~(TIM_CCMR1_CC1S | TIM_CCMR1_CC2S); in HAL_TIM_Encoder_Init()
2963 tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U)); in HAL_TIM_Encoder_Init()
2966 tmpccmr1 &= ~(TIM_CCMR1_IC1PSC | TIM_CCMR1_IC2PSC); in HAL_TIM_Encoder_Init()
2967 tmpccmr1 &= ~(TIM_CCMR1_IC1F | TIM_CCMR1_IC2F); in HAL_TIM_Encoder_Init()
2968 tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U); in HAL_TIM_Encoder_Init()
2969 tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); in HAL_TIM_Encoder_Init()
2980 htim->Instance->CCMR1 = tmpccmr1; in HAL_TIM_Encoder_Init()
6669 uint32_t tmpccmr1; in TIM_SlaveTimer_SetConfig() local
6720 tmpccmr1 = htim->Instance->CCMR1; in TIM_SlaveTimer_SetConfig()
6723 tmpccmr1 &= ~TIM_CCMR1_IC1F; in TIM_SlaveTimer_SetConfig()
6724 tmpccmr1 |= ((sSlaveConfig->TriggerFilter) << 4U); in TIM_SlaveTimer_SetConfig()
6727 htim->Instance->CCMR1 = tmpccmr1; in TIM_SlaveTimer_SetConfig()
6801 uint32_t tmpccmr1; in TIM_TI1_SetConfig() local
6806 tmpccmr1 = TIMx->CCMR1; in TIM_TI1_SetConfig()
6812 tmpccmr1 &= ~TIM_CCMR1_CC1S; in TIM_TI1_SetConfig()
6813 tmpccmr1 |= TIM_ICSelection; in TIM_TI1_SetConfig()
6817 tmpccmr1 |= TIM_CCMR1_CC1S_0; in TIM_TI1_SetConfig()
6821 tmpccmr1 &= ~TIM_CCMR1_IC1F; in TIM_TI1_SetConfig()
6822 tmpccmr1 |= ((TIM_ICFilter << 4U) & TIM_CCMR1_IC1F); in TIM_TI1_SetConfig()
6829 TIMx->CCMR1 = tmpccmr1; in TIM_TI1_SetConfig()
6847 uint32_t tmpccmr1; in TIM_TI1_ConfigInputStage() local
6853 tmpccmr1 = TIMx->CCMR1; in TIM_TI1_ConfigInputStage()
6856 tmpccmr1 &= ~TIM_CCMR1_IC1F; in TIM_TI1_ConfigInputStage()
6857 tmpccmr1 |= (TIM_ICFilter << 4U); in TIM_TI1_ConfigInputStage()
6864 TIMx->CCMR1 = tmpccmr1; in TIM_TI1_ConfigInputStage()
6891 uint32_t tmpccmr1; in TIM_TI2_SetConfig() local
6896 tmpccmr1 = TIMx->CCMR1; in TIM_TI2_SetConfig()
6900 tmpccmr1 &= ~TIM_CCMR1_CC2S; in TIM_TI2_SetConfig()
6901 tmpccmr1 |= (TIM_ICSelection << 8U); in TIM_TI2_SetConfig()
6904 tmpccmr1 &= ~TIM_CCMR1_IC2F; in TIM_TI2_SetConfig()
6905 tmpccmr1 |= ((TIM_ICFilter << 12U) & TIM_CCMR1_IC2F); in TIM_TI2_SetConfig()
6912 TIMx->CCMR1 = tmpccmr1 ; in TIM_TI2_SetConfig()
6930 uint32_t tmpccmr1; in TIM_TI2_ConfigInputStage() local
6935 tmpccmr1 = TIMx->CCMR1; in TIM_TI2_ConfigInputStage()
6939 tmpccmr1 &= ~TIM_CCMR1_IC2F; in TIM_TI2_ConfigInputStage()
6940 tmpccmr1 |= (TIM_ICFilter << 12U); in TIM_TI2_ConfigInputStage()
6947 TIMx->CCMR1 = tmpccmr1 ; in TIM_TI2_ConfigInputStage()