Home
last modified time | relevance | path

Searched refs:pwmId (Results 1 – 3 of 3) sorted by relevance

/drivers/hdf_core/adapter/platform/pwm/
Dpwm_bes.c80 pinMuxPwm->function = g_pwmFunction[resource->pwmId]; in InitPwmDevice()
93 resource->pwmId = HCS_PROP(node, pwmId); \
146 if (dri->GetUint32(resourceNode, "pwmId", &resource->pwmId, 0) != HDF_SUCCESS) { in GetPwmDeviceResource()
183 host->num = pwmDevice->resource.pwmId;
282 enum HAL_PWM_ID_T pwmId; local
299 pwmId = prvPwm->resource.pwmId;
302 hal_pwm_enable(pwmId, pwmCfg);
304 hal_pwm_disable(pwmId);
323 enum HAL_PWM_ID_T pwmId = 0; local
336 pwmId = prvPwm->resource.pwmId;
[all …]
Dpwm_stm32f4xx.c497 static void DeInitTimPwm(PWM_TIM pwmId, PWM_CH pwmCh) argument
499 LL_TIM_DeInit(g_stTimMap[pwmId]);
500 LL_TIM_OC_DisableClear(g_stTimMap[pwmId], g_stChannelMap[pwmCh]);
501 NVIC_DisableIRQ(g_stTimIrqMap[pwmId]);
503 LL_TIM_DisableCounter(g_stTimMap[pwmId]);
504 LL_TIM_CC_DisableChannel(g_stTimMap[pwmId], g_stChannelMap[pwmCh]);
505 LL_TIM_OC_DisablePreload(g_stTimMap[pwmId], g_stChannelMap[pwmCh]);
507 if (pwmId == PWM_TIM1 || pwmId == PWM_TIM8) {
508 LL_TIM_DisableAutomaticOutput(g_stTimMap[pwmId]);
518 PWM_TIM pwmId; local
[all …]
Dpwm_bes.h25 uint32_t pwmId; member