Home
last modified time | relevance | path

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

/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_tim.c207 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
208 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
209 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
210 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
211 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
5646 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument
5667 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig()
5672 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig()
5677 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig()
5682 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig()
[all …]
Dstm32l4xx_hal_tim_ex.c150 TIM_OC_InitTypeDef OC_Config; in HAL_TIMEx_HallSensor_Init() local
214 OC_Config.OCFastMode = TIM_OCFAST_DISABLE; in HAL_TIMEx_HallSensor_Init()
215 OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET; in HAL_TIMEx_HallSensor_Init()
216 OC_Config.OCMode = TIM_OCMODE_PWM2; in HAL_TIMEx_HallSensor_Init()
217 OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET; in HAL_TIMEx_HallSensor_Init()
218 OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH; in HAL_TIMEx_HallSensor_Init()
219 OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH; in HAL_TIMEx_HallSensor_Init()
220 OC_Config.Pulse = sConfig->Commutation_Delay; in HAL_TIMEx_HallSensor_Init()
222 TIM_OC2_SetConfig(htim->Instance, &OC_Config); in HAL_TIMEx_HallSensor_Init()
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_tim.c153 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
154 static void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
155 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
156 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
4493 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument
4514 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig()
4519 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig()
4528 TIMx->CCR1 = OC_Config->Pulse; in TIM_OC1_SetConfig()
4540 static void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) in TIM_OC2_SetConfig() argument
4562 tmpccmrx |= (OC_Config->OCMode << 8); in TIM_OC2_SetConfig()
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_tim.c152 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
153 static void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
154 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
155 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
4423 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument
4444 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig()
4449 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig()
4458 TIMx->CCR1 = OC_Config->Pulse; in TIM_OC1_SetConfig()
4470 static void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) in TIM_OC2_SetConfig() argument
4492 tmpccmrx |= (OC_Config->OCMode << 8U); in TIM_OC2_SetConfig()
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_tim.h2107 void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);