Searched refs:tmpccmr1 (Results 1 – 6 of 6) sorted by relevance
434 uint32_t tmpccmr1 = 0U; in LL_TIM_ENCODER_Init() local453 tmpccmr1 = LL_TIM_ReadReg(TIMx, CCMR1); in LL_TIM_ENCODER_Init()459 tmpccmr1 &= (uint32_t)~(TIM_CCMR1_CC1S | TIM_CCMR1_IC1F | TIM_CCMR1_IC1PSC); in LL_TIM_ENCODER_Init()460 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC1ActiveInput >> 16U); in LL_TIM_ENCODER_Init()461 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC1Filter >> 16U); in LL_TIM_ENCODER_Init()462 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC1Prescaler >> 16U); in LL_TIM_ENCODER_Init()465 tmpccmr1 &= (uint32_t)~(TIM_CCMR1_CC2S | TIM_CCMR1_IC2F | TIM_CCMR1_IC2PSC); in LL_TIM_ENCODER_Init()466 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC2ActiveInput >> 8U); in LL_TIM_ENCODER_Init()467 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC2Filter >> 8U); in LL_TIM_ENCODER_Init()468 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC2Prescaler >> 8U); in LL_TIM_ENCODER_Init()[all …]
2173 uint32_t tmpccmr1 = 0; in HAL_TIM_Encoder_Init() local2216 tmpccmr1 = htim->Instance->CCMR1; in HAL_TIM_Encoder_Init()2225 tmpccmr1 &= ~(TIM_CCMR1_CC1S | TIM_CCMR1_CC2S); in HAL_TIM_Encoder_Init()2226 tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8)); in HAL_TIM_Encoder_Init()2229 tmpccmr1 &= ~(TIM_CCMR1_IC1PSC | TIM_CCMR1_IC2PSC); in HAL_TIM_Encoder_Init()2230 tmpccmr1 &= ~(TIM_CCMR1_IC1F | TIM_CCMR1_IC2F); in HAL_TIM_Encoder_Init()2231 tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8); in HAL_TIM_Encoder_Init()2232 tmpccmr1 |= (sConfig->IC1Filter << 4) | (sConfig->IC2Filter << 12); in HAL_TIM_Encoder_Init()2243 htim->Instance->CCMR1 = tmpccmr1; in HAL_TIM_Encoder_Init()4689 uint32_t tmpccmr1 = 0; in TIM_SlaveTimer_SetConfig() local[all …]
411 uint32_t tmpccmr1 = 0U; in LL_TIM_ENCODER_Init() local430 tmpccmr1 = LL_TIM_ReadReg(TIMx, CCMR1); in LL_TIM_ENCODER_Init()436 tmpccmr1 &= (uint32_t)~(TIM_CCMR1_CC1S | TIM_CCMR1_IC1F | TIM_CCMR1_IC1PSC); in LL_TIM_ENCODER_Init()437 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC1ActiveInput >> 16U); in LL_TIM_ENCODER_Init()438 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC1Filter >> 16U); in LL_TIM_ENCODER_Init()439 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC1Prescaler >> 16U); in LL_TIM_ENCODER_Init()442 tmpccmr1 &= (uint32_t)~(TIM_CCMR1_CC2S | TIM_CCMR1_IC2F | TIM_CCMR1_IC2PSC); in LL_TIM_ENCODER_Init()443 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC2ActiveInput >> 8U); in LL_TIM_ENCODER_Init()444 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC2Filter >> 8U); in LL_TIM_ENCODER_Init()445 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC2Prescaler >> 8U); in LL_TIM_ENCODER_Init()[all …]
2164 uint32_t tmpccmr1 = 0U; in HAL_TIM_Encoder_Init() local2209 tmpccmr1 = htim->Instance->CCMR1; in HAL_TIM_Encoder_Init()2218 tmpccmr1 &= ~(TIM_CCMR1_CC1S | TIM_CCMR1_CC2S); in HAL_TIM_Encoder_Init()2219 tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U)); in HAL_TIM_Encoder_Init()2222 tmpccmr1 &= ~(TIM_CCMR1_IC1PSC | TIM_CCMR1_IC2PSC); in HAL_TIM_Encoder_Init()2223 tmpccmr1 &= ~(TIM_CCMR1_IC1F | TIM_CCMR1_IC2F); in HAL_TIM_Encoder_Init()2224 tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U); in HAL_TIM_Encoder_Init()2225 tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); in HAL_TIM_Encoder_Init()2236 htim->Instance->CCMR1 = tmpccmr1; in HAL_TIM_Encoder_Init()4627 uint32_t tmpccmr1 = 0U; in TIM_TI1_SetConfig() local[all …]
531 uint32_t tmpccmr1; in LL_TIM_ENCODER_Init() local550 tmpccmr1 = LL_TIM_ReadReg(TIMx, CCMR1); in LL_TIM_ENCODER_Init()556 tmpccmr1 &= (uint32_t)~(TIM_CCMR1_CC1S | TIM_CCMR1_IC1F | TIM_CCMR1_IC1PSC); in LL_TIM_ENCODER_Init()557 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC1ActiveInput >> 16U); in LL_TIM_ENCODER_Init()558 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC1Filter >> 16U); in LL_TIM_ENCODER_Init()559 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC1Prescaler >> 16U); in LL_TIM_ENCODER_Init()562 tmpccmr1 &= (uint32_t)~(TIM_CCMR1_CC2S | TIM_CCMR1_IC2F | TIM_CCMR1_IC2PSC); in LL_TIM_ENCODER_Init()563 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC2ActiveInput >> 8U); in LL_TIM_ENCODER_Init()564 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC2Filter >> 8U); in LL_TIM_ENCODER_Init()565 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC2Prescaler >> 8U); in LL_TIM_ENCODER_Init()[all …]
2539 uint32_t tmpccmr1; in HAL_TIM_Encoder_Init() local2600 tmpccmr1 = htim->Instance->CCMR1; in HAL_TIM_Encoder_Init()2609 tmpccmr1 &= ~(TIM_CCMR1_CC1S | TIM_CCMR1_CC2S); in HAL_TIM_Encoder_Init()2610 tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U)); in HAL_TIM_Encoder_Init()2613 tmpccmr1 &= ~(TIM_CCMR1_IC1PSC | TIM_CCMR1_IC2PSC); in HAL_TIM_Encoder_Init()2614 tmpccmr1 &= ~(TIM_CCMR1_IC1F | TIM_CCMR1_IC2F); in HAL_TIM_Encoder_Init()2615 tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U); in HAL_TIM_Encoder_Init()2616 tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); in HAL_TIM_Encoder_Init()2627 htim->Instance->CCMR1 = tmpccmr1; in HAL_TIM_Encoder_Init()6042 uint32_t tmpccmr1; in TIM_SlaveTimer_SetConfig() local[all …]