/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_hal_tim.c | 208 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); 209 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); 210 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); 211 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); 212 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); 5994 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 6015 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 6020 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 6025 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 6030 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
D | stm32mp1xx_hal_tim_ex.c | 144 TIM_OC_InitTypeDef OC_Config; in HAL_TIMEx_HallSensor_Init() local 208 OC_Config.OCFastMode = TIM_OCFAST_DISABLE; in HAL_TIMEx_HallSensor_Init() 209 OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET; in HAL_TIMEx_HallSensor_Init() 210 OC_Config.OCMode = TIM_OCMODE_PWM2; in HAL_TIMEx_HallSensor_Init() 211 OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET; in HAL_TIMEx_HallSensor_Init() 212 OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH; in HAL_TIMEx_HallSensor_Init() 213 OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH; in HAL_TIMEx_HallSensor_Init() 214 OC_Config.Pulse = sConfig->Commutation_Delay; in HAL_TIMEx_HallSensor_Init() 216 TIM_OC2_SetConfig(htim->Instance, &OC_Config); in HAL_TIMEx_HallSensor_Init()
|
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/ |
D | stm32wb0x_hal_tim.c | 206 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 207 static void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 208 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 209 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 211 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 214 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 6829 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 6851 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 6856 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 6861 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_tim.c | 220 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 221 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 222 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 223 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 224 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 7312 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7334 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7339 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7344 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7349 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_tim.c | 220 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 221 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 222 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 223 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 224 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 7321 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7343 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7348 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7353 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7358 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/ |
D | stm32n6xx_hal_tim.c | 212 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 213 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 214 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 215 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 216 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 7288 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7310 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7315 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7320 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7325 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal_tim.c | 220 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 221 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 222 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 223 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 224 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 7324 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7346 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7351 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7356 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7361 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal_tim.c | 220 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 221 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 222 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 223 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 224 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 7163 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7185 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7190 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7195 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7200 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/ |
D | stm32h7rsxx_hal_tim.c | 212 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 213 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 214 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 215 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 216 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 7288 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7310 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7315 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7320 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7325 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/ |
D | stm32u0xx_hal_tim.c | 216 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 217 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 218 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 219 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 220 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 7013 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7035 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7040 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7045 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7050 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_hal_tim.c | 208 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 209 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 210 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 212 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 215 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 7026 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7048 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7053 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7058 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7063 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/ |
D | stm32c0xx_hal_tim.c | 216 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 217 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 218 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 219 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 220 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 6991 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7013 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7018 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7023 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7028 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal_tim.c | 216 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 217 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 218 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 219 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 220 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 7008 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7030 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7035 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7040 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7045 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_tim.c | 208 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 209 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 210 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 211 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 212 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 6985 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7007 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7012 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7017 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7022 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_tim.c | 208 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 209 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 210 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 211 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 212 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 6981 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7003 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7008 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7013 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7018 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_tim.c | 208 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 209 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 210 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 211 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 212 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 6987 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7009 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7014 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7019 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7024 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_hal_tim.c | 208 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 209 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 210 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 211 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 212 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 6988 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7009 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7014 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7019 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7024 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_tim.c | 208 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 209 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 210 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 211 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 212 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 6990 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7012 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7017 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7022 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7027 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal_tim.c | 216 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 217 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 218 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 219 static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 220 static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 7019 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 7041 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 7046 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 7051 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 7056 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/ |
D | stm32f2xx_hal_tim.c | 207 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 208 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 209 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 6832 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 6854 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 6859 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 6864 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 6869 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() 6877 assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); in TIM_OC1_SetConfig() 6878 assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); in TIM_OC1_SetConfig() [all …]
|
D | stm32f2xx_hal_tim_ex.c | 140 TIM_OC_InitTypeDef OC_Config; in HAL_TIMEx_HallSensor_Init() local 205 OC_Config.OCFastMode = TIM_OCFAST_DISABLE; in HAL_TIMEx_HallSensor_Init() 206 OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET; in HAL_TIMEx_HallSensor_Init() 207 OC_Config.OCMode = TIM_OCMODE_PWM2; in HAL_TIMEx_HallSensor_Init() 208 OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET; in HAL_TIMEx_HallSensor_Init() 209 OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH; in HAL_TIMEx_HallSensor_Init() 210 OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH; in HAL_TIMEx_HallSensor_Init() 211 OC_Config.Pulse = sConfig->Commutation_Delay; in HAL_TIMEx_HallSensor_Init() 213 TIM_OC2_SetConfig(htim->Instance, &OC_Config); in HAL_TIMEx_HallSensor_Init()
|
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/src/ |
D | stm32f0xx_hal_tim.c | 207 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 208 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 209 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 6841 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 6863 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 6868 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 6873 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 6878 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() 6886 assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); in TIM_OC1_SetConfig() 6887 assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); in TIM_OC1_SetConfig() [all …]
|
D | stm32f0xx_hal_tim_ex.c | 141 TIM_OC_InitTypeDef OC_Config; in HAL_TIMEx_HallSensor_Init() local 206 OC_Config.OCFastMode = TIM_OCFAST_DISABLE; in HAL_TIMEx_HallSensor_Init() 207 OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET; in HAL_TIMEx_HallSensor_Init() 208 OC_Config.OCMode = TIM_OCMODE_PWM2; in HAL_TIMEx_HallSensor_Init() 209 OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET; in HAL_TIMEx_HallSensor_Init() 210 OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH; in HAL_TIMEx_HallSensor_Init() 211 OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH; in HAL_TIMEx_HallSensor_Init() 212 OC_Config.Pulse = sConfig->Commutation_Delay; in HAL_TIMEx_HallSensor_Init() 214 TIM_OC2_SetConfig(htim->Instance, &OC_Config); in HAL_TIMEx_HallSensor_Init()
|
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_tim.c | 207 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 208 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 209 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 6832 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 6854 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 6859 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 6864 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 6869 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() 6877 assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); in TIM_OC1_SetConfig() 6878 assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); in TIM_OC1_SetConfig() [all …]
|
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/ |
D | stm32f1xx_hal_tim.c | 207 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 208 static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 209 static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 6831 static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) in TIM_OC1_SetConfig() argument 6853 tmpccmrx |= OC_Config->OCMode; in TIM_OC1_SetConfig() 6858 tmpccer |= OC_Config->OCPolarity; in TIM_OC1_SetConfig() 6863 assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); in TIM_OC1_SetConfig() 6868 tmpccer |= OC_Config->OCNPolarity; in TIM_OC1_SetConfig() 6876 assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); in TIM_OC1_SetConfig() 6877 assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); in TIM_OC1_SetConfig() [all …]
|