Home
last modified time | relevance | path

Searched refs:tmpsmcr (Results 1 – 5 of 5) sorted by relevance

/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_tim.c2172 uint32_t tmpsmcr = 0; in HAL_TIM_Encoder_Init() local
2213 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() local
3812 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 …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_tim.c2163 uint32_t tmpsmcr = 0U; in HAL_TIM_Encoder_Init() local
2206 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() local
3762 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 …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_tim.c2538 uint32_t tmpsmcr; in HAL_TIM_Encoder_Init() local
2597 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() local
4506 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 …]
Dstm32l4xx_ll_tim.c625 uint32_t tmpsmcr; in LL_TIM_HALLSENSOR_Init() local
646 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()
Dstm32l4xx_hal_tim_ex.c1595 uint32_t tmpsmcr; in HAL_TIMEx_MasterConfigSynchronization() local
1612 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()