Lines Matching refs:tmpccmr1

497   uint32_t tmpccmr1;  in LL_TIM_ENCODER_Init()  local
516 tmpccmr1 = LL_TIM_ReadReg(TIMx, CCMR1); in LL_TIM_ENCODER_Init()
522 tmpccmr1 &= (uint32_t)~(TIM_CCMR1_CC1S | TIM_CCMR1_IC1F | TIM_CCMR1_IC1PSC); in LL_TIM_ENCODER_Init()
523 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC1ActiveInput >> 16U); in LL_TIM_ENCODER_Init()
524 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC1Filter >> 16U); in LL_TIM_ENCODER_Init()
525 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC1Prescaler >> 16U); in LL_TIM_ENCODER_Init()
528 tmpccmr1 &= (uint32_t)~(TIM_CCMR1_CC2S | TIM_CCMR1_IC2F | TIM_CCMR1_IC2PSC); in LL_TIM_ENCODER_Init()
529 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC2ActiveInput >> 8U); in LL_TIM_ENCODER_Init()
530 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC2Filter >> 8U); in LL_TIM_ENCODER_Init()
531 tmpccmr1 |= (uint32_t)(TIM_EncoderInitStruct->IC2Prescaler >> 8U); in LL_TIM_ENCODER_Init()
543 LL_TIM_WriteReg(TIMx, CCMR1, tmpccmr1); in LL_TIM_ENCODER_Init()
591 uint32_t tmpccmr1; in LL_TIM_HALLSENSOR_Init() local
608 tmpccmr1 = LL_TIM_ReadReg(TIMx, CCMR1); in LL_TIM_HALLSENSOR_Init()
628 tmpccmr1 &= (uint32_t)~(TIM_CCMR1_CC1S | TIM_CCMR1_IC1F | TIM_CCMR1_IC1PSC); in LL_TIM_HALLSENSOR_Init()
629 tmpccmr1 |= (uint32_t)(LL_TIM_ACTIVEINPUT_TRC >> 16U); in LL_TIM_HALLSENSOR_Init()
630 tmpccmr1 |= (uint32_t)(TIM_HallSensorInitStruct->IC1Filter >> 16U); in LL_TIM_HALLSENSOR_Init()
631 tmpccmr1 |= (uint32_t)(TIM_HallSensorInitStruct->IC1Prescaler >> 16U); in LL_TIM_HALLSENSOR_Init()
634 tmpccmr1 &= (uint32_t)~(TIM_CCMR1_OC2M | TIM_CCMR1_OC2FE | TIM_CCMR1_OC2PE | TIM_CCMR1_OC2CE); in LL_TIM_HALLSENSOR_Init()
635 tmpccmr1 |= (uint32_t)(LL_TIM_OCMODE_PWM2 << 8U); in LL_TIM_HALLSENSOR_Init()
649 LL_TIM_WriteReg(TIMx, CCMR1, tmpccmr1); in LL_TIM_HALLSENSOR_Init()
772 uint32_t tmpccmr1; in OC1Config() local
792 tmpccmr1 = LL_TIM_ReadReg(TIMx, CCMR1); in OC1Config()
795 CLEAR_BIT(tmpccmr1, TIM_CCMR1_CC1S); in OC1Config()
798 MODIFY_REG(tmpccmr1, TIM_CCMR1_OC1M, TIM_OCInitStruct->OCMode); in OC1Config()
830 LL_TIM_WriteReg(TIMx, CCMR1, tmpccmr1); in OC1Config()
851 uint32_t tmpccmr1; in OC2Config() local
871 tmpccmr1 = LL_TIM_ReadReg(TIMx, CCMR1); in OC2Config()
874 CLEAR_BIT(tmpccmr1, TIM_CCMR1_CC2S); in OC2Config()
877 MODIFY_REG(tmpccmr1, TIM_CCMR1_OC2M, TIM_OCInitStruct->OCMode << 8U); in OC2Config()
909 LL_TIM_WriteReg(TIMx, CCMR1, tmpccmr1); in OC2Config()