Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/components/pwm/
Dfsl_adapter_pwm_ctimer.c32 static uint8_t s_pwmUsedChannel[sizeof(s_cTimerBase) / sizeof(s_cTimerBase[0])] = {0}; variable
51 if (0U == s_pwmUsedChannel[instance]) in HAL_PwmInit()
68 if (s_pwmUsedChannel[halPwmState->instance] > 0U) in HAL_PwmDeinit()
70 s_pwmUsedChannel[halPwmState->instance] -= 1U; in HAL_PwmDeinit()
74 if (0U == s_pwmUsedChannel[halPwmState->instance]) in HAL_PwmDeinit()
103 s_pwmUsedChannel[halPwmState->instance] += 1U; in HAL_PwmSetupPwm()
Dfsl_adapter_pwm_ftm.c30 static uint8_t s_pwmUsedChannel[sizeof(s_ftmBase) / sizeof(s_ftmBase[0])] = {0}; variable
49 if (0U == s_pwmUsedChannel[instance]) in HAL_PwmInit()
69 if (s_pwmUsedChannel[halPwmState->instance] > 0U) in HAL_PwmDeinit()
71 s_pwmUsedChannel[halPwmState->instance] -= 1U; in HAL_PwmDeinit()
75 if (0U == s_pwmUsedChannel[halPwmState->instance]) in HAL_PwmDeinit()
110 s_pwmUsedChannel[halPwmState->instance] += 1U; in HAL_PwmSetupPwm()
Dfsl_adapter_pwm_tpm.c30 static uint8_t s_pwmUsedChannel[sizeof(s_tpmBase) / sizeof(s_tpmBase[0])] = {0}; variable
50 if (0U == s_pwmUsedChannel[instance]) in HAL_PwmInit()
67 if (s_pwmUsedChannel[halPwmState->instance] > 0U) in HAL_PwmDeinit()
69 s_pwmUsedChannel[halPwmState->instance] -= 1U; in HAL_PwmDeinit()
73 if (0U == s_pwmUsedChannel[halPwmState->instance]) in HAL_PwmDeinit()
108 s_pwmUsedChannel[halPwmState->instance] += 1U; in HAL_PwmSetupPwm()