Searched refs:tmpsmcr (Results 1 – 5 of 5) sorted by relevance
2172 uint32_t tmpsmcr = 0; in HAL_TIM_Encoder_Init() local2213 tmpsmcr = htim->Instance->SMCR; in HAL_TIM_Encoder_Init()2222 tmpsmcr |= sConfig->EncoderMode; in HAL_TIM_Encoder_Init()2240 htim->Instance->SMCR = tmpsmcr; in HAL_TIM_Encoder_Init()3801 uint32_t tmpsmcr = 0; in HAL_TIM_ConfigClockSource() local3812 tmpsmcr = htim->Instance->SMCR; in HAL_TIM_ConfigClockSource()3813 tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS); in HAL_TIM_ConfigClockSource()3814 tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP); in HAL_TIM_ConfigClockSource()3815 htim->Instance->SMCR = tmpsmcr; in HAL_TIM_ConfigClockSource()3843 tmpsmcr = htim->Instance->SMCR; in HAL_TIM_ConfigClockSource()[all …]
2163 uint32_t tmpsmcr = 0U; in HAL_TIM_Encoder_Init() local2206 tmpsmcr = htim->Instance->SMCR; in HAL_TIM_Encoder_Init()2215 tmpsmcr |= sConfig->EncoderMode; in HAL_TIM_Encoder_Init()2233 htim->Instance->SMCR = tmpsmcr; in HAL_TIM_Encoder_Init()3751 uint32_t tmpsmcr = 0U; in HAL_TIM_ConfigClockSource() local3762 tmpsmcr = htim->Instance->SMCR; in HAL_TIM_ConfigClockSource()3763 tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS); in HAL_TIM_ConfigClockSource()3764 tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP); in HAL_TIM_ConfigClockSource()3765 htim->Instance->SMCR = tmpsmcr; in HAL_TIM_ConfigClockSource()3789 tmpsmcr = htim->Instance->SMCR; in HAL_TIM_ConfigClockSource()[all …]
2538 uint32_t tmpsmcr; in HAL_TIM_Encoder_Init() local2597 tmpsmcr = htim->Instance->SMCR; in HAL_TIM_Encoder_Init()2606 tmpsmcr |= sConfig->EncoderMode; in HAL_TIM_Encoder_Init()2624 htim->Instance->SMCR = tmpsmcr; in HAL_TIM_Encoder_Init()4495 uint32_t tmpsmcr; in HAL_TIM_ConfigClockSource() local4506 tmpsmcr = htim->Instance->SMCR; in HAL_TIM_ConfigClockSource()4507 tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS); in HAL_TIM_ConfigClockSource()4508 tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP); in HAL_TIM_ConfigClockSource()4509 htim->Instance->SMCR = tmpsmcr; in HAL_TIM_ConfigClockSource()4537 tmpsmcr = htim->Instance->SMCR; in HAL_TIM_ConfigClockSource()[all …]
625 uint32_t tmpsmcr; in LL_TIM_HALLSENSOR_Init() local646 tmpsmcr = LL_TIM_ReadReg(TIMx, SMCR); in LL_TIM_HALLSENSOR_Init()655 tmpsmcr &= (uint32_t)~(TIM_SMCR_TS | TIM_SMCR_SMS); in LL_TIM_HALLSENSOR_Init()656 tmpsmcr |= LL_TIM_TS_TI1F_ED; in LL_TIM_HALLSENSOR_Init()657 tmpsmcr |= LL_TIM_SLAVEMODE_RESET; in LL_TIM_HALLSENSOR_Init()678 LL_TIM_WriteReg(TIMx, SMCR, tmpsmcr); in LL_TIM_HALLSENSOR_Init()
1595 uint32_t tmpsmcr; in HAL_TIMEx_MasterConfigSynchronization() local1612 tmpsmcr = htim->Instance->SMCR; in HAL_TIMEx_MasterConfigSynchronization()1632 tmpsmcr &= ~TIM_SMCR_MSM; in HAL_TIMEx_MasterConfigSynchronization()1634 tmpsmcr |= sMasterConfig->MasterSlaveMode; in HAL_TIMEx_MasterConfigSynchronization()1640 htim->Instance->SMCR = tmpsmcr; in HAL_TIMEx_MasterConfigSynchronization()