Searched refs:halPwmState (Results 1 – 3 of 3) sorted by relevance
42 hal_pwm_handle_struct_t *halPwmState = halPwmHandle; in HAL_PwmInit() local47 halPwmState->pwmClock_Hz = srcClock_Hz; in HAL_PwmInit()48 halPwmState->instance = instance; in HAL_PwmInit()62 hal_pwm_handle_struct_t *halPwmState = halPwmHandle; in HAL_PwmDeinit() local65 assert(halPwmState->instance < (uint8_t)FSL_FEATURE_SOC_CTIMER_COUNT); in HAL_PwmDeinit()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()76 CTIMER_Deinit(s_cTimerBase[halPwmState->instance]); in HAL_PwmDeinit()85 hal_pwm_handle_struct_t *halPwmState = halPwmHandle; in HAL_PwmSetupPwm() local[all …]
40 hal_pwm_handle_struct_t *halPwmState = halPwmHandle; in HAL_PwmInit() local45 halPwmState->pwmClock_Hz = srcClock_Hz; in HAL_PwmInit()46 halPwmState->instance = instance; in HAL_PwmInit()63 hal_pwm_handle_struct_t *halPwmState = halPwmHandle; in HAL_PwmDeinit() local66 assert(halPwmState->instance < (uint8_t)FSL_FEATURE_SOC_FTM_COUNT); in HAL_PwmDeinit()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()77 FTM_Deinit(s_ftmBase[halPwmState->instance]); in HAL_PwmDeinit()86 hal_pwm_handle_struct_t *halPwmState = halPwmHandle; in HAL_PwmSetupPwm() local[all …]
40 hal_pwm_handle_struct_t *halPwmState = halPwmHandle; in HAL_PwmInit() local46 halPwmState->pwmClock_Hz = srcClock_Hz; in HAL_PwmInit()47 halPwmState->instance = instance; in HAL_PwmInit()61 hal_pwm_handle_struct_t *halPwmState = halPwmHandle; in HAL_PwmDeinit() local64 assert(halPwmState->instance < (sizeof(s_tpmBase) / sizeof(s_tpmBase[0]))); in HAL_PwmDeinit()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()75 TPM_Deinit(s_tpmBase[halPwmState->instance]); in HAL_PwmDeinit()84 hal_pwm_handle_struct_t *halPwmState = halPwmHandle; in HAL_PwmSetupPwm() local[all …]