Home
last modified time | relevance | path

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

/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_ll_tim.c532 uint32_t tmpccer; in LL_TIM_ENCODER_Init() local
553 tmpccer = LL_TIM_ReadReg(TIMx, CCER); in LL_TIM_ENCODER_Init()
568 tmpccer &= (uint32_t)~(TIM_CCER_CC1P | TIM_CCER_CC1NP | TIM_CCER_CC2P | TIM_CCER_CC2NP); in LL_TIM_ENCODER_Init()
569 tmpccer |= (uint32_t)(TIM_EncoderInitStruct->IC1Polarity); in LL_TIM_ENCODER_Init()
570 tmpccer |= (uint32_t)(TIM_EncoderInitStruct->IC2Polarity << 4U); in LL_TIM_ENCODER_Init()
571 tmpccer |= (uint32_t)(TIM_CCER_CC1E | TIM_CCER_CC2E); in LL_TIM_ENCODER_Init()
580 LL_TIM_WriteReg(TIMx, CCER, tmpccer); in LL_TIM_ENCODER_Init()
624 uint32_t tmpccer; in LL_TIM_HALLSENSOR_Init() local
643 tmpccer = LL_TIM_ReadReg(TIMx, CCER); in LL_TIM_HALLSENSOR_Init()
670 tmpccer &= (uint32_t)~(TIM_CCER_CC1P | TIM_CCER_CC1NP | TIM_CCER_CC2P | TIM_CCER_CC2NP); in LL_TIM_HALLSENSOR_Init()
[all …]
Dstm32l4xx_hal_tim.c2540 uint32_t tmpccer; in HAL_TIM_Encoder_Init() local
2603 tmpccer = htim->Instance->CCER; in HAL_TIM_Encoder_Init()
2619 tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC2P); in HAL_TIM_Encoder_Init()
2620 tmpccer &= ~(TIM_CCER_CC1NP | TIM_CCER_CC2NP); in HAL_TIM_Encoder_Init()
2621 tmpccer |= sConfig->IC1Polarity | (sConfig->IC2Polarity << 4U); in HAL_TIM_Encoder_Init()
2630 htim->Instance->CCER = tmpccer; in HAL_TIM_Encoder_Init()
5649 uint32_t tmpccer; in TIM_OC1_SetConfig() local
5656 tmpccer = TIMx->CCER; in TIM_OC1_SetConfig()
5670 tmpccer &= ~TIM_CCER_CC1P; in TIM_OC1_SetConfig()
5672 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig()
[all …]
Dstm32l4xx_hal_tim_ex.c641 uint32_t tmpccer; in HAL_TIMEx_OCN_Stop_IT() local
676 tmpccer = htim->Instance->CCER; in HAL_TIMEx_OCN_Stop_IT()
677 if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE)) == (uint32_t)RESET) in HAL_TIMEx_OCN_Stop_IT()
1033 uint32_t tmpccer; in HAL_TIMEx_PWMN_Stop_IT() local
1069 tmpccer = htim->Instance->CCER; in HAL_TIMEx_PWMN_Stop_IT()
1070 if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE)) == (uint32_t)RESET) in HAL_TIMEx_PWMN_Stop_IT()
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_ll_tim.c435 uint32_t tmpccer = 0U; in LL_TIM_ENCODER_Init() local
456 tmpccer = LL_TIM_ReadReg(TIMx, CCER); in LL_TIM_ENCODER_Init()
471 tmpccer &= (uint32_t)~(TIM_CCER_CC1P | TIM_CCER_CC1NP | TIM_CCER_CC2P | TIM_CCER_CC2NP); in LL_TIM_ENCODER_Init()
472 tmpccer |= (uint32_t)(TIM_EncoderInitStruct->IC1Polarity); in LL_TIM_ENCODER_Init()
473 tmpccer |= (uint32_t)(TIM_EncoderInitStruct->IC2Polarity << 4U); in LL_TIM_ENCODER_Init()
474 tmpccer |= (uint32_t)(TIM_CCER_CC1E | TIM_CCER_CC2E); in LL_TIM_ENCODER_Init()
483 LL_TIM_WriteReg(TIMx, CCER, tmpccer); in LL_TIM_ENCODER_Init()
511 uint32_t tmpccer = 0U; in OC1Config() local
524 tmpccer = LL_TIM_ReadReg(TIMx, CCER); in OC1Config()
539 MODIFY_REG(tmpccer, TIM_CCER_CC1P, TIM_OCInitStruct->OCPolarity); in OC1Config()
[all …]
Dstm32l1xx_hal_tim.c2174 uint32_t tmpccer = 0; in HAL_TIM_Encoder_Init() local
2219 tmpccer = htim->Instance->CCER; in HAL_TIM_Encoder_Init()
2235 tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC2P); in HAL_TIM_Encoder_Init()
2236 tmpccer &= ~(TIM_CCER_CC1NP | TIM_CCER_CC2NP); in HAL_TIM_Encoder_Init()
2237 tmpccer |= sConfig->IC1Polarity | (sConfig->IC2Polarity << 4); in HAL_TIM_Encoder_Init()
2246 htim->Instance->CCER = tmpccer; in HAL_TIM_Encoder_Init()
4496 uint32_t tmpccer = 0; in TIM_OC1_SetConfig() local
4503 tmpccer = TIMx->CCER; in TIM_OC1_SetConfig()
4517 tmpccer &= ~TIM_CCER_CC1P; in TIM_OC1_SetConfig()
4519 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig()
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_ll_tim.c412 uint32_t tmpccer = 0U; in LL_TIM_ENCODER_Init() local
433 tmpccer = LL_TIM_ReadReg(TIMx, CCER); in LL_TIM_ENCODER_Init()
448 tmpccer &= (uint32_t)~(TIM_CCER_CC1P | TIM_CCER_CC1NP | TIM_CCER_CC2P | TIM_CCER_CC2NP); in LL_TIM_ENCODER_Init()
449 tmpccer |= (uint32_t)(TIM_EncoderInitStruct->IC1Polarity); in LL_TIM_ENCODER_Init()
450 tmpccer |= (uint32_t)(TIM_EncoderInitStruct->IC2Polarity << 4U); in LL_TIM_ENCODER_Init()
451 tmpccer |= (uint32_t)(TIM_CCER_CC1E | TIM_CCER_CC2E); in LL_TIM_ENCODER_Init()
460 LL_TIM_WriteReg(TIMx, CCER, tmpccer); in LL_TIM_ENCODER_Init()
489 uint32_t tmpccer = 0U; in OC1Config() local
502 tmpccer = LL_TIM_ReadReg(TIMx, CCER); in OC1Config()
517 MODIFY_REG(tmpccer, TIM_CCER_CC1P, TIM_OCInitStruct->OCPolarity); in OC1Config()
[all …]
Dstm32l0xx_hal_tim.c2165 uint32_t tmpccer = 0U; in HAL_TIM_Encoder_Init() local
2212 tmpccer = htim->Instance->CCER; in HAL_TIM_Encoder_Init()
2228 tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC2P); in HAL_TIM_Encoder_Init()
2229 tmpccer &= ~(TIM_CCER_CC1NP | TIM_CCER_CC2NP); in HAL_TIM_Encoder_Init()
2230 tmpccer |= sConfig->IC1Polarity | (sConfig->IC2Polarity << 4U); in HAL_TIM_Encoder_Init()
2239 htim->Instance->CCER = tmpccer; in HAL_TIM_Encoder_Init()
4426 uint32_t tmpccer = 0U; in TIM_OC1_SetConfig() local
4433 tmpccer = TIMx->CCER; in TIM_OC1_SetConfig()
4447 tmpccer &= ~TIM_CCER_CC1P; in TIM_OC1_SetConfig()
4449 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig()
[all …]