Home
last modified time | relevance | path

Searched refs:tmpcr2 (Results 1 – 7 of 7) sorted by relevance

/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_ll_tim.c622 uint32_t tmpcr2; in LL_TIM_HALLSENSOR_Init() local
637 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in LL_TIM_HALLSENSOR_Init()
649 tmpcr2 |= TIM_CR2_TI1S; in LL_TIM_HALLSENSOR_Init()
652 tmpcr2 |= LL_TIM_TRGO_OC2REF; in LL_TIM_HALLSENSOR_Init()
675 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in LL_TIM_HALLSENSOR_Init()
802 uint32_t tmpcr2; in OC1Config() local
819 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config()
848 MODIFY_REG(tmpcr2, TIM_CR2_OIS1, TIM_OCInitStruct->OCIdleState); in OC1Config()
851 MODIFY_REG(tmpcr2, TIM_CR2_OIS1N, TIM_OCInitStruct->OCNIdleState << 1U); in OC1Config()
855 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config()
[all …]
Dstm32l4xx_hal_tim.c4651 uint32_t tmpcr2; in HAL_TIM_ConfigTI1Input() local
4658 tmpcr2 = htim->Instance->CR2; in HAL_TIM_ConfigTI1Input()
4661 tmpcr2 &= ~TIM_CR2_TI1S; in HAL_TIM_ConfigTI1Input()
4664 tmpcr2 |= TI1_Selection; in HAL_TIM_ConfigTI1Input()
4667 htim->Instance->CR2 = tmpcr2; in HAL_TIM_ConfigTI1Input()
5650 uint32_t tmpcr2; in TIM_OC1_SetConfig() local
5658 tmpcr2 = TIMx->CR2; in TIM_OC1_SetConfig()
5694 tmpcr2 &= ~TIM_CR2_OIS1; in TIM_OC1_SetConfig()
5695 tmpcr2 &= ~TIM_CR2_OIS1N; in TIM_OC1_SetConfig()
5697 tmpcr2 |= OC_Config->OCIdleState; in TIM_OC1_SetConfig()
[all …]
Dstm32l4xx_hal_tim_ex.c1594 uint32_t tmpcr2; in HAL_TIMEx_MasterConfigSynchronization() local
1609 tmpcr2 = htim->Instance->CR2; in HAL_TIMEx_MasterConfigSynchronization()
1621 tmpcr2 &= ~TIM_CR2_MMS2; in HAL_TIMEx_MasterConfigSynchronization()
1623 tmpcr2 |= sMasterConfig->MasterOutputTrigger2; in HAL_TIMEx_MasterConfigSynchronization()
1627 tmpcr2 &= ~TIM_CR2_MMS; in HAL_TIMEx_MasterConfigSynchronization()
1629 tmpcr2 |= sMasterConfig->MasterOutputTrigger; in HAL_TIMEx_MasterConfigSynchronization()
1637 htim->Instance->CR2 = tmpcr2; in HAL_TIMEx_MasterConfigSynchronization()
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_ll_tim.c512 uint32_t tmpcr2 = 0U; in OC1Config() local
527 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config()
545 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config()
571 uint32_t tmpcr2 = 0U; in OC2Config() local
586 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC2Config()
604 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC2Config()
630 uint32_t tmpcr2 = 0U; in OC3Config() local
645 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC3Config()
663 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC3Config()
689 uint32_t tmpcr2 = 0U; in OC4Config() local
[all …]
Dstm32l1xx_hal_tim.c3975 uint32_t tmpcr2 = 0; in HAL_TIM_ConfigTI1Input() local
3982 tmpcr2 = htim->Instance->CR2; in HAL_TIM_ConfigTI1Input()
3985 tmpcr2 &= ~TIM_CR2_TI1S; in HAL_TIM_ConfigTI1Input()
3988 tmpcr2 |= TI1_Selection; in HAL_TIM_ConfigTI1Input()
3991 htim->Instance->CR2 = tmpcr2; in HAL_TIM_ConfigTI1Input()
4497 uint32_t tmpcr2 = 0; in TIM_OC1_SetConfig() local
4505 tmpcr2 = TIMx->CR2; in TIM_OC1_SetConfig()
4522 TIMx->CR2 = tmpcr2; in TIM_OC1_SetConfig()
4544 uint32_t tmpcr2 = 0; in TIM_OC2_SetConfig() local
4552 tmpcr2 = TIMx->CR2; in TIM_OC2_SetConfig()
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_ll_tim.c490 uint32_t tmpcr2 = 0U; in OC1Config() local
505 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC1Config()
523 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC1Config()
549 uint32_t tmpcr2 = 0U; in OC2Config() local
564 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC2Config()
582 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC2Config()
608 uint32_t tmpcr2 = 0U; in OC3Config() local
623 tmpcr2 = LL_TIM_ReadReg(TIMx, CR2); in OC3Config()
641 LL_TIM_WriteReg(TIMx, CR2, tmpcr2); in OC3Config()
667 uint32_t tmpcr2 = 0U; in OC4Config() local
[all …]
Dstm32l0xx_hal_tim.c3897 uint32_t tmpcr2 = 0U; in HAL_TIM_ConfigTI1Input() local
3904 tmpcr2 = htim->Instance->CR2; in HAL_TIM_ConfigTI1Input()
3907 tmpcr2 &= ~TIM_CR2_TI1S; in HAL_TIM_ConfigTI1Input()
3910 tmpcr2 |= TI1_Selection; in HAL_TIM_ConfigTI1Input()
3913 htim->Instance->CR2 = tmpcr2; in HAL_TIM_ConfigTI1Input()
4427 uint32_t tmpcr2 = 0U; in TIM_OC1_SetConfig() local
4435 tmpcr2 = TIMx->CR2; in TIM_OC1_SetConfig()
4452 TIMx->CR2 = tmpcr2; in TIM_OC1_SetConfig()
4474 uint32_t tmpcr2 = 0U; in TIM_OC2_SetConfig() local
4482 tmpcr2 = TIMx->CR2; in TIM_OC2_SetConfig()
[all …]